LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-03-2005, 12:26 AM   #1
iansoundz
Member
 
Registered: Jul 2005
Location: Arlington, VA
Distribution: CentOS 4.1 Kernel 2.6.9-11.EL
Posts: 77

Rep: Reputation: 15
Shared library issue


Hello,

When I do:

ldd /opt/netcoo/omnibus/bin/linux2x86/nc_*

the output indicates numerous libraries that "cannot be found". Yet all of them are really there. They are all in /opt/netcool/omnibus/platform/linux2x86/lib.

How can I correct this? I'm not sure but I think LD_LIBRARY_PATH has something to do with it, but I don't know how set this variable to point to the directory as shown above. Can someone point me in the right direction? Any help is always appreciated.
 
Old 12-03-2005, 12:37 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Let's say one of the libraries "ldd" can't find happens to be in /usr/local/lib. You'd do the following:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

That is, you'd concatenate the current $LD_LIBRARY_PATH value (if any) with the new item(s) you wish to add, each separated by a ":".

Alternatively, you could edit the system file /etc/ld.so.conf.

Here's more info:

http://www.tldp.org/HOWTO/Program-Li...libraries.html

'Hope that helps .. PSM
 
Old 12-03-2005, 01:13 AM   #3
iansoundz
Member
 
Registered: Jul 2005
Location: Arlington, VA
Distribution: CentOS 4.1 Kernel 2.6.9-11.EL
Posts: 77

Original Poster
Rep: Reputation: 15
Whew. This Forum is awsome! I have had nothingbut frustrating experiences learning my way around linux, but the pain is greatly eased by folks like you! Thanks for your help!!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where can I get every shared library at? Balkman Linux - General 2 08-28-2004 10:56 PM
help shared library jingle_mj Linux - Newbie 1 08-13-2004 04:36 PM
help shared library jingle_mj Programming 4 08-13-2004 04:13 AM
help shared library jingle_mj Linux - General 1 08-13-2004 03:11 AM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:43 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