While trying to load .so file manually is failing

If it doesn't fit in another category, ask it here.
Post Reply
sharath
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...

Regards,
Sharath.

User avatar
TrevorH
Site Admin
Posts: 33202
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.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply