When executing setup.sh to create the pymol executable link the following error is encountered:

****start of snip****
============================================
Creating "./pymol" startup script with
PYMOL_PATH=/usr/local/xtal/pymol-1.6.0.0
============================================
If you need to move PyMOL in the future,
re-run "./setup.sh" afterwards.
============================================
You may now want to copy or link:
"/usr/local/xtal/pymol-1.6.0.0/pymol"
to something like "/usr/local/bin/pymol"
============================================
Enjoy!
 
./setup.sh: 45: ./setup.sh: Syntax error: "(" unexpected (expecting "done")

****end of snip****

When running the symlink a libglut link error occurs:

/usr/local/xtal/pymol-1.6.0.0/pymol.exe: error while loading shared libraries: libglut.so.3: cannot open shared object file: No such file or directory

The pymol 1.5.0.3 shell script and symlink works fine. Running Ubuntu 12.04 LTS.

Any ideas?

Cheers,

___________________________________
Roger Rowlett
Gordon & Dorothy Kline Professor
Department of Chemistry
Colgate University
13 Oak Drive
Hamilton, NY 13346

tel: (315)-228-7245
ofc: (315)-228-7395
fax: (315)-228-7935
email: rrowlett@colgate.edu