Results 1 to 4 of 4

Thread: GNU Backgammon worked in LEAP 42.3 but doesn't work in LEAP 15

  1. #1

    Default GNU Backgammon worked in LEAP 42.3 but doesn't work in LEAP 15

    A couple of days ago, I updated from Leap 42.3 to Leap 15.0 (using KDE in both 42.3 and 15). The documentation was great and the update went smoothly.

    Today I tried to play GNUBackgammon on 15 and it does not show any screen output. I ran it from the KDE menu. and also from the command line. Granted that this is not the biggest deal in the world, but I would like to waste some time playing again.

    The "top" command shows that gunbg is running with 100% CPU usage. Running $gnubg 2>&1 gives no output. I uninstalled it and re-installed it, but that didn't change the behavior.

    Does anyone have suggestions on getting this game running?

    Many thanks,
    Mark

    (This message was also posted in the install/upgrade section. I got no replies after a few days. Sorry, but I could find no way to just move it here after I got no replies there.)

  2. #2
    Join Date
    Jan 2017
    Location
    Nürnberg, Germany
    Posts
    77

    Default Re: GNU Backgammon worked in LEAP 42.3 but doesn't work in LEAP 15

    I too had no luck with gnubg-1.04.001-lp150.1.18.x86_64. My strace -f gnubgtold me that gnubg ran into a futex which either should return immediately or wait, but instead was using 100% of one of my CPU cores. Weird.

    After searching those experimental openSUSE repositories, I found and downloaded Version 1.06. as an RPM package … then, as root:

    • rpm -e --nodeps gnubg
    • rpm -i --nodeps gnubg-1.06.002-34.14.x86_64.rpm


    Back as unprivileged user again, trying to start gnubg, it said it was missing version 8 of the GNU readline library…
    Code:
    ~/Desktop ▶ gnubg -w
    gnubg: error while loading shared libraries: libreadline.so.8: cannot open shared object file: No such file or directory
    Now I could download the readline-8 source, compile it and install it, but then I thought: Is v8 really that different from v7?
    I decided to cheat. As root, I did the following:
    • cd /lib64/
    • ln -s libreadline.so.7.0 libreadline.so.8
    • ln -s libreadline.so.7.0 libreadline.so.8.0


    That’s right, I'm making GNU Backgammon think I got libreadline version 8 installed, but I dont, and gnubg seems fine with it. Quick and dirty, there you go.

  3. #3

    Default Re: GNU Backgammon worked in LEAP 42.3 but doesn't work in LEAP 15

    Quote Originally Posted by unix111 View Post
    I too had no luck with gnubg-1.04.001-lp150.1.18.x86_64. My strace -f gnubgtold me that gnubg ran into a futex which either should return immediately or wait, but instead was using 100% of one of my CPU cores. Weird.

    After searching those experimental openSUSE repositories, I found and downloaded Version 1.06. as an RPM package … then, as root:

    • rpm -e --nodeps gnubg
    • rpm -i --nodeps gnubg-1.06.002-34.14.x86_64.rpm


    Back as unprivileged user again, trying to start gnubg, it said it was missing version 8 of the GNU readline library…
    Code:
    ~/Desktop ▶ gnubg -w
    gnubg: error while loading shared libraries: libreadline.so.8: cannot open shared object file: No such file or directory
    Now I could download the readline-8 source, compile it and install it, but then I thought: Is v8 really that different from v7?
    I decided to cheat. As root, I did the following:
    • cd /lib64/
    • ln -s libreadline.so.7.0 libreadline.so.8
    • ln -s libreadline.so.7.0 libreadline.so.8.0


    That’s right, I'm making GNU Backgammon think I got libreadline version 8 installed, but I dont, and gnubg seems fine with it. Quick and dirty, there you go.

    Thank you. I'll give this a try....

  4. #4

    Default Re: GNU Backgammon worked in LEAP 42.3 but doesn't work in LEAP 15

    Many thanks. Works perfectly. Brilliant solution!!!

Posting Permissions

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