[xcrysden] version 1.6 in open suse

Gavin Abo gsabo at crimson.ua.edu
Wed Jun 24 09:08:38 CEST 2020


Have you tried Togl2.0-8.4-Linux64.tar.gz at:

https://sourceforge.net/projects/togl/files/Togl/2.0/

username at linux-6hha:~> cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.1 "
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.1"
PRETTY_NAME="openSUSE Leap 15.1"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.1"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
username at linux-6hha:~> wget 
http://www.xcrysden.org/download/xcrysden-1.6.2-linux_x86_64-shared.tar.gz
...
username at linux-6hha:~> tar xvf xcrysden-1.6.2-linux_x86_64-shared.tar.gz
...
username at linux-6hha:~> sudo zypper install libgfortran5
...
Continue? [y/n/v/...? shows all options] (y): y
...
username at linux-6hha:~> sudo zypper install openbabel
...
Continue? [y/n/v/...? shows all options] (y): y
...
username at linux-6hha:~> sudo zypper install ImageMagick
...
Continue? [y/n/v/...? shows all options] (y): y
...
username at linux-6hha:~> sudo zypper install tk
...
'tk' is already installed.
...
username at linux-6hha:~> sudo zypper install libfftw3-3
...
'libfftw3-3' is already installed.
...
username at linux-6hha:~> sudo zypper install libXmu6
...
'libXmu6' is already installed.
...
username at linux-6hha:~> sudo zypper install libGLU1
...
'libGLU1' is already installed.
...
username at linux-6hha:~/Togl2.0> sudo zypper install tcllib
...
Continue? [y/n/v/...? shows all options] (y): y
...
username at linux-6hha:~> wget 
https://sourceforge.net/projects/togl/files/Togl/2.0/Togl2.0-8.4-Linux64.tar.gz/download
...
tar xvf download
...
username at linux-6hha:~> ln -s 
/home/username/Togl2.0-8.4-Linux/lib/Togl2.0/libTogl2.0.so 
/home/username/Togl2.0-8.4-Linux/lib/libTogl.so.2
username at linux-6hha:~> echo "export 
XCRYSDEN_TOPDIR=/home/username/xcrysden-1.6.2-bin-shared" >> ~/.bashrc
username at linux-6hha:~> echo "export PATH=$PATH:$XCRYSDEN_TOPDIR" >> 
~/.bashrc
username at linux-6hha:~> echo "export 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/username/Togl2.0-8.4-Linux/lib" 
 >> ~/.bashrc
username at linux-6hha:~> source ~/.bashrc
username at linux-6hha:~> xcrysden

On 6/22/2020 10:45 AM, Mariano Forti wrote:
> Hellow everybody ! I am tryng to install xcrysden in opensuse 15.1. the
> main problem is that libtogl is not in the repositories ( I could not
> find it). I downloaded the sourceforge files and installed to /usr/lib64
> in my computer.
>
> however, when trying to run xcrysden, I get the error:
>
> /usr/local/xcrysden-1.6.2-bin-shared//bin/xcrys: error while loading
> shared libraries: libTogl.so.2: wrong ELF class: ELFCLASS32
>
> I placed the libTogl.so.2 in various places:
>
> /usr/lib/libTogl.so.2
> /usr/lib64/libTogl.so.2
>
> but the bin/xcrys files can not find the library:
>
> ldd /usr/local/xcrysden-1.6.2-bin-shared/bin/xcrys
>
> ...
>
>    libTogl.so.2 => not found
>
> ...
>
> (it is the only one that says not found!)
>
>
> I also tried to compile from source with no success , but I will insist
> on that later
>
>
> Thankyou all for your help!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/xcrysden/attachments/20200624/abf6b1a4/attachment.htm 


More information about the XCrySDen mailing list