[xcrysden] Resolved in a simple way: delay-Xcrysden 1.6 (semishared)

Mahmoud Payami mpayami at aeoi.org.ir
Thu Feb 19 06:17:28 CET 2009


I resolved the problem in a neat way:
Just replaced the tcl and tk directories and libs in the /external/lib by my 
own compiled tcl/tk. It is now ok.
The tcl/tk in the external/lib was not the right one for my box.
Thank you Tone for your concern.
Best regards,
                      Mahmoud






> 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
>>
>>
>
>
> _______________________________________________
> XCrySDen mailing list
> XCrySDen at democritos.it
> http://www.democritos.it/mailman/listinfo/xcrysden
>
> 




More information about the XCrySDen mailing list