Problem in compiling Xcrysden in Fedora 36
Posted: Fri Oct 13, 2023 6:45 am
After downloading the Xcrysden 1.6.2, i extracted it to a folder and tried to run the software by using the command:
[pc@fedora xcrysden-1.6.2]$ ./xcrysden
Then i got the output as:
-----------------------------------------------------------------+
|*****************************************************************|
|* *|
|* XCrySDen -- (X-Window) CRYstalline Structures and DENsities *|
|* = === = === *|
|*---------------------------------------------------------------*|
|* *|
|* Anton Kokalj (tone.kokalj@ijs.si) *|
|* Jozef Stefan Institute, Ljubljana, Slovenia *|
|* *|
|* Copyright (c) 1996--2019 by Anton Kokalj *|
|* *|
|*****************************************************************|
+-----------------------------------------------------------------+
Version: 1.6.2
Please report bugs to: tone.kokalj@ijs.si
TERMS OF USE:
-------------
XCRYSDEN is released under the GNU General Public License.
Whenever graphics generated by XCRYSDEN are used in scientific
publications, it shall be greatly appreciated to include an explicit
reference. The preferred form is the following:
[ref] A. Kokalj, J. Mol. Graph. Model., Vol. 17, pp. 176-179, 1999.
Code available from http://www.xcrysden.org/.
TCL_LIBRARY=/home/pc/Downloads/VASP/xcrysden-1.6.2/external/lib/tcl8.6
XCRYSDEN_TOPDIR=/home/pc/Downloads/VASP/xcrysden-1.6.2
XCRYSDEN_SCRATCH=/tmp
/home/pc/Downloads/VASP/xcrysden-1.6.2/bin/xcrys: error while loading shared libraries: libTogl.so.2: wrong ELF class: ELFCLASS32
[pc@fedora xcrysden-1.6.2]$
I am facing this problem for a long. I have worked a lot to figure it out but till now, i have been clueless.
Kindly, look into it and suggest the possible way which can fix it.
Thank you.
[pc@fedora xcrysden-1.6.2]$ ./xcrysden
Then i got the output as:
-----------------------------------------------------------------+
|*****************************************************************|
|* *|
|* XCrySDen -- (X-Window) CRYstalline Structures and DENsities *|
|* = === = === *|
|*---------------------------------------------------------------*|
|* *|
|* Anton Kokalj (tone.kokalj@ijs.si) *|
|* Jozef Stefan Institute, Ljubljana, Slovenia *|
|* *|
|* Copyright (c) 1996--2019 by Anton Kokalj *|
|* *|
|*****************************************************************|
+-----------------------------------------------------------------+
Version: 1.6.2
Please report bugs to: tone.kokalj@ijs.si
TERMS OF USE:
-------------
XCRYSDEN is released under the GNU General Public License.
Whenever graphics generated by XCRYSDEN are used in scientific
publications, it shall be greatly appreciated to include an explicit
reference. The preferred form is the following:
[ref] A. Kokalj, J. Mol. Graph. Model., Vol. 17, pp. 176-179, 1999.
Code available from http://www.xcrysden.org/.
TCL_LIBRARY=/home/pc/Downloads/VASP/xcrysden-1.6.2/external/lib/tcl8.6
XCRYSDEN_TOPDIR=/home/pc/Downloads/VASP/xcrysden-1.6.2
XCRYSDEN_SCRATCH=/tmp
/home/pc/Downloads/VASP/xcrysden-1.6.2/bin/xcrys: error while loading shared libraries: libTogl.so.2: wrong ELF class: ELFCLASS32
[pc@fedora xcrysden-1.6.2]$
I am facing this problem for a long. I have worked a lot to figure it out but till now, i have been clueless.
Kindly, look into it and suggest the possible way which can fix it.
Thank you.