LinuxQuestions.org
Visit Jeremy's Blog.
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 04-24-2003, 01:21 AM   #1
makai_wi
Member
 
Registered: Nov 2002
Location: Thiensville, WI, USA
Distribution: RedHat Linux 9
Posts: 85

Rep: Reputation: 15
ldconfig in RedHat 9


Okay, so their is no ldconfig in redhat 9??? I am very confused...

I am trying to install xine-ui (latest version), I am using RedHat 9. I am getting the error that it can't find xine-lib but I just compiled it, I have put my install directory in ld.so.conf but I can't run ldconfig. Does rebooting my system work, instead of ldconfig or something?
 
Old 04-24-2003, 04:27 AM   #2
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
did u do ldconfig as root?
/sbin/ldconfig
 
Old 04-24-2003, 04:52 PM   #3
makai_wi
Member
 
Registered: Nov 2002
Location: Thiensville, WI, USA
Distribution: RedHat Linux 9
Posts: 85

Original Poster
Rep: Reputation: 15
I was logged in as root but I was not in /sbin. I thought since it was in sbin you can run it from any directory, correct? I will take a look and see if it's their or not, meh...
 
Old 04-24-2003, 05:57 PM   #4
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
sbin is only in the path for the root user normally.

ldconfig is present on all linux systems, it's a part of glibc
 
Old 04-24-2003, 10:30 PM   #5
makai_wi
Member
 
Registered: Nov 2002
Location: Thiensville, WI, USA
Distribution: RedHat Linux 9
Posts: 85

Original Poster
Rep: Reputation: 15
Okay, this is what I a get... Something is a muck, I am telling you...

[root@dhcppc5 jrasith]# ldconfig
bash: ldconfig: command not found
[root@dhcppc5 jrasith]#
 
Old 04-25-2003, 01:23 AM   #6
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
it is still present in RHL 9:

[root@laptop RPMS]# rpm -qpl glibc-2.3.2-11.9.i386.rpm | grep ldconfig
/sbin/ldconfig
[root@laptop RPMS]#

glibc-2.3.2 is in CD #1
 
Old 04-25-2003, 03:42 AM   #7
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
try using t shell instead of bash. Some of my commands cannot be executed in bash shell but they can in t shell. In case you dont know how to change the shell do this:

tcsh

type that and you'll be in t shell and try ldconfig

-twantrd
 
Old 04-25-2003, 04:45 AM   #8
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Just give an absolute path:

/sbin/ldconfig

instead of just

ldconfig
 
Old 04-27-2003, 12:12 PM   #9
makai_wi
Member
 
Registered: Nov 2002
Location: Thiensville, WI, USA
Distribution: RedHat Linux 9
Posts: 85

Original Poster
Rep: Reputation: 15
Thanks for all the info guys, I have been sick this past weekend and in bed, I'm going to go try some of this stuff now. I have a question for born4linux, what does all this do:

[root@laptop RPMS]# rpm -qpl glibc-2.3.2-11.9.i386.rpm | grep ldconfig
/sbin/ldconfig
[root@laptop RPMS]#

glibc-2.3.2 is in CD #1
 
Old 04-28-2003, 10:04 AM   #10
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
It prints out a list of all the files in the glibc package, then searches that list for the "/sbin/ldconfig" string, and prints out any matches it finds (1 in this case).

It's just a long way to check if it's been installed.
 
Old 04-29-2003, 01:22 PM   #11
makai_wi
Member
 
Registered: Nov 2002
Location: Thiensville, WI, USA
Distribution: RedHat Linux 9
Posts: 85

Original Poster
Rep: Reputation: 15
Thanks, I tried specifing the full path name and that's what did it. Although, I now have a problem with removing compiled software but I will make a new post.
 
  


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
What is ldconfig? MicahCarrick Linux - Software 2 10-03-2005 07:31 PM
where is ldconfig ? trutnev Red Hat 3 06-01-2005 01:05 PM
ldconfig diefree Fedora 4 12-11-2004 03:20 AM
what does ldconfig do ? rajorshi Slackware 8 09-14-2004 05:19 PM
ldconfig gui10 Slackware 3 05-14-2002 09:30 AM


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