[C++-sig] Boost.Python std::cerr segfault when built with -lGL

Gazihan Alankus gazihan at cse.wustl.edu
Sat May 26 01:10:02 CEST 2007


Hello, 

I'm using Boost.Python to create a python library. When I use -lGL in my
linker flags, the first string I send to std::cerr results in an exception.
When I leave -lGL out, everything is fine and std::cerr works with no
problems. I get this problem when I add -lGL to the simplest Boost.Python
sample program that has nothing to do with OpenGL. Any ideas? Does anybody
else see this behavior? 

I'm on Gentoo Linux, using gcc 4.1.1, Python 2.4 and Boost 1.33. I tried
Python 2.3 too and it's the same. 

-Gazi 






More information about the Cplusplus-sig mailing list