LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-12-2002, 12:09 PM   #16
makai_wi
Member
 
Registered: Nov 2002
Location: Thiensville, WI, USA
Distribution: RedHat Linux 9
Posts: 85

Original Poster
Rep: Reputation: 15

Okay, the directory is in ld.so.conf but dosn't show up when I do an $PATH... Does it only do bin and sbin directories and not lib's? I'm not quite sure what the $PATH is, some sort of registry?
 
Old 11-12-2002, 12:33 PM   #17
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
updatedb is for updating locates database, which is a search program. It will let you search for things like filenames that you think might be missing, etc...

you do not need libs in your path, only commands that you are going to issue

path is like a search path for your shell
$ echo $PATH
/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/david/bin

you issue a comand like


xinit

if it is not in the first directory in your path then the next directory in the path will be checked, and so on untill the command is found in /usr/X11R6/bin

if that directory was not in the path you will get command not found

libs have ld.so.cache
 
Old 11-12-2002, 12:40 PM   #18
makai_wi
Member
 
Registered: Nov 2002
Location: Thiensville, WI, USA
Distribution: RedHat Linux 9
Posts: 85

Original Poster
Rep: Reputation: 15
my ld.so.cache looks like this...

ld.so-1.7.0
E
H
Z
p
y
?
?
?
?
?
E
H
Z
p
y
?
?
?
?
?

-----

is that normal? I have my lib directories in ld.so.conf, should I move them over to ld.so.cache and that should correct my problem?
 
Old 11-12-2002, 01:56 PM   #19
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
you are not really meant to use it in that way
put the lib paths in /etc/ld.so.conf and run /sbin/ldconfig
that's all there is to it

other than that you just don't have the libs installed

search for the exact filename your missing at rpmfind.net

in some cases I have created links to libs

for instance lets say a program complains that you need somelib-2.so.3 and you have somelib-2.so.4

I have created it using this

ln -s somelib-2.so.4 somelib-2.so.3


of course this should be done as a last resort. You should install the proper libs.
 
  


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
qt path problem wmeler Linux - Software 0 05-13-2004 11:20 PM
How to Chnage Python's module search path (sys.path)? lramos85 Linux - Software 1 05-02-2004 07:10 PM
$PATH problem (probably) dave bean Slackware 9 02-17-2004 07:43 PM
PATH problem jhansman Linux - Newbie 18 08-24-2003 02:15 AM
$PATH problem charlie123 Linux - Newbie 3 01-15-2003 05:50 PM


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