Interesting… and sufficiently esoteric that I’ve not come
across this before.
Did you come across the similar thread about when matlab experiences
the same errors?
Certainly if the loading order of libraries affects things, and a
carefully crafted LD_PRELOAD can workaround them, then this is
certainly the sort of problem could come and go with relatively
small changes to the components (it would only take one of the
components eliminating a library dependency to disturb things).
I’d be interested to know if the LD_PRELOAD trick works for you. If
nothing else if would be a useful trick have in the back pocket for
the future since I think it could be possible (when importing two
big frameworks that have few cross-dependencies) for no ordering
of the import lines to be loadable.