[Xquartz-dev] Strange Xlib error with e17

Jeremy Huddleston jeremyhu at apple.com
Wed Mar 9 18:01:44 PST 2011


On Mar 9, 2011, at 17:49, Dave Ray wrote:

> 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??

Yeah, so I don't know why it's pulling in libs from /usr/X11/lib because it should find everything in /opt/X11/lib ... I'd need to see the build log for the application to tell you, but my guess is that it's something in e17's build system that is prefering /usr/X11



More information about the Xquartz-dev mailing list