Bug 184627 - graphics/mapserver: libmapserver.so.1 => not found (0)
Summary: graphics/mapserver: libmapserver.so.1 => not found (0)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-09 10:50 UTC by Julien Cigar
Modified: 2013-12-09 15:01 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Cigar 2013-12-09 10:50:00 UTC
All binaries are missing shared object: libmapserver.so.1
This is with:
mage@mordor:/home/mage % pkg info mapserver-6.4.0
mapserver-6.4.0
Name           : mapserver
Version        : 6.4.0
Origin         : graphics/mapserver
Architecture   : freebsd:9:x86:64
Prefix         : /usr/local
Categories     : www graphics geography
Maintainer     : wen@FreeBSD.org
WWW            : http://mapserver.org/
Comment        : System for developing web-based GIS applications
Options        :
        CAIRO          : on
        CAIRO_SVG      : off
        CURL           : on
        DEBUG          : off
        FASTCGI        : on
        FRIBIDI        : on
        GDAL           : on
        GEOS           : on
        KML            : on
        MAPSERV        : on
        PERL           : off
        PHP            : off
        POSTGIS        : on
        PYTHON         : off
        WCS            : on
        WFS            : on
        WMS            : on
Shared Libs required:
        libxml2.so.5
        libproj.so.7
        libpq.so.5
        libpng15.so.15
        libmapserver.so.1
        libjpeg.so.11
        libiconv.so.3
        libgif.so.5
        libgeos_c.so.9
        libgdal.so.18
        libgd.so.5
        libfribidi.so.3
        libfreetype.so.9
        libfcgi.so.0
        libcurl.so.7
        libcairo.so.2
Shared Libs provided:
        libmapserver.so.6.4.0
Flat size      : 1.86MiB
Description    :
MapServer is a system for developing web-based GIS applications. 
The basic system consists of a CGI program that can be configured to 
respond to a variety of spatial requests like making maps, scalebars, 
and point, area and feature queries. Virtually all aspects of an 
application, from web interface to map appearance can be developed 
without any programming. For the more ambitious user, MapServer 
applications can be enhanced using Java, JavaScript or many other web 
technologies.

WWW: http://mapserver.org/

mage@mordor:/home/mage % ldd /usr/local/www/apache22/cgi-bin/mapserv|grep -i 'not found'
        libmapserver.so.1 => not found (0)
mage@mordor:/home/mage % ldd /usr/local/bin/shp2img|grep -i 'not found'
        libmapserver.so.1 => not found (0)

etc

How-To-Repeat: install graphics/mapserver
Comment 1 Edwin Groothuis freebsd_committer 2013-12-09 10:50:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wen

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2013-12-09 14:59:47 UTC
Author: wen
Date: Mon Dec  9 14:59:39 2013
New Revision: 335995
URL: http://svnweb.freebsd.org/changeset/ports/335995

Log:
  - Fix the run error of missing shared object
  
  PR:		184627
  Submitted by:	Julien Cigar <jcigar@ulb.ac.be>

Modified:
  head/graphics/mapserver/Makefile
  head/graphics/mapserver/pkg-plist

Modified: head/graphics/mapserver/Makefile
==============================================================================
--- head/graphics/mapserver/Makefile	Mon Dec  9 14:59:00 2013	(r335994)
+++ head/graphics/mapserver/Makefile	Mon Dec  9 14:59:39 2013	(r335995)
@@ -3,6 +3,7 @@
 
 PORTNAME=		mapserver
 PORTVERSION=		6.4.0
+PORTREVISION=		1
 CATEGORIES=		graphics www geography
 MASTER_SITES=		http://download.osgeo.org/mapserver/
 
@@ -171,8 +172,6 @@ CMAKE_ARGS+=		-DCMAKE_BUILD_TYPE=Release
 PROG_FILES=		legend scalebar shp2img shptree shptreetst shptreevis \
 			sortshp msencrypt tile4ms
 
-post-build:
-
 do-install:
 .for f in ${PROG_FILES}
 	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin
@@ -191,6 +190,9 @@ do-install:
 .endif
 
 post-install:
+	@${LN} -s ${PREFIX}/lib/libmapserver.so.6.4.0 ${PREFIX}/lib/libmapserver.so.1
+	@${LN} -s ${PREFIX}/lib/libmapserver.so.1 ${PREFIX}/lib/libmapserver.so
+
 .if ${PORT_OPTIONS:MPHP}
 	@${ECHO_MSG} "Please add the line extension=php_mapscript.so to ${LOCALBASE}/etc/php/extensions.ini"
 .endif

Modified: head/graphics/mapserver/pkg-plist
==============================================================================
--- head/graphics/mapserver/pkg-plist	Mon Dec  9 14:59:00 2013	(r335994)
+++ head/graphics/mapserver/pkg-plist	Mon Dec  9 14:59:39 2013	(r335995)
@@ -7,6 +7,8 @@ bin/shptreetst
 bin/shptreevis
 bin/sortshp
 bin/tile4ms
+lib/libmapserver.so
+lib/libmapserver.so.1
 lib/libmapserver.so.6.4.0
 %%MAPSERV%%www/apache%%APA_VER%%/cgi-bin/mapserv
 %%PHP%%%%PHP_EXTENSION_DIR%%/php_mapscript.so
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Wen Heping freebsd_committer 2013-12-09 15:01:43 UTC
State Changed
From-To: open->closed

Fixed. Thanks !