Re: Accessing fortran libraries [SEC=UNCLASSIFIED]
José Gómez-Dans <[email protected]> Fri, 26 Nov 2010 10:42:52 +0000
| Newsgroups | gmane.comp.python.ctypes |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Thu, Nov 25, 2010 at 11:12 PM, Andrew MacIntyre < [email protected]> wrote: > Those routines are likely to be in a fortran runtime library. You > probably need to use the RTLD_GLOBAL flag when loading your fortran SO to > have the symbols resolved. > Mmmm, tried that but doesn't seem to help: ctypes.CDLL("./libmylib_x86_64.so", mode=ctypes.RTLD_GLOBAL) [ ... ] OSError: ./libmylib_x86_64.so: undefined symbol: _gfortran_internal_malloc64 -- RSU ■ Dept. of Geography ■ University College ■ Gower St, London WC1E 6BT UK EMM ■ Dept. of Geography ■ King's College ■ Strand, London WC2R 2LS UK ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ ctypes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ctypes-users