So, as I did build libssl/crypto as a userland module, maybe there is something 
wrong there?
Actually, going deeper I found also this:
-bash-4.0$ ldd -r _ssl_failed.so
libssl.so.1.0.0 =/lib/libssl.so.1.0.0
libcrypto.so.1.0.0 =/lib/libcrypto.so.1.0.0  - hardware capability 
(CA_SUNW_HW_1) unsupported: 0x4000000  [ AES ]
libpython2.6.so.1.0 =/usr/lib/libpython2.6.so.1.0
libgcc_s.so.1 =/usr/gcc/4.4/lib/libgcc_s.so.1
libcrypto.so.1.0.0 =(file not found)
libc.so.1 =/lib/libc.so.1
libdl.so.1 =/lib/libdl.so.1
libm.so.2 =/lib/libm.so.2
symbol not found: RAND_status           (./_ssl_failed.so)
.....more not found....
But if I try this:
-bash-4.0$ elfdump -s /lib/libcrypto.so | grep RAND_status
[1808]  0x000aee30 0x0000002e  FUNC GLOB  P    1 .text          RAND_status
[3940]  0x000aee30 0x0000002e  FUNC GLOB  P    0 .text          RAND_status
Looks like the symbol is there.
Maybe, you say, the library is discarded because it does not support AES?
----------------------------------------------------------------------------------
Da: Volker A. Brandt
A: [email protected]
Data: 17 dicembre 2012 16.43.29 CET
Oggetto: Re: [discuss] strange ldd output
Eric Sproul writes:
On Mon, Dec 17, 2012 at 10:16 AM, Gabriele Bulfon
wrote:
libcrypto.so.1.0.0 =/lib/libcrypto.so.1.0.0 - hardware capability
(CA_SUNW_HW_1) unsupported: 0x4000000 [ AES ]
[...]
libcrypto.so.1.0.0 =(file not found)
[...]
I'm not sure why it would show up twice, but the first one seems to
be looking for a version that was compiled for a specific target
(looks like a recent Intel CPU with AES-NI extensions).
Yes.  It is defined in /usr/include/sys/auxv_386.h -- 0x4000000
is "AV_386_AES".
As to why it appears twice, I would guess that ld.so processes the
library search path, finds the libcrypto with the unavailable
prerequisite, dismisses it and prints the "file not found" msg after
search has failed.
Regards -- Volker
--
------------------------------------------------------------------------
Volker A. Brandt               Consulting and Support for Oracle Solaris
Brandt &Brandt Computer GmbH                   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim, GERMANY            Email: [email protected]
Handelsregister: Amtsgericht Bonn, HRB 10513              Schuhgröße: 46
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt
"When logic and proportion have fallen sloppy dead"
-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175541-02f10c6f
Modify Your Subscription: 
https://www.listbox.com/member/?&id;secret=21175541-29e3e0ee
Powered by Listbox: http://www.listbox.com



-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to