I have a package that I used to build for CentOS 5 - consisting of small binaries and perl/shell scripts to act as Nagios plugins. No problems building or installing on CentOS 5. The CentOS 5 package wouldn't install on CentOS 6, complaining that it couldn't find libssl.so.4 or libcrypto.so.4
I rebuilt the package on a CentOS 6 box, but it still won't install, citing these outdated versions of libssl and libcrypto. None of the scripts explicitly depend on SSL, although one of the perl scripts calls /usr/bin/openssl. So why does rpmbuild's automatic dependency generator pick such an old version of libssl?
I'll be grateful for any pointers.
Cheers,
Jonathan
[SOLVED] Dependency on libssl.so.4 and libcrypto.so.4
-
- Posts: 4
- Joined: 2011/07/19 10:27:34
- Location: UK
- Contact:
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
[SOLVED] Dependency on libssl.so.4 and libcrypto.so.4
Hard to guess without more information. A link to the SRPM package, or at least posting the .spec file, might be sufficient.
-
- Posts: 4
- Joined: 2011/07/19 10:27:34
- Location: UK
- Contact:
[SOLVED] Dependency on libssl.so.4 and libcrypto.so.4
Sorry, I found the problem myself. One of the binaries had been compiled and statically linked on an older version of CentOS. I'll rebuild the binary.
My suspicion that rpmbuild was examine my scripts and adding dependencies incorrectly was false.
My suspicion that rpmbuild was examine my scripts and adding dependencies incorrectly was false.
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: [SOLVED] Dependency on libssl.so.4 and libcrypto.so.4
Thanks for reporting back. Marking this thread [SOLVED] for posterity.