[Python-Dev] MacOSX dlopen equivalent?

Jack Jansen Jack.Jansen@cwi.nl
Wed, 8 May 2002 11:06:25 +0200

On Wednesday, May 8, 2002, at 09:13 , Ralf W. Grosse-Kunstleve wrote:

> I am interested in investigating the feasibility of porting the
> Boost.Python library to Mac OSX.
> Looking at the Python source to figure out what is used in place of
> dlopen was not immediately inspiring. Then I found dlcompat.

I haven't used dlcompat but people have reported success using it with 
Python. But I don't known whether mixing dlcompat and dyld is a good 
idea, so you may have to build a special Python that uses dynload_dl 
with dlcompat in stead of dynload_next.

Another but: if I look at the readme for your test code I get the 
impression that the gcc that OSX has (2.92.2) may be a problem. gcc 3 is 
going to be supported in the next major release (late summer, according 
to apple).
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma 
Goldman -