[FGS] Starting apache error: httpd cannot execute binary file

Hao Zhang hao at zhang.nu
Fri Oct 30 10:59:24 EST 2009


Hi Norm,

When I build gdal 1.6.1 on Debian GNU/Linux sparc64 machine, it requires
mysql-5.1.30-linux-i686-icc-glibc23.tar.gz package. But they are
incompatible which causes the following fatal error:

[ ... ... ]
/usr/bin/ld: skipping incompatible
/home/sorm/FGS/fgs-dev/built/mysql-5.1.30-linux-i686-icc-glibc23/lib/libmysqlclient.so
when searching for -lmysqlclient
/usr/bin/ld: skipping incompatible
/home/sorm/FGS/fgs-dev/built/mysql-5.1.30-linux-i686-icc-glibc23/lib/libmysqlclient.a
when searching for -lmysqlclient
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make[1]: *** [/home/sorm/FGS/fgs-dev/src/gdal-1.6.1/libgdal.so] Error 1
make[1]: Leaving directory `/home/sorm/FGS/fgs-dev/src/gdal-1.6.1'
make: *** [check-lib] Error 2
! ./fgs_build: Fatal error returned, exiting...

I see mysql-5.1.30-linux-i686-icc-glibc23.tar.gz is hardcoded in
get_mysql_devel.sh. Is there any compatible package for linux sparc64? If
not, is it possible to skip mysql and/or gdal? I am not sure if mapserver
requires gdal.

Regards,
Hao


On Fri, Oct 30, 2009 at 3:18 PM, Normand Savard <nsavard at mapgears.com>wrote:

> Hao Zhang wrote:
>
>> It does not include ming package at all. Could this be the reason that
>> ming is missing under ~/built/ directory which causes mapserver build
>> failure?
>>
>>  This is surely it.  Add it in the build list and do:
>
> fgsdev build_pkg ming
>
> then build MapServer.
>
> Norm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/foss-gis-suite/attachments/20091030/aa737ba8/attachment-0001.htm 


More information about the Foss-gis-suite mailing list