Results 1 to 8 of 8

Thread: Can't run xcrysden crystallographic software. Missing library.

  1. #1

    Default Can't run xcrysden crystallographic software. Missing library.

    Hi. I need this software very much for my project.
    I didn't find it in any opensuse repositories. So I went on the official website and downloaded Linux x86_64 binary packages (64bit) from there:
    I extracted the archive in ~/ folder and run ./xcrystden I got the following message:
    Code:
    (base) aleksandr@desktop:~/xcrysden-1.6.2-bin-shared> ./xcrysden 
    
    +-----------------------------------------------------------------+
    |*****************************************************************|
    |*                                                               *|
    |*  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/.
    
    XCRYSDEN_TOPDIR=/home/aleksandr/xcrysden-1.6.2-bin-shared
    XCRYSDEN_SCRATCH=/tmp
    
    /home/aleksandr/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
    I don't know how to get this libTogl.so.2 to make everything work. I tried installing "Togl" from here, but it didn't help.
    Please help.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,296
    Blog Entries
    15

    Default Re: Can't run xcrysden crystallographic software. Missing library.

    Hi
    The Science repository is only version 1.7 (not touched for 12 years....) not 2.0 (which is still circa 2008)..... let me see if can build.

    It exists in devel:languages:tcl as togl2 but not building for the enabled repos (not Leap either)
    Last edited by malcolmlewis; 25-Apr-2021 at 12:21.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,296
    Blog Entries
    15

    Default Re: Can't run xcrysden crystallographic software. Missing library.

    Hi
    Got past the configure issue, but needs more work on the tk side with code changes.... needs someone with more skills that me on the tk side to fix. Maybe contact the Togl developers and see if they can help.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  4. #4

    Default Re: Can't run xcrysden crystallographic software. Missing library.

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Got past the configure issue, but needs more work on the tk side with code changes.... needs someone with more skills that me on the tk side to fix. Maybe contact the Togl developers and see if they can help.
    So should I contact them and ask to make an .rpm package for their latest Togl?

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,296
    Blog Entries
    15

    Default Re: Can't run xcrysden crystallographic software. Missing library.

    Quote Originally Posted by Alekssan View Post
    So should I contact them and ask to make an .rpm package for their latest Togl?
    Hi
    Well update the code for newer versions of TCL and TK... if they do that, can take care of an rpm....

    This is the error I get;

    Code:
    [   27s] togl.c: In function 'Togl_Init':
    [   27s] togl.c:928:26: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
    [   27s]          SetClassProcsPtr = tkStubsPtr->tk_SetClassProcs;
    [   27s]                           ^
    [   27s] In file included from togl.c:3810:0:
    [   27s] toglFont.c: At top level:
    [   27s] toglFont.c:136:5: error: unknown type name 'TkFont'
    [   27s]      TkFont  font;               /* Stuff used by generic font package.  Must be
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #6

    Default Re: Can't run xcrysden crystallographic software. Missing library.


  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,296
    Blog Entries
    15

    Default Re: Can't run xcrysden crystallographic software. Missing library.

    Hi
    No, that is NOT the issue, the current tcl/tk does not use that header (TkFont.h) any more, remember this code is from 2008.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  8. #8

    Default Re: Can't run xcrysden crystallographic software. Missing library.

    https://wiki.tcl-lang.org/page/OpenGL

    XCrySDen is outdated. Try another package.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •