[xcrysden] Running XCrySDen

Gavin Abo gabo13279 at gmail.com
Thu Sep 5 04:54:27 CEST 2024


There was a Fedora user that reported that error before:


http://www.democritos.it/pipermail/xcrysden/2020-February/001980.html


In their case, the issue came from using a 32 bit Togl file. Looks like 
they resolved it by using a 64 bit version:


http://www.democritos.it/pipermail/xcrysden/2020-February/001982.html


Using xcrysden-1.6.2.tar.gz, the install went smoothly for me:


http://www.democritos.it/pipermail/xcrysden/2024-August/002139.html


Using xcrysden-1.6.2-linux_x86_64-shared.tar.gz also worked. However, I 
still had to install Togl with:


username at fedora:~$ wget 
https://sourceforge.net/projects/togl/files/Togl/2.0/Togl2.0-src.tar.gz/download
...
username at fedora:~$ tar xvf download
...
username at fedora:~$ cd Togl2.0/
username at fedora:~/Togl2.0$  ./configure --with-tcl=/usr/lib64 
--with-tk=/usr/lib64 --enable-64bit
...
username at fedora:~/Togl2.0$ wget 
https://raw.githubusercontent.com/gsabo/xcrysden-Patches/main/togl.patch
...
username at fedora:~/Togl2.0$ patch -b togl.c togl.patch
username at fedora:~/Togl2.0$ make


Although, xcrysden-1.6.2-linux_x86_64-shared.tar.gz first failed with an 
error:


username at fedora:~$ xcrysden
...
   Version: 1.6.2
...
XCRYSDEN_TOPDIR=/home/username/xcrysden-1.6.2-bin-shared
XCRYSDEN_SCRATCH=/tmp

/home/username/xcrysden-1.6.2-bin-shared/bin/xcrys: error while loading 
shared libraries: libTogl.so.2: cannot open shared object file: No such 
file or directory


To solve that, I had to create a symbolic link:


username at fedora:~$ cd ~/Togl2.0/
username at fedora:~/Togl2.0$ ln -s libTogl2.0.so libTogl.so.2


Kind Regards,

Gavin

XCrySDen user


On 9/4/2024 11:27 AM, delamora wrote:
> Dear Gavin,
> This is the error that I got running xcrysden;
> ---------------
> Error in startup script: Can not set ident to a window path name
> Couldn't configure togl widget
>     while executing
> ------------------
> just installed
> tcl-togl
> tcl-togl-devel
> opengl
>
> Saludos
>
> Pablo
>
>
>
> _______________________________________________
> XCrySDen mailing list
> XCrySDen at democritos.it
> http://www.democritos.it/mailman/listinfo/xcrysden
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/xcrysden/attachments/20240904/11cece33/attachment.htm 


More information about the XCrySDen mailing list