[Mapserver-users] perl mapscript error

Lowell Filak lfilak at medinaco.org
Wed Jul 2 14:07:46 EDT 2003


Should it be looking for libcrypto.so.1 in /lib when the ldd shows
libcrypto.so.1 being in /usr/lib?
Lowell

The following message was sent by "Aaron D. Hunt" <hunt at zedxinc.com> on
Wed, 2 Jul 2003 10:17:35 -0400.

> I think the gdal might be fixed, now I am getting
> 
> Can't load
'/home/mapserver/i386-linux/auto/mapscript40/mapscript40.so' for
> module mapscript40: /lib/libcrypto.sÀ: shared object not open at
> /usr/lib/perl5/5.6.0/i386-linux/DynaLoader.pm line 200.
>  at /home/mapserver/i386-linux/mapscript40.pm line 7
> Compilation failed in require at
> /usr/lib/perl5/site_perl/5.6.0/afdev/AgFleetGIS40.pm line 12.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.6.0/afdev/AgFleetGIS40.pm line 12.
> Compilation failed in require at
> /usr/home/httpd/cgi-bin//fs/products/lab_analysis_prod.cgi line 6.
> BEGIN failed--compilation aborted at
> /usr/home/httpd/cgi-bin//fs/products/lab_analysis_prod.cgi line 6.
> [Wed Jul  2 10:11:26 2003] [error] [client 12.151.18.194] Premature end of
> script headers: /usr/home/httpd/cgi-bin//fs/products/lab_analysis_prod.cgi
> 
> 
> ----- Original Message ----- 
> From: "Lowell Filak" <lfilak at medinaco.org>
> To: "Aaron D. Hunt" <hunt at zedxinc.com>; "Lowell Filak"
<lfilak at medinaco.org>
> Cc: <mapserver-users at lists.gis.umn.edu>
> Sent: Wednesday, July 02, 2003 8:41 AM
> Subject: Re: [Mapserver-users] perl mapscript error
> 
> 
> > I think this is moving in the right direction.
> > In http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PerlMapScriptBuild35
> > there is a section referring to a private build that indicates that a
> > few changes need made to the Makefile.PL & you will also need to do a
> > "use lib" call before "use mapscript".
> > (Credits to mapsurfer).
> > HTH
> > Lowell
> >
> > The following message was sent by "Aaron D. Hunt" <hunt at zedxinc.com> on
> > Tue, 1 Jul 2003 17:11:56 -0400.
> >
> > > Is there something I am missind in this confg. to use local lib
> installs?
> > >
> > > ./configure --without-tiff --with-proj=/usr/home/mapserver/proj-4.4.7/
> > --wit
> > > h-gdal=/usr/home/mapserver/gdal-cvs-030626/bin/gdal-config
> > --with-ogr=/usr/h
> > > ome/mapserver/gdal-cvs-030626 --with-jpeg --with-wmsclient
> > --with-freetype=/
> > >
> usr/home/mapserver/freetype-2.1.4 --with-gd=/usr/home/mapserver/gd-2.0.15
> > >
> > > I am directing mapserver to use local install versions of libs, but it
> > seems
> > > to be picking its own to use. Is there a option to force the use of
> local
> > > libs
> > >
> > >  When I do the ldd mapserv I get
> > >
> > >         libgd.so.2 => not found
> > >         libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40029000)
> > >         libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40048000)
> > >         libpng.so.2 => /usr/lib/libpng.so.2 (0x40087000)
> > >         libz.so.1 => /usr/lib/libz.so.1 (0x400aa000)
> > >         libproj.so.0 => /usr/local/lib/libproj.so.0 (0x400b8000)
> > >         libgdal.1.1.so => /usr/local/lib/libgdal.1.1.so (0x400e9000)
> > >         libcurl.so.2 => /usr/local/lib/libcurl.so.2 (0x40276000)
> > >         libssl.so.1 => /usr/lib/libssl.so.1 (0x4029b000)
> > >         libcrypto.so.1 => /usr/lib/libcrypto.so.1 (0x402c8000)
> > >         libdl.so.2 => /lib/libdl.so.2 (0x40385000)
> > >         libm.so.6 => /lib/libm.so.6 (0x4038a000)
> > >         libc.so.6 => /lib/libc.so.6 (0x403ac000)
> > >         libungif.so.4 => /usr/lib/libungif.so.4 (0x404e2000)
> > >         libtiff.so.3 => /usr/lib/libtiff.so.3 (0x404ea000)
> > >         libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3
> > > (0x4052d000)
> > >         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> > >         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40570000)
> > >
> > >
> > > ----- Original Message ----- 
> > > From: "Lowell Filak" <lfilak at medinaco.org>
> > > To: "Aaron D. Hunt" <hunt at zedxinc.com>; "Lowell Filak"
> > <lfilak at medinaco.org>
> > > Sent: Tuesday, July 01, 2003 4:08 PM
> > > Subject: Re: [Mapserver-users] perl mapscript error
> > >
> > >
> > > > Check out
> > > > http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PerlMapScriptDebugging
> > > > and in particular the sections provided by Frank W. & Daniel M.
> > > > I think the important option to start with here is "ldd mapserv" to
> see
> > > > what the compilation is trying to use.
> > > > Lowell
> > > >
> > > > The following message was sent by "Aaron D. Hunt" <hunt at zedxinc.com>
> on
> > > > Tue, 1 Jul 2003 15:13:56 -0400.
> > > >
> > > > > I am using a local install of all the libraries. Is there a way to
> > tell
> > > > > which one it is trying to use.
> > > > > ----- Original Message ----- 
> > > > > From: "Lowell Filak" <lfilak at medinaco.org>
> > > > > To: <mapserver-users at lists.gis.umn.edu>; <hunt at zedxinc.com>
> > > > > Sent: Tuesday, July 01, 2003 3:09 PM
> > > > > Subject: Re: [Mapserver-users] perl mapscript error
> > > > >
> > > > >
> > > > > > Possibly an issue of library confusion?
> > > > > > Lowell
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0206/msg00385.html
> > >
> > > _______________________________________________
> > > Mapserver-users mailing list
> > > Mapserver-users at lists.gis.umn.edu
> > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list