Hi I've been encountering this error continuously and couldn't not find a
way to resolve this issue.

I've been trying to use gsl multiroot fsolver. The program I'm using uses
both C++ and python code. gsl is only used in single .cpp file, and the
python file uses functions written in c++ with pybind modules.
both gsl and gslcblas libraries were built properly, and there was no issue
in including multiple header files.
However, it returned error of undefined symbol for
gsl_multiroot_fsolver_type. I've checked multiple times the syntax is
correct but it seems so random to encounter the error because it's not
returning any other import error for gsl functions or gsl vectors.
Following is the error code:
ImportError: /directory/.cpython-38-x86_64-linux-gnu.so: undefined symbol:
gsl_multiroot_fsolver_dnewton

Also, it is also hard to understand why it would be python import error
when none of the python code is using the gsl. Just single cpp file.

Any help or advice would be greatly appreciated!
Thank you!

Best regards,
Somin

Reply via email to