On 11/2/15 2:14 PM, Tom Lane wrote:
> $ xml2-config --libs
> -lxml2
> $ xml2-config --cflags
>
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2
> $ xml2-config --prefix
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr
>
> The /usr/lib/libreadline.dylib symlink has been there pretty much
> forever, so that's not a new hazard.
>
> You didn't say, but I assume what you're seeing is that "xml2-config
> --cflags" now emits some -L switches along with -I?
xml2-config --libs emits -L switches that point into Xcode, similar to
the -I switch shown above.
But after running
sudo xcode-select -s /Library/Developer/CommandLineTools
as suggested in the links mentioned earlier in the thread, this goes
away. Apparently, Apple fixed this in one of their minor software updates.