[ad_1]
I’m utilizing DYLD_PRINT_RPATHS=1 DYLD_PRINT_LIBRARIES=1 to debug a dynamic linking drawback. I see output like this:
...
RPATH didn't increasing @rpath/libjulia-internal.dylib to: /Customers/victor/sc-julia/construct/../SCJulia/construct/scjulia/lib/libjulia-internal.dylib
dyld: loaded: /Customers/victor/sc-julia/construct/../SCJulia/construct/scjulia/lib/julia/libjulia-internal.dylib
RPATH profitable growth of @rpath/libjulia-internal.dylib to: /Customers/victor/sc-julia/construct/../SCJulia/construct/scjulia/lib/julia/libjulia-internal.dylib
dyld: loaded: /Customers/victor/sc-julia/construct/../SCJulia/construct/scjulia/lib/libscjulia.dylib
RPATH profitable growth of @rpath/libscjulia.dylib to: /Customers/victor/sc-julia/construct/../SCJulia/construct/scjuli/lib/libscjulia.dylib
...
RPATH didn't increasing libscjulia.dylib to: /Customers/victor/sc-julia/SCJulia/construct/scjulia/lib/julia/libscjulia.dylib
ERROR: julia: Didn't load library at libscjulia.dylib
my query is tips on how to interpret this line:
RPATH didn't increasing libscjulia.dylib to: /Customers/victor/sc-julia/SCJulia/construct/scjulia/lib/julia/libscjulia.dylib
^
there isn't a @rpath right here ???
why is there an RPATH growth being printed if there isn’t a @rpath within the goal?
further context right here: https://github.com/JuliaLang/PackageCompiler.jl/points/662
macOS 10.14.6 (18G9323)
$ c++ --version
Apple LLVM model 10.0.1 (clang-1001.0.46.4)
Goal: x86_64-apple-darwin18.7.0
Thread mannequin: posix
InstalledDir: /Purposes/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
[ad_2]
