Aki Tuomi wrote:>>>> ldd /usr/local/Dovecot-2.2.25/lib/dovecot/libdcrypt_openssl.so >>>> linux-gate.so.1 => (0x00dca000) >>>> libcrypto.so.1.0.0 => not found >>>> ... > > Well, then it leaves only option of using /etc/ld.so.conf > so basically add your libssl location there.You can also affect where shared libraries are loaded using the LD_LIBRARY_PATH environment variable. Try adding LD_LIBARY_PATH=/location/of/libdir; export LD_LIBARY_PATH to your service boot scripts. Joseph Tam <jtam.home at gmail.com>
On 09/02/2016 12:50 PM, Joseph Tam wrote:> Aki Tuomi wrote: > >>>>> ldd /usr/local/Dovecot-2.2.25/lib/dovecot/libdcrypt_openssl.so >>>>> linux-gate.so.1 => (0x00dca000) >>>>> libcrypto.so.1.0.0 => not found >>>>> ... >> >> Well, then it leaves only option of using /etc/ld.so.conf >> so basically add your libssl location there. > > You can also affect where shared libraries are loaded using the > LD_LIBRARY_PATH environment variable. Try adding > > LD_LIBARY_PATH=/location/of/libdir; export LD_LIBARY_PATH > > to your service boot scripts.would an rpath solve the problem? I believe chrpath command can probably be used to set the rpath if it isn't set at compile time.
Do you have multiple OpenSSL's installed? Sent from my iPhone> On Sep 5, 2016, at 10:38 PM, Michael A. Peters <mpeters at domblogger.net> wrote: > > > >> On 09/02/2016 12:50 PM, Joseph Tam wrote: >> Aki Tuomi wrote: >> >>>>>> ldd /usr/local/Dovecot-2.2.25/lib/dovecot/libdcrypt_openssl.so >>>>>> linux-gate.so.1 => (0x00dca000) >>>>>> libcrypto.so.1.0.0 => not found >>>>>> ... >>> >>> Well, then it leaves only option of using /etc/ld.so.conf >>> so basically add your libssl location there. >> >> You can also affect where shared libraries are loaded using the >> LD_LIBRARY_PATH environment variable. Try adding >> >> LD_LIBARY_PATH=/location/of/libdir; export LD_LIBARY_PATH >> >> to your service boot scripts. > > would an rpath solve the problem? > > I believe chrpath command can probably be used to set the rpath if it isn't set at compile time.