Question: Build simple.c on Linux

I get an error:

/usr/bin/ld: warning: libmaple.so, needed by /usr/local/bin/maple15/bin.IBM_INTEL_LINUX/libmaplec.so, not found (try using -rpath or -rpath-link)
/usr/local/bin/maple15/bin.IBM_INTEL_LINUX/libmaplec.so: undefined reference to `extStartMaple@VERS_1.1'
collect2: ld returned 1 exit status

 

Even if I try to explicitly add all the maple libs, something goes wrong:

gcc simple.c -I/usr/local/bin/maple15/extern/include -L/usr/local/bin/maple15/bin.IBM_INTEL_LINUX -o simple -lmaplec -lmaple -lhf -lprocessor32 -lrt
/usr/local/bin/maple15/bin.IBM_INTEL_LINUX/libmaple.so: undefined reference to `clock_gettime'
collect2: ld returned 1 exit status

 

Have you experienced this problem before? Have you got any tips for ir?


Regards,
Remus.

Please Wait...