[Gdal-dev] gdal build failure on SUSE LINUX Enterprise Server 10

Alans alan.stratford at goodrich.com
Thu Dec 17 12:45:18 EST 2009




Alans wrote:
> 
> 
> The problem here is that it is looking for libexpat.so in /usr/lib rather
> than /usr/lib64.
> 
> I have tried configuring with '--with-expat-lib="-L/usr/lib64"' and with
> '--with-expat-lib=/usr/lib64' but neither made any difference. It is not
> clear to me how --with-expat-lib should be used or what it should be set
> to.
> 
> In anycase I am not sure that I should need to use this option since the
> library is in a fairly common place, i.e. /usr/lib64, especially as I
> don't need to specify this for lots of other libraries!
> 
> 

I did some digging around in the configuration script and finally got GDAL
to build by changing line 24687 (expat_lib_flags="-L$expat_prefix/lib
-lexpat") to (expat_lib_flags="-L$expat_prefix/lib64 -lexpat").

I think there must be something wrong with the --with-expat-lib switch, as I
could not get it to work, but I am not familiar with these config files. The
experts might like to take a look.

Regards
Alan
-- 
View this message in context: http://n2.nabble.com/gdal-build-failure-on-SUSE-LINUX-Enterprise-Server-10-tp4145777p4182514.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list