After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 322476 - Missing check for .dylib
Missing check for .dylib
Status: RESOLVED NOTABUG
Product: glib
Classification: Platform
Component: general
2.8.x
Other Mac OS
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2005-11-26 01:26 UTC by Vladimir Panov
Modified: 2006-03-21 13:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vladimir Panov 2005-11-26 01:26:45 UTC
Version details: 2.8.4
Distribution/Version: Darwin

configure checks for the filename extension of the dynamic libraries of the
current OS. This check does not contain a case for Darwin (which extension is
.dylib). Look for the line:
"AC_MSG_CHECKING(for the suffix of shared libraries)"
in configure.in.
Comment 1 Anders Carlsson 2006-03-06 08:06:35 UTC
2006-03-06  Anders Carlsson  <andersca@imendio.com>

        * configure.in:
        Make .dylib the shared library suffix on darwin.
        (#322476, Vladimir Panov)

Comment 2 Anders Carlsson 2006-03-13 08:42:27 UTC
I reverted this fix since it breaks module loading in GTK+ and Pango under Darwin.

The reason for this is that libtool creates shared modules with the .so suffix and shared libraries with the .dylib suffix. When for example pango-querymodules looked for engine modules, it couldn't find any with the .dylib extensions since libtool would create them with the .so suffix.  
Comment 3 Vincent Lefevre 2006-03-21 13:58:31 UTC
If you haven't done this, you should probably change the line

AC_MSG_CHECKING(for the suffix of shared libraries)

into

AC_MSG_CHECKING(for the suffix of shared modules)

and add some comments in the configure.in file. A correct message would have avoid the mess.