Thanks for the answer. I rather not use other's work as I want to understand it. So to package XQuartz for users who did not install it I need to copy it out of /opt/X11 and put it inside my app. Is export LD_LIBRARY_PATH the right one or do I need to use DYLD_FALLBACK_LIBRARY_PATH with wine to make it not look into /opt/X11 (where it won't be) but rather in the packaged directory? Thank you, fedorawins aka James