[mapserver-users] Mapcache compilation error

Wesley wesmota at gmail.com
Fri Jan 25 08:08:45 PST 2013


Hi guys,

I'm trying to compile the mapcache source on Mac OSX and I'm getting this
error:

libtool: link: gcc -o .libs/mapcache -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -O2 -Wall -DHAVE_SYMLINK -DNDEBUG
-DUSE_MEMCACHE -DUSE_OGR -DUSE_GEOS -DUSE_SQLITE -DUSE_PIXMAN -I../include
-I/opt/local/include -I/usr/include/apr-1 -I/usr/include/apr-1
-I/opt/local/include/pixman-1 mapcache.c  ../lib/.libs/libmapcache.dylib
-L/opt/local/lib -L/usr/lib -L/opt/local/lib/db46
/opt/local/lib/libcurl.dylib /opt/local/lib/libidn.dylib
/opt/local/lib/libintl.dylib -lc -lssl -lcrypto
/opt/local/lib/libpng15.dylib -lz /opt/local/lib/libjpeg.dylib
/opt/local/lib/libaprutil-1.dylib /opt/local/lib/libexpat.dylib
/opt/local/lib/libiconv.dylib /opt/local/lib/libapr-1.dylib -lpthread
/opt/local/lib/libpcre.dylib /opt/local/lib/libsqlite3.dylib
/opt/local/lib/libpixman-1.dylib -lm -pthread
Undefined symbols for architecture x86_64:
  "_apr_file_info_get$INODE64", referenced from:
      _main in cc6wdAH8.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[1]: *** [mapcache] Error 1
make: *** [all] Error 2


Anyone knows how can i fix it?

Thanks,

Wesley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130125/23ddc1e4/attachment.html>


More information about the mapserver-users mailing list