Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Compile failure on packages due to linking of 1.1 on 0.7 #150

Open
evetion opened this issue Feb 18, 2019 · 1 comment
Open

Compile failure on packages due to linking of 1.1 on 0.7 #150

evetion opened this issue Feb 18, 2019 · 1 comment

Comments

@evetion
Copy link

evetion commented Feb 18, 2019

Encountered in compiling visr/GDAL.jl, partly due to #40

When using both 0.7 and 1.1 (common for backward compatability) and a package that is shared between those versions the generated deps.jl can include Julia *LIBRARY_PATHs other than the version in use.

Steps to reproduce:

  • build GDAL on 0.7
  • build GDAL on 1.1 (overwriting shared deps.jl)
  • use GDAL on 0.7

leads to:

Error: Error building `GDAL`:
│ ERROR: could not load library "/Applications/Julia-0.7.app/Contents/Resources/julia/lib/julia/sys.dylib"dlopen(/Applications/Julia-0.7.app/Contents/Resources/julia/lib/julia/sys.dylib, 6): Symbol not found: _jl_current_exception
│   Referenced from: /Applications/Julia-1.1.app/Contents/Resources/julia/lib/julia/sys.dylib
│   Expected in: /Applications/Julia-0.7.app/Contents/Resources/julia/bin/../lib/libjulia.dylib
│  in /Applications/Julia-1.1.app/Contents/Resources/julia/lib/julia/sys.dylib
└ @ Pkg.Operations /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:1068
@evetion
Copy link
Author

evetion commented Feb 18, 2019

@visr As the issue is within compiling that package, but I can imagine other packages will encounter the same issues.

visr pushed a commit to visr/BinaryProvider.jl that referenced this issue May 10, 2019
* First try at "Building tips" documentation

The intent is to provide tips for common build scenarios. If common items keep appearing, they could be baked into the environment.

* Updates based on input from Elliot and David
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant