a small correction: > DYLD_LIBRARY_PATH=LD_LIBRARY_PATH should be DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH and this script should be executed running bash, and with source [scriptfile] Maarten