Gilbert Sebenste
2015-Aug-15 05:59 UTC
[CentOS] Centos 6.5 install, missing libraries: where did I go wrong?
Hello everyone, I had a CentOS 6.5 CD for a clean install, and I did a desktop install. Then I did a yum update to bring it up to 6.7. So far, so good. I run a bunch of scientific programs that use C++ compilers and libraries. But, the programs were failing becaause in /usr/lib, the libraries simply weren't there. The directory was fairly sparsely populated with about 10 directories of libraries for specific programs. But otherwise, things that are in /usr/lib on a Centos 5 server, such as: libkate.so.1.2.1 libkdb5.a libkdb5.so libkdb5.so.4 are indeed there. These are just 4 library examples. I assume I did something wrong in the installation to keep the lib*.so.* files from installing into /usr/lib. What do I need to do next time to keep that from happening? Anyone have any ideas? Gilbert ******************************************************************************* Gilbert Sebenste ******** (My opinions only!) ****** *******************************************************************************
Tony Molloy
2015-Aug-15 08:57 UTC
[CentOS] Centos 6.5 install, missing libraries: where did I go wrong?
On Saturday 15 August 2015 06:59:36 Gilbert Sebenste wrote:> Hello everyone, > > I had a CentOS 6.5 CD for a clean install, and I did a desktop > install. Then I did a yum update to bring it up to 6.7. So far, so > good. > > I run a bunch of scientific programs that use C++ compilers and > libraries. But, the programs were failing becaause in /usr/lib, > the libraries simply weren't there. The directory was fairly > sparsely populated with about 10 directories of libraries for > specific programs. But otherwise, things that are in /usr/lib on a > Centos 5 server, such as: > > libkate.so.1.2.1 > libkdb5.a > libkdb5.so > libkdb5.so.4 > > are indeed there. These are just 4 library examples. I assume I did > something wrong in the installation to keep the lib*.so.* files > from installing into /usr/lib. What do I need to do next time to > keep that from happening? Anyone have any ideas? > > Gilbert >Assuming this was a 64bit install the libraries are in /usr/lib64 not /usr/lib. Tony -- Linux nogs.tonyshome.ie 2.6.32-573.3.1.el6.x86_64 #1 SMP Thu Aug 13 22:55:16 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Richard
2015-Aug-15 13:11 UTC
[CentOS] Centos 6.5 install, missing libraries: where did I go wrong?
> Date: Saturday, August 15, 2015 09:57:46 +0100 > From: Tony Molloy <tony.molloy at ul.ie> > > On Saturday 15 August 2015 06:59:36 Gilbert Sebenste wrote: >> Hello everyone, >> >> I had a CentOS 6.5 CD for a clean install, and I did a desktop >> install. Then I did a yum update to bring it up to 6.7. So far, >> so good. >> >> I run a bunch of scientific programs that use C++ compilers and >> libraries. But, the programs were failing becaause in /usr/lib, >> the libraries simply weren't there. The directory was fairly >> sparsely populated with about 10 directories of libraries for >> specific programs. But otherwise, things that are in /usr/lib on >> a Centos 5 server, such as: >> >> libkate.so.1.2.1 >> libkdb5.a >> libkdb5.so >> libkdb5.so.4 >> >> are indeed there. These are just 4 library examples. I assume I >> did something wrong in the installation to keep the lib*.so.* >> files from installing into /usr/lib. What do I need to do next >> time to keep that from happening? Anyone have any ideas? >> >> Gilbert >> > > Assuming this was a 64bit install the libraries are in /usr/lib64 > not /usr/lib. > > TonyThe default install doesn't necessarily include all the libraries that you might need, but you have the option to add (and subtract) packages during that process. Now that you're past that point, you can use "yum whatprovides" to find the .rpms that include the needed libraries. You'll want to make certain that you install the 32 vs 64 bit versions as needed.
Apparently Analagous Threads
- Centos 6.5 install, missing libraries: where did I go wrong?
- Centos 6.5 install, missing libraries: where did I go wrong?
- RPM install/upgrade problem
- CentOS 7.2 laptop wireless Intel Corporation Centrino Wireless-N 2230 (rev c4)
- CentOS 7.2 laptop wireless Intel Corporation Centrino Wireless-N 2230 (rev c4)