On 15/03/2019 14:33, Dennis Clarke wrote:
On 3/15/19 5:38 AM, Matthias St. Pierre wrote:
My guess is that your binary is loading the system's shared libraries.
To find out whether this is the case, try
ldd bin/openssl
If my assumption is correct, you might have to set the LD_LIBRARY_PATH
explicitely.
Actually LD_LIBRARY_PATH is evil.
The correct way to do this is to compile with a RUNPATH set in the
output ELF files.
LD_LIBRARY_PATH overriding the compiled in RUNPATH is appropriate when
testing
a newly compiled binary before installing the libraries to their final
locations, perhaps
on the same, perhaps on another machine.
P.S.
I don't known if the Solaris loader lets LD_LIBRARY_PATH override
RUNPATH as
presumed by the above answer.
Enjoy
Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S. https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark. Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded