Help building python module from dylib

Discussion in 'Mac Programming' started by tgscode, Aug 15, 2011.

  1. tgscode macrumors newbie

    Aug 15, 2011
    I am trying to do on a mac what I do on linux. Being new to the mac I thought it would be easy but I'm stuck. I use swig to build python modules from c and fortran libraries. It works very well on linux but python requires the use of a shared library and the mac fortran library is a dylib. Anybody know how to convert the fortran dylib to a shared object or any other work around.

  2. Hansr macrumors 6502a

    Apr 1, 2007
    Can't you statically link it into the binary module?

Share This Page