Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Mar 2016 19:56:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 207623] /graphics/mapserver error with python mapscript
Message-ID:  <bug-207623-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207623

            Bug ID: 207623
           Summary: /graphics/mapserver error with python mapscript
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: jjachuf@gmail.com

when compiled with support python-mapscript bad link library.


import mapscript
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-17c56d8326d5> in <module>()
----> 1 import mapscript

/usr/local/lib/python2.7/site-packages/mapscript.py in <module>()
     26                 fp.close()
     27             return _mod
---> 28     _mapscript =3D swig_import_helper()
     29     del swig_import_helper
     30 else:

/usr/local/lib/python2.7/site-packages/mapscript.py in swig_import_helper()
     22         if fp is not None:
     23             try:
---> 24                 _mod =3D imp.load_module('_mapscript', fp, pathname,
description)
     25             finally:
     26                 fp.close()

ImportError: Shared object "libmapserver.so.2" not found, required by
"_mapscript.so"

libmapserver.so.2 is a symbolic link pointing to a nonexistent file
[libmapserver.so.7.0.0]


I solved manually doing this:

# cd /usr/local/lib/
# rm libmapserver.so.2
# ln -s libmapserver.so.7.0.1 libmapserver.so.2

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207623-13>