On Dec 7, 11:44 pm, DavidM <[EMAIL PROTECTED]> wrote:
> On Fri, 07 Dec 2007 00:53:15 -0800, Graham Dumpleton wrote:
> > Are you actually linking your C program against the Python library?
>
> Yes. Refer OP:
>
> >> I'm embedding python in a C prog which is built as a linux shared lib.
> >> The prog
On Fri, 07 Dec 2007 00:53:15 -0800, Graham Dumpleton wrote:
> Are you actually linking your C program against the Python library?
Yes. Refer OP:
>> I'm embedding python in a C prog which is built as a linux shared lib.
>> The prog is linked against libpython, and on startup, it calls
>> Py_Initi
On Dec 7, 5:01 pm, DavidM <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm embedding python in a C prog which is built as a linux shared lib.
>
> The prog is linked against libpython, and on startup, it calls
> Py_Initialize().
>
> The prog imports a pure-python script. The script starts up ok, but whe
On Dec 7, 2:01 pm, DavidM <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm embedding python in a C prog which is built as a linux shared lib.
>
> The prog is linked against libpython, and on startup, it calls
> Py_Initialize().
>
> The prog imports a pure-python script. The script starts up ok, but whe
Hi all,
I'm embedding python in a C prog which is built as a linux shared lib.
The prog is linked against libpython, and on startup, it calls
Py_Initialize().
The prog imports a pure-python script. The script starts up ok, but when
it imports the 'math' module, the import fails with:
Traceback