Struggling with ccall

  1. thanks, I changed it to gcc.
  2. I tried both const lib="fullpathtoworkingdir//ccode.so" and const lib="ccode.so", also without “.so”.
  3. You are right again, but it doesn’t work anyway with any of the possible paths!

I restarted Julia and tried to push the working directory path in the Libdl.DL_LOAD_PATH, if I do

const lib="ccode.so"
dlopen(lib)

now I have

could not load library "ccode"
The operation completed successfully.

instead of

could not load library "ccode"
The specified module could not be found.

So, I don’t think I’ve done anything useful :frowning: