|laziness, impatience, and hubris|
Linking CPAN modules to specific libraryby ewedaa (Initiate)
|on May 15, 2018 at 18:02 UTC||Need Help??|
ewedaa has asked for the
wisdom of the Perl Monks concerning the following question:
I'm having an interesting problem compiling a CPAN module (Net::SSLeay in particular). This particular module creates a binary library, SSLeay.so. For various reasons, I have to make/compile this module by hand.
The problem I am having is that the prior admins never "really" updated this particular system, and instead created a new directory /usr/local/ssl/ssl_version and installed new versions of ssl into that directory tree, and then passed the proper path to Apache and other programs when they compiled/installed the new versions. There are assorted "bad" versions of libssl scattered around the system being used by assorted programs (I'm working on cleaning those up too.)
I was able to edit the Makefile to get rid of /usr/lib/ and /usr/lib64. I even added the path I want into the Makefile as
But it still links to the bad version in /lib.
Any ideas on how to force it to force it to link to the version I want at /usr/local/DPS/openssl/openssl-1.0.1m
(I'm sure it's something stupid...)