Is there a way to see how a GNU SO file is implemented in Linux

Viewed 42

I am getting some weird errors in linux and have traced it back to a library. The file is dfitpack.cpython-39-x86_64-linux-gnu.so. This is a python library that is linked using anaconda.

I want to be able to read this file in a human readable format if possible. Currently I have only found out how to list all the functions inside it with 'nm -D dfitpack.cpython-39-x86_64-linux-gnu.so'

Any help would be wonderful.

1 Answers

The canonical source for the FITPACK library is at https://netlib.org/dierckx/ (there is another similar library at https://netlib.org/fitpack/all ). dfitpack is just the same fitpack library compiled with double precision reals instead of single precision.

They are Fortran procedures, so you need some rudimentary understanding of Fortran to understand them.

Related