[Bug 207623] /graphics/mapserver error with python mapscript

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 1 19:56:56 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207623

            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 at FreeBSD.org
          Reporter: jjachuf at 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 = 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 = 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

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


More information about the freebsd-ports-bugs mailing list