Problems embedding python (undefined symbol: stat)

obscurity obscurity at obscure.org
Mon Oct 1 14:19:03 EDT 2001


On Tue, 25 Sep 2001 00:04:24 GMT, obscurity <obscurity at obscure.org> wrote:
>  I'm trying to embed python in a C++ app I'm writing (on linux). All I've
>  added so far is a call to Py_Initialize, and when I run my app it dies
>  somewhere in Py_Initialize with "undefined symbol: stat". Isn't stat a
>  standard libc call?  If so, how the hell can it be undefined?  I'm coming to
>  the conclusion that my python installation is broken in some way, but it was
>  a simply ./comfigure;make;make install job, so I haven't done anything
>  strange with it.
>  
>  Can anyone offer an advice in fixing this?

So, can *no-one* help me with this?  Not even a vague pointer to some
documentation or something?  Anyone?  Pretty please?

-- 
obscurity.

"Only the great masters of style ever succeed in being obscure." - Oscar Wilde



More information about the Python-list mailing list