How to statically link Python with ncurses and readline?

"Martin v. Löwis" martin at
Tue Oct 25 20:26:22 CEST 2005

arve.knudsen at wrote:
> That is, there are no longer any or in lib-dynload, 
 > but instead they are added to Python's shared library dependencies.

What is "they" in that sentence? and I very much
doubt that - more likely, and are in
the dependencies

 > Any clue as to what's going on here would be much appreciated.

Instead of linking with -lncurses, link explicitly with
/usr/lib/libncurses.a; or else using -static as a linker flag.


More information about the Python-list mailing list