<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>XCrySDen 1.6.2 works with Fedora 40 when libtk8.6.so from the
operating system tk-devel package is used.</p>
<p><br>
</p>
<p>I've not tried libtk8.6.so from Intel's OneAPI. That library
file likely was compiled with the Intel compiler. So, it might be
that the file has different function declarations than that
produced by GCC. That might explain why you would need the libtk8.6.so
from the operating system package that was compiled with GCC for
being able to use xcrysden-1.6.2-linux_x86_64-shared.tar.gz.</p>
<p><br>
</p>
<p>Thus, if you wanted to use
/opt/intel/oneapi/intelpython/python3.9/lib/libtk8.6.so (instead
of /lib64/libtk8.6.so), it is likely that you would need to
compile XCrySDen using xcrysden-1.6.2.tar.gz and you would need to
modify Make.sys yourself to use the OneAPI compiler. Since that
is probably a more difficult approach, I would recommend using the
operating system version of libtk8.6.so instead.<br>
</p>
<p><br>
</p>
<p>For that, at [1], the webpage shows the Fedora 40 operating
system tk-devel package. The tk-devel package when installed puts
libtk.so (i.e., libtk8.6.so) also in the directory:</p>
<p><br>
</p>
<p>/usr/lib64/</p>
<p><br>
</p>
<p>With Fedora 40, when I checked that directory, the <font
color="#0000ff">libtk8.6.so</font> was there:<br>
</p>
<p><br>
</p>
username@fedora:~$ ls -l /usr/lib64/libtk*<br>
-rwxr-xr-x. 1 root root 1343528 Jan 26 2024 /usr/lib64/<font
color="#0000ff">libtk8.6.so</font><br>
lrwxrwxrwx. 1 root root 11 Jan 26 2024 /usr/lib64/libtk.so
-> libtk8.6.so<br>
-rwxr-xr-x. 1 root root 6640 Jan 26 2024
/usr/lib64/libtkstub8.6.a<br>
<p><br>
</p>
<p>When the tk-devel package has been successfully installed, the
terminal should show the same or similar terminal display of:</p>
<p><br>
</p>
<p>username@fedora:~$ sudo yum install tk-devel<br>
[sudo] password for username: <br>
Last metadata expiration check: 0:27:44 ago on Thu 29 Aug 2024
09:16:34 PM MDT.<br>
Package tk-devel-1:8.6.13-3.fc40.x86_64 is already installed.<br>
Dependencies resolved.<br>
Nothing to do.<br>
Complete!<br>
</p>
<p><br>
</p>
<p>[1]
<a class="moz-txt-link-freetext" href="https://packages.fedoraproject.org/pkgs/tk/tk-devel/fedora-40.html">https://packages.fedoraproject.org/pkgs/tk/tk-devel/fedora-40.html</a><br>
</p>
<p><br>
</p>
<p>Kind Regards,</p>
<p>Gavin</p>
<p>XCrySDen user<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 8/29/2024 10:37 AM, delamora wrote:<br>
</div>
<blockquote type="cite"
cite="mid:BY5PR06MB667609773C2282D58C4EB11ACB962@BY5PR06MB6676.namprd06.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I found it;</div>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
----</div>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
# find / -name *libtk8.6*</div>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
/opt/intel/oneapi/intelpython/python3.9/pkgs/tk-8.6.10-hbc83047_0/lib/libtk8.6.so</div>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
/opt/intel/oneapi/intelpython/python3.9/envs/2022.0.2/lib/libtk8.6.so</div>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
/opt/intel/oneapi/intelpython/python3.9/lib/libtk8.6.so</div>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
----</div>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
but xcrysden does not find it</div>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Pablo</div>
<hr style="display: inline-block; width: 98%;">
<div id="divRplyFwdMsg" dir="ltr"><span
style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><b>De:</b> <a class="moz-txt-link-abbreviated" href="mailto:xcrysden-bounces@democritos.it">xcrysden-bounces@democritos.it</a>
<a class="moz-txt-link-rfc2396E" href="mailto:xcrysden-bounces@democritos.it"><xcrysden-bounces@democritos.it></a> en nombre de Gavin Abo
<a class="moz-txt-link-rfc2396E" href="mailto:gabo13279@gmail.com"><gabo13279@gmail.com></a><br>
<b>Enviado:</b> miércoles, 28 de agosto de 2024 08:16 p. m.<br>
<b>Para:</b> <a class="moz-txt-link-abbreviated" href="mailto:xcrysden@democritos.it">xcrysden@democritos.it</a>
<a class="moz-txt-link-rfc2396E" href="mailto:xcrysden@democritos.it"><xcrysden@democritos.it></a><br>
<b>Asunto:</b> Re: [xcrysden] Running XCrySDen</span>
<div> </div>
</div>
<p style="margin-top: 0px; margin-bottom: 0px;">I see that you
have the error "libtk8.6.so: cannot open shared object file: No
such file or directory".</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">From the message,
it looks like XCrySDen cannot find the libtk8.6.so file.</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">That file should
be in your /lib64 directory:</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">username@fedora:~$
ls -l /lib64/libtk8.6.so<br>
-rwxr-xr-x. 1 root root 1343528 Jan 26 2024 /lib64/libtk8.6.so</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">If it isn't, the
package for it might not be installed.</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">In Fedora 40, it
was likely installed by the command:</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">sudo yum install
tk-devel</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">Kind Regards,</p>
<p style="margin-top: 0px; margin-bottom: 0px;">Gavin</p>
<p style="margin-top: 0px; margin-bottom: 0px;">XCrySDen user</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<div>On 8/28/2024 4:59 PM, delamora wrote:</div>
<blockquote>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I got the </div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
xcrysden-1.6.2-bin-shared</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
then I ran</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
xcrysden</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
and I got</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
-------------</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[ref] A. Kokalj, J. Mol. Graph. Model., Vol. 17, pp. 176-179,
1999.</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Code available from <a
href="http://www.xcrysden.org/"
id="OWA208cb62b-6fe4-9087-270b-df31eafdcded"
class="x_moz-txt-link-freetext OWAAutoLink moz-txt-link-freetext"
data-auth="NotApplicable" moz-do-not-send="true">
http://www.xcrysden.org/</a>.</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
XCRYSD[ref] A. Kokalj, J. Mol. Graph. Model., Vol. 17, pp.
176-179, 1999.</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Code available from <a
href="http://www.xcrysden.org/"
id="OWA490c3f34-b1a4-9ff3-e3f5-96459efcbec5"
class="x_moz-txt-link-freetext OWAAutoLink moz-txt-link-freetext"
data-auth="NotApplicable" moz-do-not-send="true">
http://www.xcrysden.org/</a>.</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
XCRYSDEN_TOPDIR=/home/Programas/xcrysden-1.6.2-bin-shared</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
XCRYSDEN_SCRATCH=/home/pablo/xcrys_tmp</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
/home/Programas/xcrysden-1.6.2-bin-shared/bin/xcrys: error
while loading shared libraries: libtk8.6.so: cannot open
shared object file: No such file or
directoryEN_TOPDIR=/home/Programas/xcrysden-1.6.2-bin-shared</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
XCRYSDEN_SCRATCH=/home/pablo/xcrys_tmp</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
/home/Programas/xcrysden-1.6.2-bin-shared/bin/xcrys: error
while loading shared libraries: libtk8.6.so: cannot open
shared object file: No such file or directory</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
------------------------------</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
In the xcrysden page it says;</div>
<li><br>
</li>
<li><span
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><b><i>Linux
x86_64</i></b><i> binary packages (64bit):</i></span>
<ul>
<li
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Shared: <a
href="http://www.xcrysden.org/download/xcrysden-1.6.2-linux_x86_64-shared.tar.gz"
id="OWAcc1bc92b-c2be-c929-4292-7d134c7e232b"
class="x_OWAAutoLink" data-auth="NotApplicable"
moz-do-not-send="true">
xcrysden-1.6.2-linux_x86_64-shared.tar.gz</a><br>
</li>
<ul>
<li
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Requires: <tt>libtk8.6.so, libtcl8.6.so, libTogl.so.2,
libGLU.so.1, libGL.so.1, libfftw3.so.3, libXmu.so.6,
libX11.so.6, libgfortran.so.5, ..</tt></li>
</ul>
</ul>
</li>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
-------------------------</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
so I searched for these packages and I got</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
dnf search libtk8.6.so libtcl8.6.so libTogl.so.2 libGLU.so.1
libGL.so.1 libfftw3.so.3 libXmu.so.6 libX11.so.6
libgfortran.so.5</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Última comprobación de caducidad de metadatos hecha hace
2:37:04, el mié 28 ago 2024 13:17:04.</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
No se encontraron coincidencias.</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
(=>there were no coincidences)</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Saludos</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Pablo</div>
<span style="white-space: pre-wrap">
</span></blockquote>
</blockquote>
</body>
</html>