Opened 9 years ago

Last modified 9 years ago

#47926 closed defect

py34-stfio import error — at Version 2

Reported by: rrifkin600@… Owned by: christsc@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: py34-stfio

Description (last modified by ryandesign (Ryan Carsten Schmidt))

In python 3.4, importing the library stfio causes the following error:

$ python
Python 3.4.3 (default, May 25 2015, 18:48:21) 
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import stfio
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/stfio/__init__.py", line 6, in <module>
    from .stfio import *
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/stfio/stfio.py", line 33, in <module>
    _stfio = swig_import_helper()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/stfio/stfio.py", line 29, in swig_import_helper
    _mod = imp.load_module('_stfio', fp, pathname, description)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/stfio/_stfio.so, 2): Symbol not found: __ZNKSt3__19basic_iosIcNS_11char_traitsIcEEE5widenEc
  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/stfio/libstfio.dylib
  Expected in: flat namespace
 in /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/stfio/libstfio.dylib

I need to use this library so I would appreciate your help very much.

Thank you very much, Robert

Change History (2)

comment:1 Changed 9 years ago by rrifkin600@…

Cc: rrifkin600@… added

Cc Me!

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: rrifkin600@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to christsc@…
Note: See TracTickets for help on using tickets.