[SOLVED] Dependency on libssl.so.4 and libcrypto.so.4

Issues related to applications and software problems
Post Reply
dj_judas21
Posts: 4
Joined: 2011/07/19 10:27:34
Location: UK
Contact:

[SOLVED] Dependency on libssl.so.4 and libcrypto.so.4

Post by dj_judas21 » 2011/07/25 10:06:09

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

pschaff
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

Post by pschaff » 2011/07/25 10:26:56

Hard to guess without more information. A link to the SRPM package, or at least posting the .spec file, might be sufficient.

dj_judas21
Posts: 4
Joined: 2011/07/19 10:27:34
Location: UK
Contact:

[SOLVED] Dependency on libssl.so.4 and libcrypto.so.4

Post by dj_judas21 » 2011/07/25 13:06:15

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.

pschaff
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

Post by pschaff » 2011/07/25 13:10:13

Thanks for reporting back. Marking this thread [SOLVED] for posterity.

Post Reply