From: Bernard N. <be...@ze...> - 2004-06-04 21:01:20
|
Hello, The AIXTools README mentions a new approach to shared object versioning, but does not give much details. Shared libraries such as openssl or expat are in archives, e.g. /opt/freeware/lib/libexpat.a contains libexpat.so.0 (actually 2 libexpat.so.0, one 32 bit and one 64 bit, as show by ar -t -X 32_64) On Linux, the standard versioning approach is to use different shared library names for incompatible versions (e.g. libexpat.so.0 and libexpat.so.1); and when you link a program, you select a specific version by using a symbolic link that points to desired version. How does this work on AIX? If I have libexpat.so.0 and libexpat.so.1 in the same /opt/freeware/lib/libexpat.a, how can I tell the linker to pick a specific version? Is there any example? Thanks, Bernard |