Subject: os/x shared libraries?
To: None <tech-pkg@NetBSD.org>
From: MLH <mlh@goathill.org>
List: tech-pkg
Date: 05/26/2004 13:53:27
What's the status on pkgsrc and shared libraries for OS/x?

Example - Python:

(build python23-pth)
...
changing mode of /usr/pkg/bin/pydoc2p3 to 755
===> [Automatic dylib shared object handling]
===> Registering installation for python23-pth-2.3.3nb4
...
$  python
Python 2p3.3 (#1, May 26 2004, 13:26:35) 
[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/pkg/lib/python2p3/socket.py", line 44, in ?
    import _socket
ImportError: Failure linking new module: : dyld: python Undefined symbols:
/usr/pkg/lib/python2p3/lib-dynload/_socket.so undefined reference to _PyArg_Parse expected to be defined in the executable
/usr/pkg/lib/python2p3/lib-dynload/_socket.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable
/usr/pkg/lib/python2p3/lib-dynload/_socket.so undefined reference to _PyArg_ParseTupleAndKeywords expected to be defined in the executable
/usr/pkg/lib/python2p3/lib-dynload/_socket.so undefined ref