Python-libnjb on macosx

Robert Kern rkern at ucsd.edu
Thu Feb 10 19:08:06 EST 2005


Timothy Grant wrote:
> I was working on some things that use Glenn Strong's excellent libnjb
> wrapper on my Linux box. I have since bought a PowerBook and have been
> trying to get everything working correctly under OS/X.
> 
> This morning I got Python-libnjb to build without errors using the
> following command:
> 
> ld -dynamic -dylib -L/sw/lib -L/sw/lib/python2.3/config njb_c_wrap.o
> -o _njb_c.dylib -lpython2.3 -lnjb -lSystem -framework IOKit -ldylib1.o

Try to write a distutils setup.py script. It should take care of the 
correct linker arguments for you.

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter



More information about the Python-list mailing list