[xcrysden] delay-Xcrysden 1.6 (semishared)
Mahmoud Payami
mpayami at aeoi.org.ir
Wed Feb 18 18:10:08 CET 2009
Dear Tone,
I succeeded to solve my problem (of course in a dirty way):
I downloaded the source files of tcl8.5 and tk8.5 and configured
with --enable-shared and --prefix=my_tcl/tk.
Then I added to the PATH the lib and bin of both of them, and then I
modified your "xcrysden" script in the lines "if -z test ..." and added
my_tcl. Of course, copied the lib of tk in the lib of tcl and the resulting
in the folder where I have installed my_tcl. Now xcrysden starts on fly.
But..., I think it can be done in a neat way. Would you please help me.
Best regards,
Mahmoud
> I forgot to specify in the last meail, that you should terminate it
> where it pauses.
>
>> I executed and got:
>> /opt/XCrySDen-1.5.17-bin-semishared/bin/xcrys: errorwhile loading shared
>> libraries: libtk8.5.so: cannot open shared object file: No such file or
>> directory
>
> Here is the correction, do instead:
>
> if test -z "${LD_LIBRARY_PATH}"; then
> LD_LIBRARY_PATH="$XCRYSDEN_TOPDIR/external/lib"
> else
> LD_LIBRARY_PATH="$XCRYSDEN_TOPDIR/external/lib:$LD_LIBRARY_PATH"
> fi
> $XCRYSDEN_TOPDIR/bin/xcrys
>
> Regards, Tone
> --
> Anton Kokalj
> J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia
> (tel: +386-1-477-3523 // fax:+386-1-477-3822)
>
> Please, if possible, avoid sending me Word or PowerPoint attachments.
> See: http://www.gnu.org/philosophy/no-word-attachments.html
>
> _______________________________________________
> XCrySDen mailing list
> XCrySDen at democritos.it
> http://www.democritos.it/mailman/listinfo/xcrysden
>
>
More information about the XCrySDen
mailing list