Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am using RHEL5 and trying to install a tool through the installer. It is a bin file, and while extracting the installer, I am getting an error :
"awk: error while loading shared libraries: libdl.so.2: cannot open shared object"...
But, I can install all other tools properly, but only for this one particular software, I am facing this problem.
Is there any way that we can manage the shared libraries, or can we check the location of the shared libraries?
Is there any way that we can manage the shared libraries, or can we check the location of the shared libraries?
In Red Hat the shared libraries are /usr/lib, /lib, and any libraries listed in /etc/ld.so.conf.d. You can manage the shared libraries by making entries in /etc/ld.so.conf.d and then running the ldconfig command. See:
man ldconfig
You can also add or delete libraries in /usr/lib or /lib and then run ldconfig.
--------------------
Steve Stites
P.S. I have had problems in the past with such things as a symbolic link libdl.so.2 pointing to the incorrect version of libdl. You might be able to fix your problem by fixing a broken symbolic link.
In Red Hat the shared libraries are /usr/lib, /lib, and any libraries listed in /etc/ld.so.conf.d. You can manage the shared libraries by making entries in /etc/ld.so.conf.d and then running the ldconfig command. See:
man ldconfig
You can also add or delete libraries in /usr/lib or /lib and then run ldconfig.
--------------------
Steve Stites
P.S. I have had problems in the past with such things as a symbolic link libdl.so.2 pointing to the incorrect version of libdl. You might be able to fix your problem by fixing a broken symbolic link.
Hi There,
What you told me would be fine when I will get this 'libdl.so.2' file. I tried looking in /etc/lib and /lib thereafter, as you have suggested me to do that, but didn't get much information.
What could be the reason for this. Is there any other way through which we can chk the problems with shared libraries ??
libdl is part of the glibc package. Check if the glibc package is installed. If it is you might want to try reinstalling it.
Hi There,
What you told me would be fine when I will get this 'libdl.so.2' file. I tried looking in /etc/lib and /lib thereafter, as you have suggested me to do that, but didn't get much information.
Anyways, I am not very sure that glibc package is there or not. Could you please tell me how to check that, or how can I install that on the rhel5
What could be the reason for this. Is there any other way through which we can chk the problems with shared libraries ??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.