pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47895: py27-matplotlib binary package can't find libfreetype.so.7



>Number:         47895
>Category:       pkg
>Synopsis:       py27-matplotlib binary package can't find libfreetype.so.7
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 05 14:05:00 +0000 2013
>Originator:     Andreas Gustafsson
>Release:        NetBSD 6.1
>Organization:
>Environment:
System: NetBSD 6.1
Architecture: i386
Machine: i386
>Description:

The py27-matplotlib binary package doesn't work; it fails to find
libfreetype.so.7.

My attempted work-around of "pkg_add freetype2" didn't work, either,
because it installed libfreetype.so.6, not libfreetype.so.7.

>How-To-Repeat:

To verify that the problem is not specific to my own pkgsrc setup, I
reproduced it in a fresh 6.1 install as follows:

# pkg_add py27-anita
# anita interact http://ftp.netbsd.org/pub/NetBSD/NetBSD-6.1/i386/
login: root
# export PKG_PATH=ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname 
-m)/6.0/All
# dhclient
# pkg_add py27-matplotlib
# python2.7 -m matplotlib.backends.backend_agg
Traceback (most recent call last):
  File "/usr/pkg/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/pkg/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File 
"/usr/pkg/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 
28, in <module>
    from matplotlib.backend_bases import RendererBase,\
  File "/usr/pkg/lib/python2.7/site-packages/matplotlib/backend_bases.py", line 
37, in <module>
    import matplotlib.widgets as widgets
  File "/usr/pkg/lib/python2.7/site-packages/matplotlib/widgets.py", line 17, 
in <module>
    from lines import Line2D
  File "/usr/pkg/lib/python2.7/site-packages/matplotlib/lines.py", line 25, in 
<module>
    from matplotlib.font_manager import FontProperties
  File "/usr/pkg/lib/python2.7/site-packages/matplotlib/font_manager.py", line 
53, in <module>
    from matplotlib import ft2font
ImportError: Shared object "libfreetype.so.7" not found

>Fix:



Home | Main Index | Thread Index | Old Index