libxml2 issue on 10.10 beta
Michael Dickens
michaelld at macports.org
Mon Oct 6 09:16:24 PDT 2014
Doing the same on OS X 10.9 works, and the order of libxml2 is the same
as it is on the debug printout when using 10.10 when failing (Apple's
libxml2 is loaded before MacPorts). When comparing the 10.10 versions
that fail and work, the only real difference in library loading is that
when libxml2 is inserted (which results in the program working), it and
its immediate dependencies are loaded near the start as opposed to in
the actual dependency ordering. Otherwise, the same libraries are
loaded in the same order. I guess this behavior is good / desirable,
since it is predictable -- happens in the same ordering every time,
whether resulting in a working or failing program.
Anybody have further thoughts / tests I can do? - MLD
On Sun, Oct 5, 2014, at 09:15 PM, Michael Dickens wrote:
> As another data point, if I insert
> "DYLD_INSERT_LIBRARIES=/opt/local/lib/libxml2.2.dylib" before the
> command I'm using, then it runs correctly. Looking at the output using
> DYLD_PRINT_LIBRARIES=1, I see that the version that fails loads
> /usr/lib/libxml2.2.dylib first, while the version that works loads
> /opt/local/lib/libxml2.2.dylib first (because I tell it to). Hmmm ...
> now I need to go back to 10.8/10.9 to see what it does for load
> ordering. - MLD
More information about the macports-dev
mailing list