[mapserver-users] compiler failture with mapserver 6.2.0beta2 on debian wheezy
Nicol Hermann
mapserver at geoworld.de
Thu Aug 23 14:10:10 PDT 2012
Hello Dev's
I am trying to compile mapserver 6.2.0beta2 in my Debian wheezy (amd64)
system.
the configure statement looks like this:
./configure --with-wfsclient --with-wfs --with-wmsclient --without-tiff
--with-jpeg=/usr --with-ogr=/usr/local/bin/gdal-config
--with-freetype=/usr --with-png=/usr --with-proj=/usr --enable-debug
--with-gd=/usr/local --with-gdal=/usr/local/bin/gdal-config
--with-postgis=/usr/local/pgsql/bin/pg_config
--with-curl-config=/usr/bin/curl-config --with-threads
--with-httpd=/usr/local/apache2_ssl/bin/httpd
--with-php=/usr/local/php5/bin/php-config --with-agg=/usr/local
--with-geos=/usr/local/bin/geos-config --without-opengl --without-ftgl
Unfortunately the make statement fails with
libtool: link: cannot find the library `/usr/lib/libfreetype.la' or
unhandled argument `/usr/lib/libfreetype.la'
The corresponding make file entry looks fine to me.
#Freetype support
FT_ENABLE= -DUSE_FREETYPE
FT_LIB= -L/usr/lib/x86_64-linux-gnu -lfreetype -lz
FT_INC= -I/usr/include/freetype2
Not sure it still looks for the file in '/usr/lib'.
If I am symlinking the file the error disappears
ln -s /usr/lib/x86_64-linux-gnu/libfreetype.la /usr/lib/libfreetype.la
followed by the next failure:
libtool: link: cannot find the library `/usr/lib/libsqlite3.la' or
unhandled argument `/usr/lib/libsqlite3.la'
Seems to be a more generic problem.
Do you have any hints how to solve this?
Thank you very much
Best regards
Nicol
More information about the MapServer-users
mailing list