Menu

#302 chessx failing to open in linux

1.5.8
closed
nobody
None
5
2023-03-26
2021-09-03
No

for the past 1 month my chessx has failed to open, i'm using linux i have installed on both using terminal and here, any help would be appreciated.

Discussion

  • IAHM-COL

    IAHM-COL - 2021-09-04

    Hi @xyndrirth,

    I use chessx in linux, and this does not seem to be a problem for me.

    I can try to help; but I'd need some more information to begin to understand the problem.

    So far I think it could be related to missing dependencies at runtime; try identifying where the program is in your computer, ie

    which chessx
    

    If it says something like there is not chessx, then it is possibly not correctly installed, let us know.

    Let's say it responds /usr/bin/chessx (this is very common, but not the only possible answer)

    Then knowing the path as per the answer of the command, try

    ldd /usr/bin/chessx
    

    Changing /usr/bin/chessx for the correct reply of the which command

    Then if the ldd output tells that something is not found then you have missing dependencies that are needed at runtime to use the software, and those must be installed.

    A good way to list anything needed, so you can post here is

    ldd /usr/bin/chessx | grep not
    
     

    Last edit: IAHM-COL 2021-09-04
  • Stanislaus John Wojnowski

    Thank you, sirs. I downloaded the latest version and oila it worked. Thank you.

     
  • Stanislaus John Wojnowski

    version 1.5.6

     
  • Stanislaus John Wojnowski

    I ran lupdate chessx.pro, then qmake, then make. Then I tried to run chess x by typing ./chessx in the release directory. These are the errors I rcvd:
    (chessx:1590): GLib-GObject-WARNING **: 08:55:09.890: cannot register existing type 'GdkDisplayManager'

    (chessx:1590): GLib-CRITICAL **: 08:55:09.890: g_once_init_leave: assertion 'result != 0' failed

    (chessx:1590): GLib-GObject-CRITICAL **: 08:55:09.890: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

    (chessx:1590): GLib-GObject-WARNING **: 08:55:09.890: invalid (NULL) pointer instance

    (chessx:1590): GLib-GObject-CRITICAL **: 08:55:09.890: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

    (chessx:1590): GLib-GObject-WARNING **: 08:55:09.890: invalid (NULL) pointer instance

    (chessx:1590): GLib-GObject-CRITICAL **: 08:55:09.890: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

    (chessx:1590): GLib-GObject-WARNING **: 08:55:09.897: cannot register existing type 'GdkDisplay'

    (chessx:1590): GLib-CRITICAL **: 08:55:09.897: g_once_init_leave: assertion 'result != 0' failed

    (chessx:1590): GLib-GObject-CRITICAL **: 08:55:09.897: g_type_register_static: assertion 'parent_type > 0' failed

    (chessx:1590): GLib-CRITICAL **: 08:55:09.897: g_once_init_leave: assertion 'result != 0' failed

    (chessx:1590): GLib-GObject-CRITICAL **: 08:55:09.897: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
    Segmentation fault

    I have no idea what this means.

    Please assist.

     
  • Stanislaus John Wojnowski

    I have commented out sound and speech in chessx.pro.

     
  • Stanislaus John Wojnowski

    When I do the same procedure on another computer using Debian Linux on wsl 2 I get this error when trying to compile:
    collect2: error: ld returned 1 exit status
    make: *** [Makefile:1054: release/chessx] Error 1

     
  • Luigi Baldoni

    Luigi Baldoni - 2021-11-19

    Disregard this, see #305.

     

    Last edit: Luigi Baldoni 2021-11-20
  • Jens Nissen

    Jens Nissen - 2023-03-26
    • status: open --> closed
     

Log in to post a comment.