[mapserver-users] gdal with jpeg2000

Drew Simpson atsimpson at directvinternet.com
Sat Nov 16 19:46:46 EST 2002


Has anyone had any success with the csv version of gdal and mapscript?

I downloaded, compiled and installed jasper.
I downloaded, compiled and installed the latest gdal from the csv.

Jasper and gdal command line utilities seem to work fine.
Am able to convert tif's to jp2, etc.

I downloaded and compiled mapserver.
mapserv works fine:

I successfully compiled and installed mapscript, but if I try and use it I
get

Can't load
'/home/asimpson/lib/site_perl/5.6.1/i386-linux/auto/mapscript/mapscript.so'
for module mapscript:
/home/asimpson/lib/site_perl/5.6.1/i386-linux/auto/mapscript/mapscript.so:
undefined symbol: IsLocal__19OGRSpatialReference at
/usr/lib/perl5/5.6.1/i386-linux/DynaLoader.pm line 206.
 at /home/asimpson/lib/site_perl/5.6.1/i386-linux/mapscript.pm line 7
Compilation failed in require at ./jp2_test.pl line 10.
BEGIN failed--compilation aborted at ./jp2_test.pl line 10.

To further complicate the issue, all software is installed under my account,
but I think I have my environment pointing to all the local installs.

Probably showing my ignorance with this post, but have run out of ideas.

Any help would be great,

Thanks Drew.


===================== UNAME OUTPUT ========================
$ uname -a
Linux mymachine 2.4.18-10 #1 Wed Aug 7 11:39:21 EDT 2002 i686 unknown

===========================================================


===================== PERL SCRIPT =========================

#!/usr/bin/perl

use lib '/home/asimpson/lib/site_perl/5.6.1/i386-linux';   # mapscript
location

use mapscript;

============================================================



===================== MAPSERV OUTPUT ======================

 ./mapserv -v
MapServer version 3.6.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ
SUPPORTS=TTF SUPPORTS=WMS_SERVER INPUT=EPPL7 INPUT=JPEG INPUT=GDAL
INPUT=SHAPEFILE

===========================================================


===================== LDD OUTPUT ==========================

 ldd
/home/asimpson/lib/site_perl/5.6.1/i386-linux/auto/mapscript/mapscript.so
        libgdal.1.1.so => /home/asimpson/lib/libgdal.1.1.so (0x400df000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40259000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40277000)
        libpng.so.2 => /usr/lib/libpng.so.2 (0x402b6000)
        libz.so.1 => /usr/lib/libz.so.1 (0x402d8000)
        libproj.so.0 => /usr/local/lib/libproj.so.0 (0x402e6000)
        libm.so.6 => /lib/i686/libm.so.6 (0x40334000)
        libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
        libungif.so.4 => /usr/lib/libungif.so.4 (0x40356000)
        libdl.so.2 => /lib/libdl.so.2 (0x4035e000)
        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3
(0x40361000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x403a4000)

============================================================





More information about the mapserver-users mailing list