[Distutils] Re: [Pythonmac-SIG] vecLib Framework on the Mac and distutils

Jack Jansen Jack.Jansen at cwi.nl
Wed Dec 17 15:30:59 EST 2003

On 17-dec-03, at 19:16, Bill Spotz wrote:

> I am hoping someone will be able to shed some light on this strange 
> problem I'm having.
> I am trying to develop a C++ extension to python that must link with 
> LAPACK.  I am doing my development on the Mac, so I want to link with 
> -framework veclib.
> OS: Mac OS X 10.2.8
> python: 2.3 (via fink)
> gcc: 3.1
> I am using distutils to build the extension, and assign ["-framework 
> veclib -lSystem"] to the extra_link_args argument of the setup() 
> command in setup.py.  However, the resulting extension library built 
> by distutils does not recognize the LAPACK routines.

I always use constructs like ["-framework", "veclib", "-lSystem"]. 
Could it be that by passing it as a single string it is somehow passed 
to the linker as a single argument?
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma 

More information about the Distutils-SIG mailing list