LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-17-2010, 11:59 PM   #1
sandy_linux
LQ Newbie
 
Registered: Aug 2005
Posts: 13

Rep: Reputation: 0
ldd does not show the dependency library list


We built a library by linking it with a shared library libjvm.so. Now, when I do ldd mylib.so, it does not list libjvm.so. When I run an application, I get a symbol missing from mylib.so, which is actually defined in libjvm.so. Even if I set libjvm.so path in LD_LIBRARY_PATH, the error does not go away.

Pleas help, what is wrong here.
 
Old 11-18-2010, 12:46 AM   #2
sandy_linux
LQ Newbie
 
Registered: Aug 2005
Posts: 13

Original Poster
Rep: Reputation: 0
We had also used -ljvm option during compilation/linking on mylib.so.
 
Old 11-18-2010, 02:00 AM   #3
sandy_linux
LQ Newbie
 
Registered: Aug 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Is there no one who can help me out here?It's imp. to me. Atleast point me to the right forums..
 
Old 11-18-2010, 02:11 AM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Well, you'd be better of to post this issue in the "Programming" forum: http://www.linuxquestions.org/questions/programming-9/

Markus
 
  


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
list library function of a shared library .so powah Linux - General 7 10-25-2011 04:47 AM
ldd shows pointing to wrong library directory linuxbird Linux - Newbie 1 06-17-2010 10:03 AM
ldd reports shared library missing, but library exists on disk athv_gr Linux - Newbie 7 05-13-2009 12:31 PM
"list dynamic dependency" of an executable using command other than "ldd" Amrita@3086 Solaris / OpenSolaris 3 04-04-2007 04:56 AM
Library Dependency H*ll springshades Linux - Software 1 07-18-2005 06:57 PM

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

All times are GMT -5. The time now is 04:18 PM.

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