[Gdal-dev] GDAL 1.3.2 Beta 2 Released

William Kyngesburye woklist at kyngchaos.com
Wed Apr 26 14:07:23 EDT 2006


Libtool config stuff is a bit deep for me also.  Do you have a  
libtool.m4 for GDAL 1.3.1 (I don't see one in the source)?  Or is  
this autoconfig thing for libtool part of what's new with libtool for  
1.3.2?  I could use an old libtool.m4 as a guide - I think I found  
the lines in there that should be changed, I just want to make sure.

I could also try looking at some other projects to see what they do.

On Apr 26, 2006, at 12:42 PM, Frank Warmerdam wrote:

> 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.
>

-----
William Kyngesburye <kyngchaos at kyngchaos.com>
http://www.kyngchaos.com/

Earth: "Mostly harmless"

- revised entry in the HitchHiker's Guide to the Galaxy




More information about the Gdal-dev mailing list