Skip to main content
Topic: libSDL (Read 731 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

libSDL

lincity-ng: error while loading shared libraries: libSDL_gfx.so.16: cannot open shared object file: No such file or directory

Am right this library is not currently available as a package?
Any other sources to get it?
Operating System: Artix Linux x86_64


Re: libSDL

Reply #2
Thank you for the answer, however I need some more info. I have no response for
$ pacman -Ss sdl_gfx lincity-ng
  so would like to  learn where  I can get these packages from (not from artix I suppose  :o )
Operating System: Artix Linux x86_64

Re: libSDL

Reply #3
Both packages are in Arch repository community. Check if you have added Arch repositories properly and run
Code: [Select]
pacman -Syyuu
Afterwards you should get:
Code: [Select]
$ pacman -Ss lincity-ng
community/lincity-ng 2.0-10
    A city simulation game
$ pacman -Ss sdl_gfx
community/sdl_gfx 2.0.26-5
    SDL graphics drawing primitives and other support functions
How did you install lincity-ng? pamac and octopi are unsupported and not recommended, as well as AUR helpers and partial upgrades.

Re: libSDL

Reply #4
How did you install lincity-ng? pamac and octopi are unsupported and not recommended, as well as AUR helpers and partial upgrades.
Manually from a tarball without dependencies linked to some mirror [1] at pkgs.org. I almost found all the dependencies, except the ones present only in arch repos.
ftp5.gwdg.de/pub/linux/archlinux/community/os/x86_64/lincity-ng-2.0-10-x86_64.pkg.tar.zst
Operating System: Artix Linux x86_64

Re: libSDL

Reply #5
Thank you for the answer, however I need some more info. I have no response for
$ pacman -Ss sdl_gfx lincity-ng
  so would like to  learn where  I can get these packages from (not from artix I suppose  :o )
I think the problem is in your use of the -s option. The manual page for pacman states:
Quote
       -s, --search <regexp>
           Search each locally-installed package for names or
           descriptions that match regexp. When including multiple search
           terms, only packages with descriptions matching ALL of those
           terms are returned.
Since no package satisfies both of the search terms you gave, the command returns nothing. If instead the command is supplied a different regexp:
Code: [Select]
pacman -Ss '(sdl_gfx|lincity-ng)'
both packages are listed in the result.

Re: libSDL

Reply #6
I think the problem is in your use of the -s option.
(...)
both packages are listed in the result.
Yes, they are listed, but only after I added Arch repositories properly. BTW the reason the appropriate entries were missing in my pacman.conf was that I was misguided by the last pacman's message to paste it into, which I took for the confirmation of an automatic update of pacman.conf by pacman -S artix-archlinux-support.
Operating System: Artix Linux x86_64

 

Re: libSDL

Reply #7
BTW the reason the appropriate entries were missing in my pacman.conf was that I was misguided by the last pacman's message to paste it into, which I took for the confirmation of an automatic update of pacman.conf by pacman -S artix-archlinux-support.
The message is there precisely to remind the user to update /etc/pacman.conf, and the wording is:
Code: [Select]
==> Add the arch repos in pacman.conf:
followed by an example pacman.conf layout.