[mapserver-users] Can't load .... mapscript.so for module map script
Puneet Kishor
pkishor at GeoAnalytics.com
Tue Oct 29 11:30:41 PST 2002
Gentlemen,
Thanks for your advice. Not running ldconfig was the problem (all these
multiple operating systems are driving me crazy... I am new at Linux).
For the benefit of others who may scan this in search for answers.
If installing on Linux (maybe true for other OSs as well, but not for MacOS
X) --
first edit /etc/ld.so.conf and add /usr/local/lib, then run
/sbin/ldconfig
after make install-ing every library.
Further info on ldconfig is available at
http://www.oreillynet.com/linux/cmd/l/ldconfig.html
(thanks Norman).
In short, ldconfig is a System administration command. It examines the
libraries in the given directories, /etc/ld.so.conf, /usr/lib, and /lib;
updates links and caches where necessary. Usually is run in startup files or
after the installation of new shared libraries.
..
> Did you already make sure that the path to libproj.so.0 is
> known by apache, ie. /sbin/ldconfig -v?
> Lowell F.
>
> The following message was sent by Puneet Kishor
> <pkishor at GeoAnalytics.com> on Mon, 28 Oct 2002 18:12:20 -0600.
>
> > I upgraded a whole bunch of stuff on my aging RH 7.2 server. So, I
> > re-installed mapserver 3.6.3. Followed the directions on the wiki.
> > Everything (seemed to have) went fine. Except, everything
> is now fubar.
> >
> > First, the symptoms... mapserver doesn't work at all. With
> perl mapscript
> > application I get the following --
> >
> > Can't load
> >
> '/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/mapscript/maps
> cript.so' for
> > module mapscript:
> >
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/mapscript/mapscript.so:
> > undefined symbol: TIFFIsByteSwapped at
> > /usr/lib/perl5/5.6.1/i386-linux/DynaLoader.pm line 206.
> > at /usr/lib/perl5/site_perl/5.6.1/i386-linux/mapscript.pm line 7
> >
> >
> > Just doing a `mapserv -v` gives a
> >
> > ./mapserv: error while loading shared libraries:
> libproj.so.0: cannot open
> > share
> > d object file: No such file or directory
> >
> > My guess is that the older libraries are messing around
> with the ones from
> > the more recent install.
> >
> > Is it worthwhile tracking everything down that I installed
> with mapserver,
> > deleting it, and then reinstalling? (will take a long time,
> so I want to
> > make sure).
> >
> > I am using Apache 2.0.39. Are there any special tricks required?
> >
> > I am using PHP 4.1.2 which seems to be the recommended
> version. Should I
> > bump it up further?
> >
> > Many tia.
> >
> > Puneet.
>
More information about the MapServer-users
mailing list