[mapserver-users] Is this a CGI problem?

Stephen Woodbridge woodbri at swoodbridge.com
Fri Jun 12 09:51:04 PDT 2015


No really, if you are installing mapserver from a package that package 
defines the related package dependencies. So if you uninstall package 
libgdal, the package manager removes everything dependent on that.

Anything else will get very dicey very quickly. I you are just testing 
then uninstall the related packages, and rebuild them for source and 
install them in someplace like /opt/tools/ that is clean. Then you can 
remove the dir tree and reinstall based on packages.

Also look around for a repository that has more recent packages, than 
the standard distributions.

-Steve W

On 6/12/2015 11:38 AM, Gery wrote:
> mmmm would it be a way to link mapserver directly to libgdal coming from
> source? If I uninstall gdal-related apt-get packages, mapserver et al
> get screwed, I just don't want to install all from source (ie. postgis,
> mapserver, proj, geos, etc, etc).
>
> ________________________________
>
>  > Date: Fri, 12 Jun 2015 07:18:31 -0700
>  > From: [hidden email] </user/SendEmail.jtp?type=node&node=5210671&i=0>
>  > To: [hidden email] </user/SendEmail.jtp?type=node&node=5210671&i=1>
>  > Subject: Re: Is this a CGI problem?
>  >
>  > YesNo :-/
>  >
>  > https://trac.osgeo.org/grass/ticket/1730
>  > Similar:
>  >
> http://stackoverflow.com/questions/137773/what-does-the-no-version-information-available-error-from-linux-dynamic-linker/156387#156387
>
>  >
>  > The problem is that you have a mixture of library version on your
>  > system, e.g. installed GDAL by packagemanager and later compiled
>  > yourself - on in /usr/lib and on in /usr/local/lib
>  >
>  > You can try to remove the other libraries via package manager. So you
>  > have only your compiled libraries later.
>  >
>  >
>  > Bye, Mathias
>  > ________________________________
>  > [hidden email]<https:///user/SendEmail.jtp?type=node&node=5210653&i=0>
>  > ________________________________
>  > 1+1=10
>  > You have a question? - 42 or RTFM.
>  > Am 12.06.2015 um 16:07 schrieb Gery:
>  >
>  > vielen Dankl! Thanks a lot for that, I just added your tips and I got
> a new
>  > error message, this time related to gdal:
>  >
>  > apache log:
>  > [Fri Jun 12 09:10:06.316827 2015] [cgi:error] [pid 6680] [client
>  > 127.0.0.1:41157] AH01215: GDAL: In GDALDestroy - unloading GDAL shared
>  > library.
>  >
>  > also the same appears with shp2img:
>  >
>  > shp2img -m todas_capas.map -o test.png
>  > shp2img: /usr/local/lib/libgdal.so.1: no version information available
>  > (required by /usr/lib/x86_64-linux-gnu/libmapserver.so.1)
>  > GDAL: In GDALDestroy - unloading GDAL shared library.
>  >
>  > test.png is empty. I have installed gdal-1.11.2 from source, mapserv -v
>  > gives:
>  >
>  > mapserv: /usr/local/lib/libgdal.so.1: no version information available
>  > (required by /usr/lib/x86_64-linux-gnu/libmapserver.so.1)
>  > MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML
>  > SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO
>  > SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI
>  > SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
>  > SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER
> SUPPORTS=FASTCGI
>  > SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR
> INPUT=GDAL
>  > INPUT=SHAPEFILE
>  >
>  > Is there a way to fix this without uninstalling and/or reinstalling
> gdal?
>  >
>  >
>  >
>  > --
>  > View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Is-this-a-CGI-problem-tp5210276p5210648.html
>
>  > Sent from the Mapserver - User mailing list archive at Nabble.com.
>  > _______________________________________________
>  > mapserver-users mailing list
>  > [hidden email]<https:///user/SendEmail.jtp?type=node&node=5210653&i=1>
>  > http://lists.osgeo.org/mailman/listinfo/mapserver-users
>  >
>  >
>  >
>  > _______________________________________________
>  > mapserver-users mailing list
>  > [hidden email]<https:///user/SendEmail.jtp?type=node&node=5210653&i=2>
>  > http://lists.osgeo.org/mailman/listinfo/mapserver-users
>  >
>  > ________________________________
>  > If you reply to this email, your message will be added to the
>  > discussion below:
>  >
> http://osgeo-org.1560.x6.nabble.com/Is-this-a-CGI-problem-tp5210276p5210653.html
>
>  > To unsubscribe from Is this a CGI problem?, click
>  > here<
>  >
> NAML<http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble:email.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble:email.naml-instant_emails%21nabble:email.naml-send_instant_email%21nabble:email.naml>
>
>
> ------------------------------------------------------------------------
> View this message in context: RE: Is this a CGI problem?
> <http://osgeo-org.1560.x6.nabble.com/Is-this-a-CGI-problem-tp5210276p5210671.html>
> Sent from the Mapserver - User mailing list archive
> <http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html> at
> Nabble.com.
>
>
> _______________________________________________
> 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