LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-18-2014, 07:53 AM   #1
sharathpadman
LQ Newbie
 
Registered: Apr 2014
Posts: 3

Rep: Reputation: Disabled
While trying to load .so file manually using command its failing


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.
 
Old 04-18-2014, 09:28 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by sharathpadman View Post
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...
Well, you don't tell us what version/distro of Linux you're using, what the actual lib name is, where you got it, or why on EARTH you'd try to execute a .so library file manually. You also don't tell us the context, because the 'command' you posted above seems like it's either part of a bash script, or needs to be exported somehow.

Provide details, and we might be able to help.
 
Old 04-18-2014, 07:24 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
also see your post here
http://www.unix.com/unix-for-advance...s-failing.html

also include the original text from the textbook and the page numbers
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I manually load the radeon module? Stevithen Linux - General 3 02-07-2012 01:08 AM
Possible to load apps manually, offline? Jeromeee Linux - Software 4 03-27-2008 07:42 PM
compiz failing, GLcore.so failing to load Schrambo Linux - Desktop 4 02-23-2008 06:13 PM
can't load ethernet modules manually varun_saa Mandriva 5 03-14-2007 09:16 PM
X failing to load; AddScreen/InitScreen failing for driver 0 weblion Linux - Software 1 08-01-2002 06:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration