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

Jorge Gaspar Sanz Salinas jsanz at osgeo.org
Thu May 27 14:39:30 EDT 2010


2010/5/27 Mauricio Marquez <mauriciomarquezgoa en yahoo.com>
>
> Bueno como siempre hago todo paso a paso lo voy documentando les voy a poner los pasos que he hecho a ver que me estoy pelando, porque he revisado las librerias y todas estan apuntadas a donde corresponden...
>
> 1._ Instalación PostgreSQL + PostGIS
>
> a) installpkg /directorio/postgres/*.tgz
> b) installpkg /directorio/postgis/*.tgz
>
> 2._ Poner a funcionar Postgres
>
> #mkdir /home/db
> #mkdir /home/db/pgsql
> #chown pgsql /home/db/pgsql
> #su pgsql
> /$initdb -D /home/db/pgsql
> /$postgres -D /home/db/pgsql/
>
> Alli debe quedar corriendo el postgres
>
> 3._ Creacion template_postgis y creación de tablas espaciales
>
> /$su pgsql
> /$createdb template_postgis
> /$createlang plpgsql template_postgis
> /$psql -d template_postgis -f /usr/share/postgis/lwpostgis.sql
> /$psql -d template_postgis -f /usr/share/postgis/spatial_ref_sys.sql
>
> Aqui queda creado el template_postgis
>
> 4._ Instalacion de librerias gdal
>
> #installpkg /directorio/gdal-1.4.2-i486-1sl.tgz
>
> 5._ Instalacion de librerias geos
>
> #installpkg /directorio/geos-3.1.0-i486-1sl.tgz
>
> 6._ Instalacion de libiconv
>
> a) descomprimir libiconv-1.13.1.tar.gz en /etc/
> b) cd /etc/libiconv-1.13.1/
> c) ./configure --without-iconv
> d) make
> e) make install
>
> 7._ Instalacion de unixODBC
>
> a) descomprimir unixODBC-2.3.0.tar.gz en /usr/
> b) cd /etc/unixODBC-2.3.0/
> c) ./configure
> d) make
> e) make install
>
> 8._ Instalacion de librerias libgeotiff-1.2.5-i486-3sl.txz
>
> #installpkg /directorio/libgeotiff-1.2.5-i486-3sl.txz
>
>
> 9._ Instalacion MapServer
>
> a) descomprimir MapServer en /usr/
> b) cd /usr/mapserver-5.4.2/
> c) ./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-png --with-freetype --with-zlib --with-jpeg --with-libiconv=/etc/libiconv-1.13.1/
> d) make
> e) copiar archivo mapserv en carpeta /var/www/cgi-bin/
>
>
> Demás esta decirles que todo sale sin fallos hasta que llega el punto de mapserver... Alguna otra sugerencia?
>
> Mauricio Márquez
>


has probado a ejecutar el comando "ldd" sobre tu binario de mapserver?
parece que no encuentra la ubicación de libgeos ¿no?

si es así tal vez te sirva actualizar la variable de entorno
LD_LIBRARY_PATH a ver si así mapserver enlaza con todo. no sé, por
probar...

--
Jorge Gaspar Sanz Salinas
Ingeniero en Geodesia y Cartografía
http://jorgesanz.net


More information about the Spanish mailing list