Opened 12 years ago

Closed 12 years ago

#32678 closed defect (fixed)

py27-pylibmc @1.2.2_0 Symbol not found: _strndup

Reported by: dboris (Boris D.) Owned by: voldmar@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: jweede@…, nerdling (Jeremy Lavergne)
Port: py27-pylibmc, py26-pylibmc

Description

OSX 10.6.8, Xcode 4.0.2 Package builds without error but fails at runtime:

Python 2.7.2 (default, Nov 21 2011, 15:04:09) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pylibmc
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pylibmc/__init__.py", line 70, in <module>
    import _pylibmc
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/_pylibmc.so, 2): Symbol not found: _strndup
  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/_pylibmc.so
  Expected in: flat namespace
 in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/_pylibmc.so

Change History (3)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to voldmar@…
Port: py27-pylibmc py26-pylibmcpy27-pylibmc, py26-pylibmc

comment:2 Changed 12 years ago by nerdling (Jeremy Lavergne)

Cc: jweede@… snc@… added

comment:3 Changed 12 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: newclosed

Define our own strndup on Snow Leopard, r90500.

Note: See TracTickets for help on using tickets.