[Xquartz-dev] Strange Xlib error with e17

Dave Ray apple at jonive.com
Wed Mar 9 17:49:44 PST 2011


Thanks Jeremy for the tip. I do see a few libs being loaded from /usr/X11, specifically:

dyld: loaded: /usr/X11/lib/libXp.6.dylib
dyld: loaded: /usr/X11/lib/libXext.6.dylib
dyld: loaded: /usr/X11/lib/libX11.6.dylib
dyld: loaded: /usr/X11/lib/libXdmcp.6.dylib
dyld: loaded: /usr/X11/lib/libXau.6.dylib

The rest are all /opt/X11.

Well that would explain it.

Full output has 100's of lines: http://pastebin.com/0kbrtben

My env has:

CFLAGS=-Wall -O2 -arch x86_64 -pipe -I/usr/local/include -I/usr/local/mysql/include -I/opt/X11/include -I/usr/include -I/usr/X11/include
LDFLAGS=-arch x86_64 -L/usr/local/lib -L/usr/local/mysql/lib -L/usr/lib -L/opt/X11/lib -L/usr/X11/lib
LD_LIBRARY_PATH=/usr/local/lib:/usr/local/mysql/lib:/lib:/usr/lib:/opt/X11/lib:/usr/X11/lib
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/X11/lib/pkgconfig:/opt/X11/share/pkgconfig:/usr/X11/lib/pkgconfig

In all of them, /opt/X11 comes before /usr/X11.

I am wondering, why is the app using libs in /usr/X11 instead of /opt/X11 when my ENV points to /opt/X11 first? How to I force the app to use /opt/X11, beyond my ENV settings??

There are no crash reports. The app appears to hang, but does not crash or leave a report.
If I quit X11 during the hang, the app is still running, and I have to kill -9 it.

Dave




More information about the Xquartz-dev mailing list