LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 02-19-2002, 12:46 PM   #1
notsoevil
Member
 
Registered: May 2001
Location: Louisville, Kentucky, USA
Distribution: RedHat ES
Posts: 120

Rep: Reputation: 15
.conf file problems


I was going to do the workaround for net-pf errors as per http://www.linuxfromscratch.org/faq/#AEN372 , but noticed something rather strange:

I don't have /etc/modules.conf

Did I do something wrong?

Hmm, instead of posting another separate thread, I am also having a problem with ld.so.conf.

When I add a library path (for example: /usr/lib/qt) to ld.so.conf and run /sbin/ldconfig, I still have other programs looking for those libraries complaining about not finding them. Heck, /usr/local/lib was already in that file, and no libraries can be found there.
 
Old 02-19-2002, 11:12 PM   #2
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Re: .conf file problems

Quote:
Originally posted by notsoevil
I was going to do the workaround for net-pf errors as per http://www.linuxfromscratch.org/faq/#AEN372 , but noticed something rather strange:

I don't have /etc/modules.conf

Did I do something wrong?

Hmm, instead of posting another separate thread, I am also having a problem with ld.so.conf.

When I add a library path (for example: /usr/lib/qt) to ld.so.conf and run /sbin/ldconfig, I still have other programs looking for those libraries complaining about not finding them. Heck, /usr/local/lib was already in that file, and no libraries can be found there.
1) if you don't have a mdoules.conf file, create it. It doesn't come by default with any package you install with LFS (the programs from the modutils package will use the file but they won't create one. There's not much point in creating a 0 byte file since modutils has no idea what needs to be in the file)

2) From time to time the cache isn't updated properly or things are just fubar'ed. Simply remove the /etc/ld.so.cache file (kind of a hash table with all the dirs and libs from those dirs as defined in ld.so.conf) and run ldconfig again. It'll create a new ld.so.cache that is used by the dynamic loader (/lib/ld-linux.so.2). See if that helps.
 
  


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
Problems with Vhosts.conf file and websites copatlarge Linux - Newbie 3 09-25-2005 04:02 PM
Problems with the named.conf-file configuration dmarkic Linux - Networking 3 07-07-2005 10:07 AM
Problems Adding Directives to the httpd.conf file kaplan71 Linux - Software 1 03-25-2005 07:56 AM
yum conf file zer0snr Linux - Newbie 3 04-23-2004 09:55 AM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-09-2004 11:45 PM


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