[Spanish] Luego de compilar MapServer no funciona :_(

Mauricio Marquez mauriciomarquezgoa at yahoo.com
Thu May 27 13:15:09 EDT 2010


Pense que podia cantar VICTORIA, peeeeeeeeeeeeero, que va, sucede que luego de compilar el mapserver, copio el archivo en la carpeta /var/www/cgi-bin e intento apuntar al servidor escribiendo la dirección, http://servidor/var/cgi-bin/mapserv esperando recibir el mensaje "No query information to decode. QUERY_STRING is set, but empty." pero no, recibo el mensaje "Internal Server Error The server encountered an internal error or
misconfiguration and was unable to complete
your request. More information about this error may be available
in the server error log.", he leido que para confirmar que el mapserver este funcionando escriba la sentencia: ./mapserv -v y el resultado que obtengo es: ./mapserv: error while loading shared libraries: libgeos.so.2: cannot open shared object file: No such file or directory

Estoy algo frustrado, lo que antes era sencillo ahora se ha vuelto todo un dilema, si alguien me puede orientar agradecido en alma con las sugerencias, saludos...



Mauricio Márquez





--- El jue, 5/27/10, Mauricio Marquez <mauriciomarquezgoa en yahoo.com> escribió:

De: Mauricio Marquez <mauriciomarquezgoa en yahoo.com>
Asunto: Re: [Spanish] Error al compilar MapServer
A: spanish en lists.osgeo.org
Fecha: jueves, 27 de mayo de 2010, 12:18 pm

Buen día nuevamente, la verdad es que estoy convenciendome que el Slackware lo hicieron los Alemanes, el problema radica como todo en la configuración, debia configurar libiconv-1.13.1 mediante ./configure --without-iconv, luego lo compilaba e instalaba, luego me fui al mapserver y lo configure como la vez anterior ./configure --with-proj=/usr/ --with-geos=/usr/bin/geos-config --with-postgis=/usr/bin/pg_config --with-gdal=/usr/bin/gdal-config --with-ogr=/usr/bin/gdal-config --with-curl-config=/usr/bin/curl-config --with-httpd=/etc/rc.d/rc.httpd --with-wms --with-wfs --with-wcs --with-wmsclient --with-wfsclient --with-wcsclient --with-libiconv=/etc/libiconv-1.13.1/
 y luego apliqué el make y VOILA! (VI A DIOS!!! jajaja... ;-P), compilado el MapServer, gracias por la ayuda, saludos...

Mauricio Márquez





--- El jue, 5/27/10, Mauricio Marquez <mauriciomarquezgoa en yahoo.com> escribió:

De: Mauricio Marquez <mauriciomarquezgoa en yahoo.com>
Asunto: Re: [Spanish] Error al compilar MapServer
A: "#237  tulo Local de la comunidad hispano-hablanteCap& amp" <spanish en lists.osgeo.org>
Fecha: jueves, 27 de mayo de 2010, 11:19 am

Buen día Antonio, pues si requeria instalar las librerias libodbc.so, para ello instale unixODBC y supere ese error, luego me solicitaba la libreria libgeotiff.so por lo que instale las librerias
 libgeotiff-1.2.5, luego me pidió las librerias libiconv e instale las librerias libiconv-1.13.1.tar.gz, ahora bien configuro de la siguiente forma: ./configure --with-proj=/usr/ --with-geos=/usr/bin/geos-config --with-postgis=/usr/bin/pg_config --with-gdal=/usr/bin/gdal-config --with-ogr=/usr/bin/gdal-config --with-curl-config=/usr/bin/curl-config --with-httpd=/etc/rc.d/rc.httpd --with-wms --with-wfs --with-wcs --with-wmsclient --with-wfsclient --with-wcsclient --with-libiconv=/etc/libiconv-1.13.1/ y luego aplico el make y me indica el siguiente error:

g++ -O2 -fPIC -Wall     -DHAVE_VSNPRINTF -DNEED_STRLCAT
 -DNEED_STRRSTR       -DUSE_WMS_LYR -DUSE_WFS_LYR  -DUSE_LIBXML2 -DUSE_CURL -DUSE_WCS_SVR -DUSE_WFS_SVR -DUSE_WMS_SVR    -DUSE_POSTGIS  -DUSE_GDAL -DUSE_OGR -DUSE_GEOS   -DUSE_PROJ -DUSE_EPPL     -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DUSE_ICONV -DUSE_ZLIB     -I/usr/include   -I/usr//include     -I/usr/include -I/usr/include     -I/usr/include -I/etc/libiconv-1.13.1//include   -I/usr/include/libxml2  shp2img.o  -L. -lmapserver -lgd -L/usr/lib -lgd -ljpeg -lfreetype -lpng -lz -lXpm -lX11    -ljpeg -lfreetype -lpng -lz -lXpm -lX11  -L/usr//lib -lproj -ljpeg -lpng  -L/usr/lib -lgdal -lproj -L/usr/lib -lgeos -lgeos_c -lodbc -lodbcinst -ljasper -lgif -ljpeg -lgeotiff
 -ltiff -lpng -lpq -L/usr/lib -lpq -lz -lm -lrt -ldl -lsqlite3 -L/usr/lib -lcurl -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto  -L/usr/lib -lpq  -lcurl -lidn -lssl -lcrypto -lldap -lrt -lssl -lcrypto -ldl -lz  -L/usr/lib -lgeos_c  -L/etc/libiconv-1.13.1//lib -lc  -lz -lxml2 -lz -lm  -lm -lstdc++   -o shp2img
/usr/lib/gcc/i486-slackware-linux/4.3.3/../../../../i486-slackware-linux/bin/ld: warning: libgeos.so.2, needed by /usr/lib/libgdal.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i486-slackware-linux/4.3.3/../../../../i486-slackware-linux/bin/ld: warning: libcurl.so.3, needed by /usr/lib/libgdal.so, may conflict with libcurl.so.4
/usr/lib/gcc/i486-slackware-linux/4.3.3/../../../../i486-slackware-linux/bin/ld: warning: libcurl.so.3, needed by /usr/lib/libgdal.so, may conflict with
 libcurl.so.4
./libmapserver.a(mapstring.o): In function `msConvertWideStringToUTF8':
mapstring.c:(.text+0xd5f): undefined reference to `libiconv_open'
mapstring.c:(.text+0xda4): undefined reference to `libiconv'
mapstring.c:(.text+0xdbe): undefined reference to `libiconv_close'
mapstring.c:(.text+0xdf8): undefined reference to `libiconv_close'
./libmapserver.a(mapstring.o): In function `msGetEncodedString':
mapstring.c:(.text+0xec8): undefined reference to `libiconv_open'
mapstring.c:(.text+0xf4c): undefined reference to `libiconv'
mapstring.c:(.text+0xf66): undefined reference to `libiconv_close'
mapstring.c:(.text+0xfc5): undefined reference to `libiconv_close'
mapstring.c:(.text+0x1000): undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1

Disculpen el fastidio, pero la verdad cada vez que actualizan la version del SO aparecen nuevos fallos y no ubico el
 error ni encuentro documentación para superar la falla, alguna idea del error que tengo al compilar MapServer?, gracias y saludos...


Mauricio Márquez





--- El mié, 5/26/10, Antonio Santiago <asantiagop en gmail.com> escribió:

De: Antonio Santiago <asantiagop en gmail.com>
Asunto: Re: [Spanish] Error al compilar MapServer
A: "Cap& amp, #237, tulo Local de la comunidad hispano-hablante" <spanish en lists.osgeo.org>
Fecha: miércoles, 26 de mayo de 2010, 02:16 pm

Hola,
parece que no tienes en tu sistema las librerias de odbc (libodbc.so o por el
 estilo).
Instalalas o mira si la compilacion de MapServer hay alguna forma de indicar que no se compile con compatibilidad ODBC.


Hasta luego.

On Wed, May 26, 2010 at 6:55 PM, Mauricio Marquez <mauriciomarquezgoa en yahoo.com> wrote:

Buen día a todos, he generado la configuración del Mapserver 5.4.2 con la instrucción ./configure --with-proj=/usr/ --with-postgis=/usr/bin/pg_config --with-wms --with-wmsclient --with-gdal=/usr/bin/gdal-config pero cuando ejecuto el make me da el siguiente error:


g++ -O2 -fPIC -Wall   -DNEED_NONBLOCKING_STDERR   -DHAVE_VSNPRINTF -DNEED_STRLCAT -DNEED_STRRSTR   -DNEED_NONBLOCKING_STDERR     -DUSE_WMS_LYR    -DUSE_CURL   -DUSE_WMS_SVR    -DUSE_POSTGIS  -DUSE_GDAL    -DUSE_PROJ -DUSE_EPPL     -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DUSE_ICONV -DUSE_ZLIB     -I/usr/include  
 -I/usr//include     -I/usr/include -I/usr/include           shp2img.o  -L. -lmapserver -lgd -L/usr/lib -lgd -ljpeg -lfreetype -lpng -lz -lXpm -lX11    -ljpeg -lfreetype -lpng -lz -lXpm -lX11  -L/usr//lib -lproj -ljpeg -lpng  -L/usr/lib -lgdal -lproj -L/usr/lib -lgeos -lgeos_c -lodbc -lodbcinst -ljasper -lgif -ljpeg -lgeotiff -ltiff -lpng -lpq -L/usr/lib -lpq -lz -lm -lrt -ldl -lsqlite3 -L/usr/lib -lcurl -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto  -L/usr/lib -lpq  -lcurl -lidn -lssl -lcrypto -lldap -lrt -lssl -lcrypto -ldl -lz    -lc  -lz   -lm -lstdc++   -o shp2img

/usr/lib/gcc/i486-slackware-linux/4.3.3/../../../../i486-slackware-linux/bin/ld: cannot find -lodbc
collect2: ld returned 1 exit status
make: ***
 [shp2img] Error 1

Alguna idea? gracias y saludos...


Mauricio Márquez








       
_______________________________________________

Spanish mailing list

Spanish en lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/spanish





-- 
|-----------------------------------------------------------
| http://www.astracanada.net
| http://acuriousanimal.orggeo.net

|-----------------------------------------------------------
| http://acuriousanimal.blogspot.com
| http://theballoonproject.blogspot.com

|-----------------------------------------------------------
|  _      __            
| /_|    (  _  _/'_ _   
|(  |.  __)(//)//(/(/() 
|                   _/    
|-----------------------------------------------------------



-----Adjunto en línea a continuación-----

_______________________________________________
Spanish mailing list
Spanish en lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/spanish






       





       


      
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://lists.osgeo.org/pipermail/spanish/attachments/20100527/5beae791/attachment.html


More information about the Spanish mailing list