Error building glib-2.2.1 from source 8-(

Harold L Hunt II
Mon Mar 3 20:58:00 GMT 2003


You are building glib 2.2.1... I would be curious to find out why it is 
trying to link to glib 2.0.1a???  Doesn't that seem a little strange 
(and unnecessary) to you?


Chris Olive wrote:
> I'm trying to build glib from source (from FTP mirror), and I end up with the following error during make:
> make[2]: Entering directory `/cygdrive/c/xfer/glib-2.2.1/gobject'
> /bin/sh ../libtool --mode=link gcc  -g -O2 -Wall  -o -rpath /usr/local/lib -version-info 200:1:200 -export-dynamic -no-undefined gboxed.lo gclosure.lo genums.lo gobject.lo gparam.lo gparamspecs.lo gsignal.lo gsourceclosure.lo gtype.lo gtypemodule.lo gtypeplugin.lo gvalue.lo gvaluearray.lo gvaluetransform.lo gvaluetypes.lo ../glib/ -lintl  
> *** Warning: This system can not link to static lib archive ../glib/
> *** I have the capability to make that library automatically link in when
> *** you link to this library.  But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
> libtool: link: warning: `/lib/' seems to be moved
> I've tried ./configure --enable-shared=yes (it's 'yes' by default anyway), but this seems to have no effect.  As to the libtool warning after the error, "'/lib/' seems to be moved", this seems to be bogus since the file IS there.
> My guess is that somehow libtool is not resolving libraries properly, but I'm not really at all familiar with how this all works under Cygwin (I know there are .a and .DLL mapping things going on, but that's about it.)  My version of libtool is 1.4.3.
> Any help getting over this hump would be appreciated.  I loathe bothering people on lists unless I'm just out of options, which I feel I a (again after much research).  I don't see any other options under ./configure for building glib-2.2.1 that present any other possibilities.
> Even if there is no known solution, if someone could just help me decipher the above errors -- what it probably means -- I can go from there most likely.
> Thanks,
> Chris
> -----
> Chris Olive

More information about the Cygwin-xfree mailing list