[Gdal-dev] GDAL 1.3.2 Beta 2 Released

Frank Warmerdam warmerdam at pobox.com
Wed Apr 26 13:42:59 EDT 2006


William Kyngesburye wrote:
> I didn't try 1.3.2b1, but b2 has a linking problem on Mac OS X.  Somehow 
> an extra 'ar x' step is added for linking in static libraries (ie 
> libmysqlclient.a).  And ar apparently doesn't like a fat (universal) 
> static library.
> 
> I poked around in libtool, and it seems to have something to do with the 
> convenience libs and whole_archive_flag_spec - whole_archive_flag_spec 
> is not set now, in 1.3.1 it's "-all_load \$convenience" for darwin.  
> Without whole_archive_flag_spec, static libs go thru the 'ar x' thing.
> 
> After setting (hacking) whole_archive_flag_spec="-all_load 
> \$convenience" (in the CXX tag section) in libtool, it works again.
> 
> 
> The new way would probably work with the default mysql binaries for Mac 
> OS X - they're single-architecture static libs.

William,

Yikes! Can you submit the patch via bugzilla (the patch should presumably
be applied to m4/libtool.m4).  I'm a bit nervous about fiddling with this
stuff but I also don't want us in the position of lots of MacOS X build
problems till the next version after 1.3.2.

This libtool stuff *scares* me.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org




More information about the Gdal-dev mailing list