libSDL 22 April 2022, 16:04:39 lincity-ng: error while loading shared libraries: libSDL_gfx.so.16: cannot open shared object file: No such file or directoryAm right this library is not currently available as a package?Any other sources to get it?
Re: libSDL Reply #1 – 22 April 2022, 16:10:14 Code: [Select]$ LC_ALL=C pacman -Si lincity-ng | grep DependsDepends On : sdl_mixer sdl_ttf sdl_image physfs libxml2 sdl_gfx libgl$ pacman -Fl sdl_gfx | grep so.16sdl_gfx usr/lib/libSDL_gfx.so.16sdl_gfx usr/lib/libSDL_gfx.so.16.9.1Don't skip the dependencies for the package. 1 Likes
Re: libSDL Reply #2 – 22 April 2022, 20:39:34 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 )
Re: libSDL Reply #3 – 22 April 2022, 21:56:39 Both packages are in Arch repository community. Check if you have added Arch repositories properly and runCode: [Select]pacman -SyyuuAfterwards you should get:Code: [Select]$ pacman -Ss lincity-ngcommunity/lincity-ng 2.0-10 A city simulation game$ pacman -Ss sdl_gfxcommunity/sdl_gfx 2.0.26-5 SDL graphics drawing primitives and other support functionsHow 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 – 23 April 2022, 15:10:29 Quote from: strajder – on 22 April 2022, 21:56:39How 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.1 ftp5.gwdg.de/pub/linux/archlinux/community/os/x86_64/lincity-ng-2.0-10-x86_64.pkg.tar.zst↵
Re: libSDL Reply #5 – 23 April 2022, 16:41:38 Quote from: kur-ka – on 22 April 2022, 20:39:34Thank 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 )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 – 24 April 2022, 12:45:04 Quote from: strajder – on 23 April 2022, 16:41:38I 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.
Re: libSDL Reply #7 – 24 April 2022, 17:29:12 Quote from: kur-ka – on 24 April 2022, 12:45:04BTW 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.