From: Bernd Doser (
Date: Tue Jan 20 2009 - 02:08:05 CST

Dear All,

I want to install vmd-1.8.6 on opensuse 11.1. Therefore, I have changed the
configure file to use tcl/tk 8.5. In addition, I have modified two lines in

//Tk_PhotoSetSize(handle, xs, ys);
Tk_PhotoSetSize(NULL, handle, xs, ys);

//Tk_PhotoPutBlock(handle, &blk, 0, 0, xs, ys, TK_PHOTO_COMPOSITE_SET);
Tk_PhotoPutBlock(NULL, handle, &blk, 0, 0, xs, ys, TK_PHOTO_COMPOSITE_SET);

Running the vmd command, a segmentation fault occurs after the line:
Tcl_SetObjLength called with shared object

Can somebody tell me what's wrong?

Thanks a lot,