Sunday, January 18, 2009

libf2c.so: undefined reference to `MAIN__'

Alright.. so problems with libf2c with debian, ubuntu, etc, getting too much of libf2c.so: undefined reference to `MAIN__'

ok, just link with the static library "libf2c.a"


sudo rm /usr/lib/libf2c.so && sudo ln -s /usr/lib/libf2c.a /usr/lib/libf2c.so


Done!