[mapserver-users] MapCache compilation error; ld cannot find libraries

Armin Burger armin.burger at gmx.net
Mon Jan 2 08:41:20 EST 2012


Thomas

thanks a lot for the quick help.

OS is Ubuntu 10.04 64bit, libtool version is 2.2.6b.

I made the changes as you suggested and compilation continued. But then 
another error appeared:

/usr/bin/apxs2 -Wc," -DUSE_MEMCACHE -DUSE_PCRE -DUSE_OGR -DUSE_GEOS 
-DUSE_SQLITE -DUSE_PIXMAN    -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE 
-pthread -O2 -Wall -fPIC -DHAVE_SYMLINK -DNDEBUG  -I../include 
-I/usr/include/apr-1.0  -I/usr/include/apr-1.0 
-I/usr/include/pixman-1  " -lcurl -lpng -ljpeg /usr/lib/libapr-1.la 
/usr/lib/libaprutil-1.la -lpcre -lsqlite3 -lpixman-1      -c 
mod_mapcache.c libmapcache.la
Usage: apxs -g [-S <var>=<val>] -n <modname>
        apxs -q [-S <var>=<val>] <query> ...
        apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
                [-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
                [-Wl,<flags>] [-p] <files> ...
        apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
        apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
make[1]: *** [mod_mapcache.o] Error 1


Armin



On 02/01/2012 14:22, thomas bonfort wrote:
> There have been some extensive changes in the build process over the
> holidays. Please try editing src/Makefile, and replace the two
> occurences of -Wl,"$(LIBS)" by $(LIBS).
>
> If that fixes it, can you post the output of
> /usr/share/apr-1.0/build/libtool --version, and your OS distribution
> and version
>
> --
> thomas
>


More information about the mapserver-users mailing list