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?
$ LC_ALL=C pacman -Si lincity-ng | grep Depends
Depends On : sdl_mixer sdl_ttf sdl_image physfs libxml2 sdl_gfx libgl
$ pacman -Fl sdl_gfx | grep so.16
sdl_gfx usr/lib/libSDL_gfx.so.16
sdl_gfx usr/lib/libSDL_gfx.so.16.9.1
Don't skip the dependencies for the package.
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 )
Both packages are in Arch repository community. Check if you have added Arch repositories properly (https://wiki.artixlinux.org/Main/Repositories#Arch_repositories) and run
pacman -Syyuu
Afterwards you should get:
$ 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 (https://wiki.archlinux.org/title/AUR_helpers) and partial upgrades (https://wiki.archlinux.org/title/System_maintenance#Partial_upgrades_are_unsupported).
Manually from a tarball without dependencies linked to some mirror at pkgs.org. I almost found all the dependencies, except the ones present only in arch repos.
I think the problem is in your use of the
-s option. The manual page for pacman states:
Since no package satisfies both of the search terms you gave, the command returns nothing. If instead the command is supplied a different regexp:
pacman -Ss '(sdl_gfx|lincity-ng)'
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.
The message is there precisely to remind the user to update /etc/pacman.conf, and the wording (https://gitea.artixlinux.org/packagesA/artix-archlinux-support/src/branch/master/trunk/arch-repos-hook.script#L31) is:
==> Add the arch repos in pacman.conf:
followed by an example pacman.conf layout.