Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

CythonTroubleShooting

RyanHinton edited this page · 1 revision
Clone this wiki locally

##master-page:HelpTemplate ##master-date:Unknown-Date #format wiki #language en

Cython Troubleshooting

Following are solutions to common problems encountered while using Cython.

Linker error

If you have not specified all the libraries for the linker to resolve all the function calls in your code, you will get an error like the following (from Sage):

ImportError: /long/path.so: undefined symbol: function_name

The solution is to use the #clib pragma (credit to cwitty):

#clib library_with_useful_functions
Something went wrong with that request. Please try again.