LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 02-14-2004, 12:59 PM   #1
JonyKyte
LQ Newbie
 
Registered: Dec 2003
Distribution: Redhat
Posts: 17

Rep: Reputation: 0
setting LD_LIBRARY_PATH


Hello,

Hopefully someone here can confirm what is am doing is correct (or not).

I'm installing/compiling openh323 software and as a part of this i need to set the LD_LIBRARY_PATH.

I need to set :-
PWLIBDIR=$HOME/pwlib
export PWLIBDIR
OPENH323DIR=$HOME/openh323
export OPENH323DIR
LD_LIBRARY_PATH=$PWLIBDIR/lib:$OPENH323DIR/lib
export LD_LIBRARY_PATH

to do this i have edited '/etc/ld.so.conf' to include

/home/pwlib/lib
/home/openh323/lib

I'm assuming that this should point to the correct library directories but still seem to be getting errors.

Can anyone help?
 
Old 02-14-2004, 01:26 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
Check your $HOME path. Your two entries in the /etc/ld.so.conf file should probably look like:
Code:
/home/jkite/pwlib/lib
/home/jkite/openh323/lib
I assumed your user name is jkite.

You could put the script commands above in your .bashrc or profile files.
One problem I see with this is that the openh323 software is installed for use by a user, but you are setting up library paths for the system. You may want to install the software as root in /usr/local or /opt instead of your home directory. You could also try installing the libraries in a currently accessed library directory such as /usr/local/lib and rerun ldconfig.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Permanently Set a Export Setting (LD_LIBRARY_PATH) nistelrooy Linux - General 1 11-25-2004 12:33 PM
???? Ld_library_path ???? g452 Linux - Software 9 08-26-2004 04:00 PM
Ld_library_path Dogface1SG Linux - Software 1 11-16-2003 02:28 AM
where is LD_LIBRARY_PATH Ninja_212 Slackware 4 10-07-2003 11:41 PM
Ld_library_path ? dahmad Linux - Newbie 5 02-22-2003 12:08 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration