Uploaded image for project: 'libdiscid'
  1. libdiscid
  2. LIB-33

autotools/cmake create different libraries on BSD

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: libdiscid 0.3.2, libdiscid 0.4.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      FreeBSD 8.3, OpenBSD 5.2, NetBSD 6.0

      Description

      For libdiscid 0.3.2 (changed with LIB-32 only when indicated)

      BSD has problems here:
      • OpenBSD 5.2: (non-gnu libtool 1.5.26)
        • cmake: libdiscid.so.0.3
        • autotools: libdiscid.so.3.2 (freebsd-aout?)
      • FreeBSD 8.3: (GNU libtool 2.4.2)
        • cmake: libdiscid.so.0.3.2
        • autotools: libdiscid.so.3 (freebsd-elf?)
      • NetBSD 6.0: (GNU libtool 2.2.6b)
        • cmake: libdiscid.so.0.3.2
        • autotools: libdiscid.so.3.2 (freebsd-aout?)
        • autotools LIB-32 libdiscid.so.0.3 (that is a bug in libtool / ltmain.sh)
      everything fine with these:
      • SunOS and Linux: (GNU libtool 2.4.2)
        • cmake: libdiscid.so.0.3.2
        • autotools: libdiscid.so.0.3.2
      • Darwin: (libtool has no --version parameter)
        • cmake: libdiscid.0.3.2.dylib
        • autotools: libdiscid.0.3.2.dylib

      NetBSD also has warnings like:
      warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
      introduced with adding LT_INIT (because other methods are deprecated).

      Arch Linux: libtool 2.4.2

      GNU/kfreebsd works just like Linux in this regard.

      That might also be a problem with cmake on these platforms (or libtool?)
      Anyways, they should produce the same files.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jonnyjd Johannes Dewender
                Reporter:
                jonnyjd Johannes Dewender
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: