When building dynamic libraries for HP-UX the version
info attached to the final library name doesn't contain
the "$age" info, but only the major release and the
revision.
Reason is that in configure, when creating the libtool
script, the variable "$version_type" is set to "sunos"
when running under HP-UX whereas it is set to "linux"
for both the Linux and the SunOS platforms.
As a result the library names look as follows:
- libnetsnmp.sl.5.8
- libnetsnmpagent.sl.5.8
- libnetsnmphelpers.sl.5.8
- libnetsnmpmibs.sl.5.8
And this might lead to version conflicts when it comes
to e.g. net-snmp 5.1.8.
Logged In: YES
user_id=848638
Is this still the case in any of the active CVS branches,
especially after the SONAME changes?
Logged In: YES
user_id=377874
I cannot say whether this is the case for the current CVS
branch, but only for net-snmp version 5.2.1 (which is the
lastest version I installed for HP-UX).
With that version all libraries have the suffix "7.1":
- libnetsnmp.sl.7.1
- libnetsnmpagent.sl.7.1
- libnetsnmphelpers.sl.7.1
- libnetsnmpmibs.sl.7.1
- libnetsnmptrapd.sl.7.1
The libraries *.sl are symbolic links to their *.sl.7.1,
moreover there are symbolic links *.sl.7 which point to
*.sl.7.1. All binaries are linked against *.sl.7 btw.