LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-12-2003, 10:57 AM   #1
jotus
LQ Newbie
 
Registered: Sep 2003
Location: Atlanta, GA
Distribution: RH9
Posts: 18

Rep: Reputation: 0
adding line to /etc/ld.so.conf


When trying to install some programs I get this message:
"This path is not mentioned amog the linker search paths in your /etc/ld.so.conf. This means it is possible that (insert program name here) will not be found when you try to compile or run a program using it. If this happens, you should add /usr/local/lib to the environment variable LD_LIBRARY_PATH like that: export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH Alternatively you can add a line "/usr/local/lib" to your /etc/ld.so.conf. "

so, my question is how to add the line /usr/local/lib to my /etc/ld.so.conf, I have browsed to the ld.so.conf and cannot edit it to add the line. also I tried in terminal to run the export line found in the above paragraph and that did not work.

how do I add that line to ld.so.conf?



RH9
 
Old 10-12-2003, 12:42 PM   #2
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
WHy cant you edit ld.so.conf??i mean,what is the problem??
just do 'su'.then 'vim /etc/ld.so.conf'.press 'i' to inseart.edit it,and then ':wq' to save and exit.(dont forget ':' in ':wq')
--arun
 
Old 10-13-2003, 05:37 AM   #3
jotus
LQ Newbie
 
Registered: Sep 2003
Location: Atlanta, GA
Distribution: RH9
Posts: 18

Original Poster
Rep: Reputation: 0
ok, it half worked

you can tell I am so green to this.

I was able to open it up, and edit it. but when I typed in ':wb' that did not save it or exit it. where exactly do I type that in?
 
Old 10-13-2003, 05:49 AM   #4
andutt
LQ Newbie
 
Registered: Oct 2003
Location: Sweden
Posts: 6

Rep: Reputation: 0
You shall specify :wq! and not :wb wg means write+quit. That will save you changes to the file you have opened for editing.

 
  


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
Adding Monitor to Xorg.conf susesarus Ubuntu 2 10-30-2005 09:41 AM
adding to modules.conf berrance Linux - Software 5 05-30-2005 06:04 AM
smb.conf and adding users 11red Linux - Networking 1 04-06-2005 02:05 PM
RH9 adding to resolv.conf wdingus Linux - Networking 1 11-11-2003 12:35 AM
adding to LILO.conf rufius Linux - General 2 01-07-2003 08:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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