#16892: fuse-bindings-python25 0.2 import fails: _iconv not found --------------------------------+------------------------------------------- Reporter: kentk@mac.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: fuse macfuse iconv | Port: fuse-bindings-python25 --------------------------------+------------------------------------------- After a clean install of macfuse 1.7 and fuse-bindings-python25 0.2, I get this: {{{ Python 2.5.2 (r252:60911, Jul 8 2008, 16:31:55) [GCC 4.0.1 (Apple Inc. build 5484)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import fuse Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/lib/python2.5/site-packages/fuse.py", line 26, in <module> from fuseparts._fuse import main, FuseGetContext, FuseInvalidate ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5 /site-packages/fuseparts/_fusemodule.so, 2): Symbol not found: _iconv Referenced from: /opt/local/lib/libfuse.2.dylib Expected in: flat namespace }}}
Linked libraries: {{{ kkarlsson:~ kkarlsson$ otool -L /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5 /site-packages/fuseparts/_fusemodule.so /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5 /site-packages/fuseparts/_fusemodule.so: /opt/local/lib/libfuse.2.dylib (compatibility version 10.0.0, current version 10.7.3) /opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.1) }}} Symbols in libiconv: {{{ kkarlsson:~ kkarlsson$ nm /opt/local/lib/libiconv.2.dylib | grep iconv /opt/local/lib/libiconv.2.dylib(single module): 000f8020 D __libiconv_version 000187c0 T _iconv_canonicalize 00016590 T _libiconv 000165f0 T _libiconv_close 00017fa0 T _libiconv_open 00019040 t _libiconv_relocate 00018f50 T _libiconv_set_relocation_prefix 00016610 T _libiconvctl 00016850 T _libiconvlist }}} The symbol is not something found in libiconv, and I'm not sure where the reference even comes from, because fusemodule.c doesn't ever call anything iconv* -- Ticket URL: <http://trac.macports.org/ticket/16892> MacPorts <http://www.macports.org/> Ports system for Mac OS