LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-15-2003, 11:41 PM   #1
Dogface1SG
Member
 
Registered: Oct 2003
Posts: 30

Rep: Reputation: 15
Ld_library_path


while compiling wine on my machine I was told I need to add the line

'usr/local/lib' to /etc/ld.so.conf and run /sbin/ldconfig export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

I don't think I did it right. I assumed the ' at either end were not to be typed and I added the / before usr so it looks like

/usr/local/lib

in my ld.so.conf

When I run /sbin/ldconfig export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

I getan errormessage Couldn't find the program 'ldconfig'

Any ideas or help
Thanks
 
Old 11-16-2003, 01:28 AM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
ou should either run, if you edited /etc/ld.so.conf
/sbin/ldconfig
or
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
if you want one time change it will disappear upon exiting the shell, if you want it to be permanent you need to put export statement into global profile - usually in /etc/profile.
All commands needs to be run by root
 
  


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
Ld_library_path fng_#1 Linux - Software 4 09-19-2004 11:33 PM
???? Ld_library_path ???? g452 Linux - Software 9 08-26-2004 03:00 PM
Ld_library_path barrys Mandriva 2 06-15-2004 12:19 PM
where is LD_LIBRARY_PATH Ninja_212 Slackware 4 10-07-2003 10:41 PM
Ld_library_path ? dahmad Linux - Newbie 5 02-21-2003 11:08 PM


All times are GMT -5. The time now is 05:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration