I’m trying to build Julia (and dependencies) from source on a complicated system that has two
glibc versions, a really old system version and a newer version I have to load.
As I build Julia, I can get all of it’s dependencies to compile and run just fine by passing in the proper
glibc runtime flag to the linker. Something like…
and that seems to work for everything except for the actual Julia binary and the Julia library (
Now some of the dependencies, e.g. Patchelf and GMP, require you use different flags than the standard GNU flags… so I tried setting several different flags with the above linker command, including…
LDFLAGS=... CFLAGS=... CPPFLAGS=... CXXFLAGS=... CXXLDFLAGS=...
but still no luck.
I tried pouring over the
src/Makefile to see if I was missing any other flags… but I couldn’t find anything obvious.
Is anyone else aware of a flag I can set that will tell Julia to look at a particular glibc location at runtime? Thanks!
(Of course, I can’t set my
LD_LIBRARY_PATH with the new glibc, as that will clobber the rest of my system built with the older