RyanHinton edited this page Mar 13, 2009 · 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/ undefined symbol: function_name

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

#clib library_with_useful_functions