That's not good at all. Both libssl and libcrypto should be in there,
this explains the startup errors - it's not linked against those
libraries at all now! If you still want to proceed with the rpath
solution, please compile tls_mgm like so: "NICER=0 make modules
module=tls_mgm", and post the output, so we know how to fix the make
environment.
OTOH, we can follow Robert's suggestion, revert all Makefile changes,
recompile back to the default tls_mgm and just do:
export LD_LIBRARY_PATH=/usr/local/ssl/lib
ldd modules/tls_mgm/tls_mgm.so
If the above works, you can add a similar logic to your OpenSIPS startup
script.
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 13.07.2017 02:48, Tito Cumpen wrote:
Liviu,
Here is the output:
linux-vdso.so.1 =>(0x00007ffee9d89000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f096f341000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f096f121000)
libc.so.6 => /lib64/libc.so.6 (0x00007f096ed59000)
/lib64/ld-linux-x86-64.so.2 (0x00007f096f791000)
On Wed, Jul 12, 2017 at 5:51 AM, Liviu Chircu <[email protected]
<mailto:[email protected]>> wrote:
Can you post the output of the following:
LD_LIBRARY_PATH=/usr/local/ssl/lib/ ldd modules/tls_mgm/tls_mgm.so
Remember, we want to get it to find the new shared libraries, not
some statically compiled libraries (aka ".a" files).
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com <http://www.opensips-solutions.com>
On 12.07.2017 00:38, Tito Cumpen wrote:
Liviu,
it is check out the following
ls -al /usr/local/ssl/lib/
total 5780
drwxr-xr-x 4 root root4096 Jul 11 18:22 .
drwxr-xr-x 9 root root4096 Jul 11 18:22 ..
drwxr-xr-x 2 root root4096 Apr 24 21:35 engines
-rw-r--r-- 1 root root 5122378 Jul 11 18:22 libcrypto.a
-rw-r--r-- 1 root root776104 Jul 11 18:22 libssl.a
drwxr-xr-x 2 root root4096 Apr 24 21:35 pkgconfig
is there an extra module I need to enable when compiling openssl?
On Tue, Jul 11, 2017 at 5:34 PM, Liviu Chircu <[email protected]
<mailto:[email protected]>> wrote:
That's a libcrypto symbol - make sure that one is also
compiled and installed under /usr/local/ssl/lib
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
<http://www.opensips-solutions.com>
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users