[mapserver-users] Mapscript java 6.2

Umberto Nicoletti umberto.nicoletti at gmail.com
Fri Nov 16 07:02:48 PST 2012


Did you run make install after make in the mapserver top-level directory?


On Fri, Nov 16, 2012 at 3:56 PM, Gaston Lucero <gaston.lucerom at gmail.com>wrote:

> I get this error
>
> root at Gaston:/home/gaston/mapserver-6.2.0/mapscript/java# make install
> /bin/bash ../../libtool --mode=install /usr/bin/install -c
> libjavamapscript.la /usr/local/lib
> libtool: install: warning: relinking `libjavamapscript.la'
> libtool: install: (cd /home/gaston/mapserver-6.2.0/mapscript/java;
> /bin/bash /home/gaston/mapserver-6.2.0/libtool  --tag CXX --mode=relink g++
> -rpath /usr/local/lib -module -release 6.2.0 -o libjavamapscript.lajavamapscript_wrap.lo ../../
> libmapserver.la )
> libtool: relink: g++  -fPIC -DPIC -shared -nostdlib
> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o
> /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbeginS.o  .libs/javamapscript_wrap.o
> -L/usr/local/lib -lmapserver -L/usr/lib -lproj -ljpeg -lpng
> -L/usr/lib/x86_64-linux-gnu -lgif -lgdal -lpq -lcurl -lgeos_c -lpthread
> -lxml2 -ldl -lfreetype -lz -lcairo -lpng12
> -L/usr/lib/gcc/x86_64-linux-gnu/4.7
> -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu
> -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu
> -L/lib/../lib -L/usr/lib/../lib
> -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. -lstdc++ -lm -lc -lgcc_s
> /usr/lib/gcc/x86_64-linux-gnu/4.7/crtendS.o
> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o
>  -Wl,-soname -Wl,libjavamapscript-6.2.0.so -o .libs/
> libjavamapscript-6.2.0.so
> /usr/bin/ld: cannot find -lmapserver
> collect2: error: ld returned 1 exit status
> libtool: install: error: relink `libjavamapscript.la' with the above
> command before installing it
> make: *** [install] Error 1
>
>
> Any idea?
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20121116/c936301e/attachment.htm>


More information about the MapServer-users mailing list