I’m running into a problem using an extension module.
I’ve installed julia using spack, which results in not using ~/.julia for packages (not sure if that’s relevant).
In a travis build (and other, more standard installs) everything is fine, but with this spack installation I’m getting:
/srv/scratch/software/spack/opt/spack/linux-rhel7-x86_64/gcc-6.2.0/julia-0.5.0-azkq3fsbejqpwydyyrzha32ecglzwo3g/bin/julia: symbol lookup error: /srv/scratch/software/spack/opt/spack/linux-rhel7-x86_64/gcc-6.2.0/julia-0.5.0-azkq3fsbejqpwydyyrzha32ecglzwo3g/var/julia/pkg/v0.5/LCIO/deps/usr/lib/liblciowrap.so: undefined symbol: _ZN8cxx_wrap14ModuleRegistry13create_moduleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
The package was built using CxxWrap, but somehow it looks like julia expects a symbol in my package that should be in the CxxWrap library. ldd
on liblciowrap.so
does not show any missing libs.
I suspect this is a path problem somehow, but I don’t know how to debug this further. Any hints are appreciated.