Did you run make install after make in the mapserver top-level directory?<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 16, 2012 at 3:56 PM, Gaston Lucero <span dir="ltr"><<a href="mailto:gaston.lucerom@gmail.com" target="_blank">gaston.lucerom@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I get this error <div><br><div><div>root@Gaston:/home/gaston/mapserver-6.2.0/mapscript/java# make install</div><div>/bin/bash ../../libtool --mode=install /usr/bin/install -c <a href="http://libjavamapscript.la" target="_blank">libjavamapscript.la</a> /usr/local/lib</div>
<div>libtool: install: warning: relinking `<a href="http://libjavamapscript.la" target="_blank">libjavamapscript.la</a>'</div><div>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 <a href="http://libjavamapscript.la" target="_blank">libjavamapscript.la</a> javamapscript_wrap.lo ../../<a href="http://libmapserver.la" target="_blank">libmapserver.la</a> )</div>
<div>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,<a href="http://libjavamapscript-6.2.0.so" target="_blank">libjavamapscript-6.2.0.so</a> -o .libs/<a href="http://libjavamapscript-6.2.0.so" target="_blank">libjavamapscript-6.2.0.so</a></div>
<div>/usr/bin/ld: cannot find -lmapserver</div><div>collect2: error: ld returned 1 exit status</div><div>libtool: install: error: relink `<a href="http://libjavamapscript.la" target="_blank">libjavamapscript.la</a>' with the above command before installing it</div>
<div>make: *** [install] Error 1</div></div><div><br></div></div><div><br></div><div>Any idea?</div>
<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br></div>