[mapserver-users] mapserver 6.2.0 perl mapscript

Andy Colson andy at squeakycode.net
Wed Feb 13 12:24:15 PST 2013


Ah.  I figured it out.

I have to make and make install from top level first, so that 
libmapserver.so is found, BEFORE I go into mapscript/perl and make/make 
install.

That'll make building a package a little more difficult.  Maybe if I 
play with the path's I wont have to actually install it first.

Thanks for the help, though.  It works now.

-Andy


On 2/13/2013 2:03 PM, Andy Colson wrote:
> I was not doing a toplevel make install, so it didnt copy
> libmapserver-6.2.0.so.
>
> But, even after fixing my script, and installing:
>
> usr/local/lib64/perl5/auto/mapscript/mapscript.so
> usr/lib/libmapserver.la
> usr/lib/libmapserver-6.2.0.so
>
> I get the same error.  Also:
>
> ldd /usr/local/lib64/perl5/auto/mapscript/mapscript.so
>
> doesn't show it using libmapserver.
>
> -Andy
>
> On 2/13/2013 1:30 PM, Umberto Nicoletti wrote:
>> As of 6.2 mapscript is built as a shared lib and depends on mapserver
>> which therefore must have been installed before.
>>
>> Umberto
>>
>> On Feb 13, 2013 8:27 PM, "Andy Colson" <andy at squeakycode.net
>> <mailto:andy at squeakycode.net>> wrote:
>>
>>     On 2/13/2013 1:19 PM, Umberto Nicoletti wrote:
>>
>>         Did you run make install in the MapServer top level directory?
>>
>>         Umberto
>>
>>         On Feb 13, 2013 7:52 PM, "Andy Colson" <andy at squeakycode.net
>>         <mailto:andy at squeakycode.net>
>>         <mailto:andy at squeakycode.net <mailto:andy at squeakycode.net>>>
>> wrote:
>>
>>              Hi all,
>>
>>              I'm having problems updating to 6.2.0.  I can get perl
>>         mapscript to
>>              compile and install ok, but when I try to run anything:
>>
>>              # perl dump.pl <http://dump.pl> <http://dump.pl>
>>              perl: symbol lookup error:
>>              /usr/local/lib64/perl5/auto/____mapscript/mapscript.so:
>>         undefined
>>              symbol: msSetup
>>
>>              Any hints what might be wrong?
>>
>>              Thanks for your time,
>>
>>              -Andy
>>
>>
>>     I believe so.  I'm actually making a slackware package (which I've
>>     done for 6.0.3 as well), and then I install the package.
>>
>>     ls -l /usr/local/lib64/perl5/auto/__mapscript/mapscript.so
>>     does show it as todays date, so I'm pretty sure its new.
>>
>>     I will go try to build it by hand and verify its not the packaging
>>     script that's a problem.
>>
>>     -Andy
>>
>>
>>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list