LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 12-05-2004, 11:17 PM   #1
VampireL0rd
Member
 
Registered: Dec 2004
Distribution: Slackware 10.2
Posts: 37

Rep: Reputation: 15
messed up ld.so.conf(lib file) need copy


I was installing wine(wine-20041201) on my linux red hat 9 system. I just got done compiling it when it tells me 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'am very new to using the vi & vim text editors and I think it was the -y (vi -y ld.so.conf)mode for modless that turned the file into junk. Before it was like /usr/local/lib, now its "q
^M<80>kd<80>ku^M^M<80>ku<80>kd<80>ku<80>kd<80>ku<80>kd<80>ku<80>kd:q^Me"
I really don't know what happen. It could of been another mode that did it. I don't have another linux system to copy this file that would easily fix my problem. I remeber that it was only like three lines of text. If anyone could give me a copy(or just post it) or help me fix the file I would be very gratefully. By the way how do you exit out of edit mode when in the vi text editor (:q dosen't work, the : dosen't come up)
 
Old 12-05-2004, 11:26 PM   #2
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
Well, ld.so.conf varies from system to system but here are two of the most commonly needed entries:

/usr/X11R6/lib
/usr/local/lib

Here's the whole thing on my system, but I would try the above. The gtk and pango stuff may not be (probable won't be) the right version numbers for your system.

/usr/X11R6/lib
/usr/local/lib
/opt/lib
/usr/lib/pango/1.4.0/modules
/usr/lib/gtk-2.0/2.4.0/immodules
/usr/lib/gtk-2.0/2.4.0/loaders
/usr/lib/imlib2_loaders/image
/usr/lib/imlib2_loaders/filter
 
Old 12-05-2004, 11:35 PM   #3
VampireL0rd
Member
 
Registered: Dec 2004
Distribution: Slackware 10.2
Posts: 37

Original Poster
Rep: Reputation: 15
Thanks a lot for the quick reply. I'am going to add it now
 
Old 12-06-2004, 05:08 PM   #4
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
By the way, for future referance the "emergency bailout" sequence for vi/vim is:

<esc> :q!

(quit and don't save chages) Hitting the esc is supposed to put you back in command mode, but it sounds like vi messed up so bad that even that may not have worked.
 
  


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
Messed up httpd.conf in FC4 Help! LinuxStart Fedora 11 07-12-2005 04:26 PM
messed up xorg.conf losingfight Linux - Newbie 13 04-28-2005 01:23 PM
Can someone please send me a copy of their qmake.conf file? uman Linux - Software 0 01-04-2005 07:56 PM
Messed up my rc.conf can't get into system to repair it joe83 *BSD 2 07-18-2004 08:14 PM
I Messed Up My LiLo.Conf DOS Partition Entry...Help? fortezza Linux - General 5 05-11-2003 05:28 PM


All times are GMT -5. The time now is 07:40 PM.

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