<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div>Yes, its works at the symbol level but:</div><div>  - the linker doesn't seem to use that information when it links a given symbol, it only uses it to check wether or not it can load a library,</div>

<div>  - it is not registered at the symbol level in the solaris elf file (that could perfectly work without it, but it seems that the version is stored for each symbol in Linux elf files).</div><div></div></div></blockquote>
<div><br></div><div>Seems I was wrong on the last point. Solaris definitely stores the version for each symbol. You can get the information through pvs:</div><div><br></div><div># pvs -ors /opt/csw/lib/libneon.so.27.2.6 </div>
<div>[...]</div><div><div>/opt/csw/lib/libneon.so.27.2.6 -        libssl.so.0.9.8 (OPENSSL_0.9.8): SSL_set_ex_data;</div><div>/opt/csw/lib/libneon.so.27.2.6 -        libssl.so.0.9.8 (OPENSSL_0.9.8): SSL_write;</div><div>/opt/csw/lib/libneon.so.27.2.6 -        libssl.so.0.9.8 (OPENSSL_0.9.8): SSL_load_error_strings;</div>
<div>/opt/csw/lib/libneon.so.27.2.6 -        libssl.so.0.9.8 (OPENSSL_0.9.8): SSL_accept;</div><div>/opt/csw/lib/libneon.so.27.2.6 -        libssl.so.0.9.8 (OPENSSL_0.9.8): SSL_new;</div></div><div>[...]</div><div><br></div>
<div>I am very surprised that the linker doesn't use that information at runtime to link the symbol.</div><div><br></div><div>Yann</div></div><br>