I am a new user and I was trying to embed Julia in C starting from the tutorial at: https://docs.julialang.org/en/stable/manual/embedding/. I seem I can’t run the first example, as gcc doesn’t find the libstdc++.so.6. I am on OSX 10.10, and looking into the Julia app Contents, I can’t seem to find the libstdc++.so.6 file under “Contents/Resources/julia/lib/julia”. I feel like I am missing some basic stuff, excuse me if that is the case.
COMMAND I AM USING:
gcc -o test -fPIC -I /Applications/Julia-0.6.app/Contents/Resources/julia/include/julia -L /Applications/Julia-0.6.app/Contents/Resources/julia/lib/julia test.c -ljulia /Applications/Julia-0.6.app/Contents/Resources/julia/lib/julia/libstdc++.so.6
gcc: error: /Applications/Julia-0.6.app/Contents/Resources/julia/lib/julia/libstdc++.so.6: No such file or directory