Menu

#730 Version info wrong for HP-UX dynamic libs

hpux
closed
nobody
configure (132)
7
2012-11-08
2003-04-30
No

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.

Discussion

  • Thomas Anders

    Thomas Anders - 2005-10-18

    Logged In: YES
    user_id=848638

    Is this still the case in any of the active CVS branches,
    especially after the SONAME changes?

     
  • Johannes Schmidt-Fischer

    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.

     

Log in to post a comment.

MongoDB Logo MongoDB