in reply to Linking CPAN modules to specific library

Maybe listing the directories and the libraries immediately next to each other forces the linker to pick up the correct libssl.lib?

LDDLFLAGS = -shared -O2 -L/usr/local/DPS/openssl/openssl-1.0.1m -L/lib + -L/usr -L/usr/local/lib -fstack-protector LDFLAGS = -fstack-protector -L/usr/local/DPS/openssl/openssl-1.0.1m - +L/usr -L/usr/local/lib EXTRALIBS = -L/usr/local/DPS/openssl/openssl-1.0.1m -lssl -lcrypto -L +/usr -L/lib -lz LDLOADLIBS = -L/usr/local/DPS/openssl/openssl-1.0.1m -lssl -lcrypto - +L/usr -L/lib -lz