While trying to load .so file manually is failing

If it doesn't fit in another category, ask it here.
Post Reply
Posts: 3
Joined: 2014/04/18 12:33:18

While trying to load .so file manually is failing

Post by sharath » 2014/04/18 12:56:53

Hi all,

I am newbie to linux environment. I was trying to run an .so file manually which in turn call a method in bin folder.

Command given,

XXX_MODULES=libxxx.so /opt/servicename/bin/methodname -Le -c /opt/servicename/etc/methodname/methodname.conf -n -C -t -m ""

When i tried to execute the command its giving error as

" Initialization of module 'libxxx.so' failed with error code -1
Loading module libxxx.so failed, Continuing anyway. "

What would be the issue. Kindly help me with this...


User avatar
Forum Moderator
Posts: 28865
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: While trying to load .so file manually is failing

Post by TrevorH » 2014/04/18 13:10:32

A .so file is like a Windows dll file so it's a library and not intended to be executed directly.

Obscuring the names of what you're trying to run only serves to make life confusing for anyone trying to help you so posting the actual commands and output that you receive is more likely to obtain help.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 5 - Miscellaneous Questions”