Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deal with libstdc++ issues in ferret and other C++ using libs #3

Open
fingolfin opened this issue Nov 22, 2021 · 1 comment
Open

Deal with libstdc++ issues in ferret and other C++ using libs #3

fingolfin opened this issue Nov 22, 2021 · 1 comment

Comments

@fingolfin
Copy link
Member

Right now I am getting this:

julia> using GAP_pkg_ferret

julia> GAP_pkg_ferret.load()
#W dlopen() error: dlopen(/Users/mhorn/.julia/artifacts/49b1930968bd5aa85f37a4c6770a3a524bba6db7/lib/gap/ferret.so, 5): Symbol not found: __ZdlPvm
  Referenced from: /Users/mhorn/.julia/artifacts/49b1930968bd5aa85f37a4c6770a3a524bba6db7/lib/gap/ferret.so
  Expected in: /usr/lib/libstdc++.6.dylib
 in /Users/mhorn/.julia/artifacts/49b1930968bd5aa85f37a4c6770a3a524bba6db7/lib/gap/ferret.so
ERROR: Error thrown by GAP: Error, module '/Users/mhorn/.julia/artifacts/49b1930968bd5aa85f37a4c6770a3a524bba6db7/lib/gap/ferret.so' not found in
  LOAD_DYN( filename ) at /Users/mhorn/.julia/artifacts/1ae5d8f1898d9dcbe8dc3d93f56369c864a8e717/share/gap/lib/files.gd:578 called from
<function "LoadDynamicModule">( <arguments> )
 called from read-eval loop at /Users/mhorn/.julia/gaproot/v4.12/pkg/ferret-1.0.6/read.g:15

Need to figure out how to resolve this, and how to adjust generate_wrapper.jl so that it inserts it into any wrapper package like GAP_pkg_ferret that needs it

@fingolfin
Copy link
Member Author

I hope this is resolved in Julia 1.9 (or was it 1.10?) which changes how Julia links to the standard C++ library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant