KobRheTilla
used register
Hi,
um eine für ältere Anwendungen kompatible OpenSSL-Installation vorzuhalten, habe ich ein Paket aus dem aktuell installierten Port erstellt und diese einfach nach /opt/compat/openssl-1.0.2t entpackt:
Nun habe ich aber das Problem, dass die Bibliiotheken dort noch den Standardpfad zu z.B. libcrypto.so innehaben:
Kann ich diesen Pfad irgendwie im Nachhinein ändern?
Rob
um eine für ältere Anwendungen kompatible OpenSSL-Installation vorzuhalten, habe ich ein Paket aus dem aktuell installierten Port erstellt und diese einfach nach /opt/compat/openssl-1.0.2t entpackt:
Code:
# cd /tmp
# pkg create openssl
# mkdir -p /opt/compat/openssl-1.0.2t
# cd /opt/compat/openssl-1.0.2t
# tar --strip-components 3 -xzf /tmp/openssl-1.0.2t,1.txz
Nun habe ich aber das Problem, dass die Bibliiotheken dort noch den Standardpfad zu z.B. libcrypto.so innehaben:
Code:
# ldd /opt/compat/openssl-1.0.2t/lib/libssl.so
/opt/compat/openssl-1.0.2t/lib/libssl.so:
libcrypto.so.9 => /usr/local/lib/libcrypto.so.9 (0x801674000)
libthr.so.3 => /lib/libthr.so.3 (0x801a84000)
libc.so.7 => /lib/libc.so.7 (0x800821000)
Kann ich diesen Pfad irgendwie im Nachhinein ändern?
Rob