Out
of interest, I tried ld on the library, and I found that other
gfortran-related functions are missing, as well as some from math.h (for
example, log, cos, sin, _gfortran_transfer_real, _gfortran_st_write,
_gfortran_pow_r8_i4, _gfortran_internal_unpack, _gfortran_st_write_done,
etc.). I link code to this library and it works, but I would like to
access the library from python.

There's something I am obviously missing, but I don't even know where to start looking! Any hints greatly appreciated.

------------------------------------------------------------------------------
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

Out of interest, I tried ld on the library, and I found that other
gfortran-related functions are missing, as well as some from math.h (for
example, log, cos, sin, _gfortran_transfer_real, _gfortran_st_write,
_gfortran_pow_r8_i4, _gfortran_internal_unpack, _gfortran_st_write_done, etc.).
I link code to this library and it works, but I would like to access the
library from python.

There's something I am obviously missing, but I don't even know where to
start looking! Any hints greatly appreciated.

NOTICE: This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please contact the sender by reply email and destroy all
copies of the original message.

------------------------------------------------------------------------------
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

------------------------------------------------------------------------------
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

That thread suggests to me the possibility that there may be a
mismatch between the version of gfortran used to build your target library and
the version of libgfortran that is being loaded by the runtime linker. If you
haven’t already, check that you have all the necessary runtime libraries in
place.

Running ldd against your target SO might help figure out which
libraries might are being picked up.

NOTICE: This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please contact the sender by reply email and destroy all
copies of the original message.

------------------------------------------------------------------------------
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