Question: API Programming with Maple16 under Linux (openSUSE 12.2); no evaluation within maple

Hello,

I have currently trouble running existing C-code in a new Linux (64 bit) system with Maple16. I have code that used work just fine, now it fails to evaluate. As an example, statements like

EvalMapleStatement(kv,"1+1+2^3;");

still work as expected and return a number. However, code like

EvalMapleStatement(kv,"int(x, x=0..1);");

returns int(x, x=0..1), i.e. a string, which causes my program to crash, because a number is expected.

I have set the LD_LIBRARY_PATH  environment varibale according to what I see when I execute in xmaple 

getenv(LD_LIBRARY_PATH)

Also the MAPLE environment variable has been set correctly (/usr/local/bin/maple16).

I have installed maple16 several times in different directories, the error remains.

In order to get the compilation and the execution to work, I had to place a symbolic link libgmp.so
in the directory where my executable resides which directs to the same source as the link in
the correct /usr/local/bin/maple........ directory.

At the moment I am running out of ideas as to what else I could try.

Can anyone provide some ideas or even solutions for me?

Best,
mank





Please Wait...