- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: how to install ldconfig
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2005 12:39 AM
тАО06-29-2005 12:39 AM
I think ldconfig is not install on of our linux EL server.
(rpm -qa | egrep "ldconfig" doesnt result anything).
so now I need to install ldconfig on the linux box.
can someone please help give me detail step on how to download and install ldconfig on linux.
Please also help on how to install libstdc++-2.9 on this platform.
(uname -a results -
Linux tnvavg0pr01 2.4.21-20.ELsmp #1 SMP Wed Aug 18 20:34:58 EDT 2004 x86_64 x86_64 x86_64 GNU/Linux)
Thanks in advance
Mohan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2005 12:55 AM
тАО06-29-2005 12:55 AM
Solution# rpm -qil glibc |grep ldconfig
All RPM packages are installed with rpm -ivh or rpm -Uvh. The rpm program will warn you about problems or conflicts that could occur when installing a package.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2005 12:58 AM
тАО06-29-2005 12:58 AM
Re: how to install ldconfig
Looks like you are using RHEL 3 x86_64 version (correct me if i am wrong)
ldconfig is by default installed with glibc, i really doubt your system is installed without glibc(which is the core)
the RPM's should be part of your distribution CD list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2005 01:05 AM
тАО06-29-2005 01:05 AM
Re: how to install ldconfig
thanks for quick replies.
I will check these things and will revert to you ASAP.
can you Please also temm me how to install libstdc++-2.9 on this platform and do I need to install anything before installing libstdc++-2.9??
thanks
mohan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2005 01:10 AM
тАО06-29-2005 01:10 AM
Re: how to install ldconfig
rpm -qil glibc |grep ldconfig
/sbin/ldconfig
/sbin/ldconfig
so looks like I have ldconfig on my system.
thanks for help again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2005 01:17 AM
тАО06-29-2005 01:17 AM
Re: how to install ldconfig
Doing it by hand is more complex. You should find the rpm on the distribution CD. Try to install with rpm -ivh and then you will get a list of packages that should be installed also. Install everything as indicated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2005 01:59 AM
тАО06-29-2005 01:59 AM
Re: how to install ldconfig
you can use RH package management utility to install the package of your choice, it will take care of dependencies if any required.
otherwise installing RPM on your own is simple by 'rpm -ivh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2005 02:04 AM
тАО06-29-2005 02:04 AM
Re: how to install ldconfig
ldconfig is supplied by the package 'glibc'.
A RH3 system *WILL NOT FUNCTION* without this package installed, thus every RH3EL system will have 'ldconfig'.
To be a bit more broad, every RH system since v8 (and all Fedora distributions, hell all Linux distributions younger than 5 years old) will have the 'glibc' package, and thus 'ldconfig'.
The most likely thing that happened is that our user here didn't have the correct PATH setting (i.e. with '/sbin', did you 'su', but not 'su -' perhaps?) or was trying to run it as a non privileged user.
As only a privileged user should have access to update the library cache of which 'ldconfig' rebuilds, this is perfectly normal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2005 02:13 AM
тАО06-29-2005 02:13 AM
Re: how to install ldconfig
...
*sigh*
Sorry, missed the 2nd question.
A RH3 system should have access to 'libstdc++-3.2' packages on the install media (or via 'up2date'). Is this insufficient?
'libstdc++' will need 'rpm-libs' and 'glibc' packages installed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2005 12:25 AM
тАО07-07-2005 12:25 AM
Re: how to install ldconfig
Could you please aslo pont me to a site I can download libstdc++-2.9 etc for Linux ES 3 please (2.4.21-20.ELsmp)
mohan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2005 03:11 AM
тАО07-07-2005 03:11 AM
Re: how to install ldconfig
I have downloaed libstdc++-2.92.tar.gz.
now how do i install it. I get Makefile's after extracting the file.
Do I have to use make? or something else.
Sorry, very new to linux.
Please help.
mohan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2005 03:15 AM
тАО07-07-2005 03:15 AM
Re: how to install ldconfig
un tar the tar.gz file and go to that new directory, from there do 'configure --prefix=/usr' which will configure the make files according to your system.
once it gets completed successfully, run make and make install. do ldconfig and you should be fine.
if configure throws any requirements download and install them first. if make fails, do post the make error and we will try to diagnoise it.
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2005 03:54 AM
тАО07-07-2005 03:54 AM
Re: how to install ldconfig
HI Gopi,
Getting following error
[root@abc libstdc++-2.92]# configure --prefix=/usr
-bash: configure: command not found
[root@abc libstdc++-2.92]# ./configure --prefix=/usr
loading cache ./config.cache
configure: error: can not find install-sh or install.sh in ./.. ././..
-----
ll
-rw-rw-r-- 1 msp msp 9252 Apr 6 2001 acconfig.h
-rw-rw-r-- 1 msp msp 58111 Apr 6 2001 acinclude.m4
-rw-rw-r-- 1 msp msp 63324 Apr 6 2001 aclocal.m4
-rw-rw-r-- 1 msp msp 67979 Apr 6 2001 ChangeLog
-rw-rw-r-- 1 msp msp 360259 Apr 6 2001 ChangeLog-2000
-rw-r--r-- 1 root root 1 Jul 7 16:15 confdefs.h
drwxrwxr-x 4 msp msp 4096 Apr 6 2001 config
-rw-r--r-- 1 root root 0 Jul 7 16:15 config.cache
-rw-rw-r-- 1 msp msp 19701 Apr 6 2001 config.h.in
-rw-r--r-- 1 root root 127 Jul 7 16:15 config.log
-rwxrwxr-x 1 msp msp 491617 Apr 6 2001 configure
-rw-rw-r-- 1 msp msp 770 Apr 6 2001 configure.host
-rw-rw-r-- 1 msp msp 9977 Apr 6 2001 configure.in
-rw-rw-r-- 1 msp msp 2981 Apr 6 2001 configure.target
drwxrwxr-x 4 msp msp 4096 Apr 6 2001 docs
drwxrwxr-x 9 msp msp 4096 Apr 6 2001 include
drwxrwxr-x 2 msp msp 4096 Apr 6 2001 libio
drwxrwxr-x 2 msp msp 4096 Apr 6 2001 libmath
drwxrwxr-x 2 msp msp 4096 Apr 6 2001 libsupc++
-rw-rw-r-- 1 msp msp 4637 Apr 6 2001 Makefile.am
-rw-rw-r-- 1 msp msp 15451 Apr 6 2001 Makefile.in
-rwxrwxr-x 1 msp msp 1343 Apr 6 2001 mkc++config
-rwxrwxr-x 1 msp msp 15428 Apr 6 2001 mkcheck.in
-rwxrwxr-x 1 msp msp 3024 Apr 6 2001 mkcshadow
-rwxrwxr-x 1 msp msp 2668 Apr 6 2001 mkinclosure
-rwxrwxr-x 1 msp msp 9023 Apr 6 2001 mknumeric_limits
-rw-rw-r-- 1 msp msp 15948 Apr 6 2001 porting.texi
-rw-rw-r-- 1 msp msp 3810 Apr 6 2001 README
drwxrwxr-x 2 msp msp 4096 Apr 6 2001 src
-rw-rw-r-- 1 msp msp 4672 Apr 6 2001 tests_flags.in
drwxrwxr-x 17 msp msp 4096 Apr 6 2001 testsuite
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2005 04:11 AM
тАО07-07-2005 04:11 AM
Re: how to install ldconfig
u r sure u have downloaded the tar.gz completely? while extracting (tar -zxvf
looks like some files are missing!!. try downloading the file again from a reliable source and try again. You can also try downloading the latest version of it, it looks like you are having very old version (2001 dated)
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2005 04:17 AM
тАО07-07-2005 04:17 AM
Re: how to install ldconfig
Can you please point me to a URL I can download the working libstdc++-2.9 from PleasE?
Sorry, I posted earlier entry from my frinds ID.
thanks
Mohan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2005 04:25 AM
тАО07-07-2005 04:25 AM
Re: how to install ldconfig
http://gcc.gnu.org/libstdc++/index.html
Download the latest version and compile for your system. I believe it is currently 3.1.
Also the page has links to documentation which details how to do installation.
Hope this helps,
Gopi