[omniORB] omniORB and openssl

Radu-Adrian Popescu radu.popescu at aldratech.com
Wed Apr 7 20:23:31 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Raphaël Bolze wrote:
| I have compiled omniORB-4.0.3 with-openssl option :
| ./configure --with-openssl=/usr
[...]
| i want to try ssl_echo
| but i have this error :
| ../../../lib/libomnisslTP.so: undefined reference to `CRYPTO_num_locks'
[...]
|
| is there something i miss in the installation way ?
| thanks for your help
|

You need to link your omniORB programs that use libomnisslTP with -lssl -lcrypto
in order to get OpenSSL linked in.
I just checked, in my omniORB build (FC1-x86_64, 32bit build) the omnisslTP
library does not reference the OpenSSL library - ldd output:
	libomniORB4.so.0 => /usr/local/lib/libomniORB4.so.0 (0x5557f000)
	libomnithread.so.3 => /usr/local/lib/libomnithread.so.3 (0x556d1000)
	libpthread.so.0 => /lib/tls/libpthread.so.0 (0x556d7000)
	libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x556e7000)
	libm.so.6 => /lib/tls/libm.so.6 (0x5579f000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x557c1000)
	libc.so.6 => /lib/tls/libc.so.6 (0x557ca000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x56554000)
Since it does not reference it, then you should, so add -lssl -lcrypto to the
linker flags.

Hope this solves it,
Cheers,
- --
Radu-Adrian Popescu
CSA, DBA, Developer
Aldratech Ltd.
+40213212243
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAdCsDVZmwYru5w6ERAosfAJ98sDp/yzR2WdYuyDeH0d4nsOk2xwCgs+64
bri2xPX8yXnpUh1YHK9uZPQ=
=kQBd
-----END PGP SIGNATURE-----




More information about the omniORB-list mailing list