Pasqualdo

5 Reputation

One Badge

11 years, 40 days

MaplePrimes Activity


These are replies submitted by Pasqualdo

@Thomas Richard 

Hi,

thanks a lot for your help! I probably found out what was causing the problem. In order to find the libraries at runtime another global variable has to be set: DYLD_LIBRARY_PATH. This is not a maple-specific one and has proven to be a possible source of troubles for the system security. So it seems that it is not possible to set it globally (e.g. in /etc/launchd.conf, where I placed $MAPLE and $DYLIB_LIBRARY_PATH). Each user has to set it in his own shell profile. I do not like this solution.. It seems that xcode (the default compiler for mac) allows application-specific environment variables that are loaded at runtime (stored in a filed linked with the program) and this seems to solve the runtime problem. Since I my program is still unfinished (it does some compicated computations in Riemannian geometry) I need to run it with a debugger (that does not load these variables) and this is still causing some trouble, but at least I understand the problem. 

You pointed me in the right direction, thanks again!

P.S. I will have to contact the copyright office anyway since I want to make the program commercial or donationware...

 

All the best!

Hi,

thanks for your kind help! I thougt it was openmaple but it is in fact a runtime problem! I tried to run the program on other machines that have maple installed and I finally found that the program runs correctly if I put it in the maple/bin.... folder. That just means that some library is not correctly loaded at runtime in spite of having

$MAPLE and $DYLIB_LIBRARY_PATH set correctly.

Any guess of what I could try ?

(I do not know if creating links to the maple libraries inside /ust/local/lib could do the job and/or it violates some maple copyright (?)

Thanks again!

Page 1 of 1