[Mapserver-users] perl mapscript on UNIX

Lawrence, Kevin klawrenc at NRCan.gc.ca
Wed Sep 24 16:11:52 EDT 2003


Yup that helps partly.  I can now see where the problem is.  For some
reason, even though I have removed the mapscript-4.0 directory and untarred
the source afresh, the /usr/openwin/lib/libtiff.so.3 keeps getting linked
into the mix.  Mapscript.so is of course using it.  This then yields the
error 
		symbol TIFFIsByteSwapped: referenced symbol not found at
/usr/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169

used 
tiff.3.5.7 installed and in the LD_path
./configure  --with-tiff=/usr/local
make 
then the perl stuff 
perl Makefile.PL
make
-even here there is an issue when I do an ldd of
./blib/arch/auto/mapscript/mapscript.so

I am not sure why it keeps using the wrong library

Kevin L

> ----------
> From: 	Lowell Filak[SMTP:lfilak at medinaco.org]
> Sent: 	Monday, September 22, 2003 1:56 PM
> To: 	Lawrence, Kevin; Lawrence, Kevin; 'Matthew Smith'
> Cc: 	'mapserver-users at lists.gis.umn.edu'
> Subject: 	RE: [Mapserver-users] perl mapscript on UNIX
> 
> It appears that mapscript is found but unable to load because of a
> problem finding one of the linked libs.
> Try "ldd mapscript.so" and see if a library comes up as "not found" then
> add the path to that library to LD_LIBRARY_PATH .
> HTH
> Lowell
> 
> The following message was sent by "Lawrence, Kevin"
> <klawrenc at NRCan.gc.ca> on Mon, 22 Sep 2003 10:42:50 -0400.
> 
> > I have done steps 1-3  ldconfig does not seem to be an option in
> Solaris.
> > What bersion of Perl are you using?  5.005 may be a little old?
> > 
> > KL
> > 
> > > ----------
> > > From: 	Matthew Smith[SMTP:matt at kbc.net.au]
> > > Sent: 	Saturday, September 20, 2003 7:19 PM
> > > To: 	Lawrence, Kevin
> > > Cc: 	'mapserver-users at lists.gis.umn.edu'
> > > Subject: 	Re: [Mapserver-users] perl mapscript on UNIX
> > > 
> > > Lawrence, Kevin wrote:
> > > 
> > > >>Can't load
> > >
> >>'/usr/perl5/site_perl/5.005/sun4-solaris/auto/mapscript/mapscript.so'
> > > for
> > > >>module mapscript: ld.so.1: /usr/bin/perl: fatal: relocation error:
> file
> > > >>/usr/perl5/site_perl/5.005/sun4-solaris/auto/mapscript/mapscript.so:
> > > >>symbol
> > > >>msDBFGetItems: referenced symbol not found at
> > > >>/usr/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.
> > > >> at /usr/perl5/site_perl/5.005/sun4-solaris/mapscript.pm line 7
> > > 
> > > Looks like your Perl module is missing!
> > > 
> > > Maybe you haven't installed the Mapserver Perl module - this is not 
> > > automatic in the Mapserver build process.  Instructions for Mapserver 
> > > 3.6.6 on Perl - your mileage may vary.
> > > 
> > > 1) cd [mapserver distribution directory]/mapscript/perl
> > > 2) perl Makefile.PL
> > > 3) make
> > > 4) make install
> > > 5) [just to be safe]  ldconfig
> > > 
> > > Hope this helps.
> > > 
> > > Cheers
> > > 
> > > M
> > > 
> > > -- 
> > > Matthew Smith
> > > Kadina Business Consultancy
> > > South Australia
> > > http://www.kbc.net.au
> > > 
> > _______________________________________________
> > 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