I ran ./gretl.sh and I was able to solve the probelm. I set the
"export GDK...." line to 0 as described in the readme file and now
gretl works perfectly! I didn't pay attention to this hint first
because I thought it was just something like a "cosmetic" thing...
thanks a bunch for your help!