установил игру на базе Ку1, при запуске
mist@debian:~/Downloads/nQuake/y$ ./ezquake-linux-x86_64
./ezquake-linux-x86_64: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
ставлю libpng12-0_1.2.50-2+deb8u3_amd64.deb
mist@debian:~/Downloads$ sudo dpkg -i libpng12-0_1.2.50-2+deb8u3_amd64.deb
(Reading database ... 400020 files and directories currently installed.)
Preparing to unpack libpng12-0_1.2.50-2+deb8u3_amd64.deb ...
Unpacking libpng12-0:amd64 (1.2.50-2+deb8u3) ...
dpkg: error processing archive libpng12-0_1.2.50-2+deb8u3_amd64.deb (--install):
unable to install new version of '/usr/lib/x86_64-linux-gnu/libpng12.so.0': No such file or directory
Errors were encountered while processing:
libpng12-0_1.2.50-2+deb8u3_amd64.deb
почему не ставиться libpng12.so.0?
apt install libpng-dev
не помогло
libpng12-dev 1.2.49-4ubuntu1
не ставиться
mist@debian:~/Downloads$ sudo dpkg -i libpng12-dev_1.2.49-4ubuntu1_amd64.deb
Selecting previously unselected package libpng12-dev.
dpkg: regarding libpng12-dev_1.2.49-4ubuntu1_amd64.deb containing libpng12-dev:
libpng12-dev conflicts with libpng-dev
libpng-dev:amd64 (version 1.6.36-6) is present and installed.
dpkg: error processing archive libpng12-dev_1.2.49-4ubuntu1_amd64.deb (--install):
conflicting packages - not installing libpng12-dev
Errors were encountered while processing:
libpng12-dev_1.2.49-4ubuntu1_amd64.deb
собрал, не помогает, https://launchpad.net/debian/+source/libpng/1.2.49-1+deb7u2
mist@debian:~/Downloads/libpng-1.2.49$ sudo make install
make[1]: Entering directory '/home/mist/Downloads/libpng-1.2.49'
test -z "/usr/local/bin" || /usr/bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c libpng12-config '/usr/local/bin'
test -z "/usr/local/lib" || /usr/bin/mkdir -p "/usr/local/lib"
/bin/bash ./libtool --mode=install /usr/bin/install -c libpng12.la libpng.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libpng12.so.0.49.0 /usr/local/lib/libpng12.so.0.49.0
libtool: install: (cd /usr/local/lib && { ln -s -f libpng12.so.0.49.0 libpng12.so.0 || { rm -f libpng12.so.0 && ln -s libpng12.so.0.49.0 libpng12.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libpng12.so.0.49.0 libpng12.so || { rm -f libpng12.so && ln -s libpng12.so.0.49.0 libpng12.so; }; })
libtool: install: /usr/bin/install -c .libs/libpng12.lai /usr/local/lib/libpng12.la
libtool: install: /usr/bin/install -c .libs/libpng.so.3.49.0 /usr/local/lib/libpng.so.3.49.0
libtool: install: (cd /usr/local/lib && { ln -s -f libpng.so.3.49.0 libpng.so.3 || { rm -f libpng.so.3 && ln -s libpng.so.3.49.0 libpng.so.3; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libpng.so.3.49.0 libpng.so || { rm -f libpng.so && ln -s libpng.so.3.49.0 libpng.so; }; })
libtool: install: /usr/bin/install -c .libs/libpng.lai /usr/local/lib/libpng.la
libtool: install: /usr/bin/install -c .libs/libpng12.a /usr/local/lib/libpng12.a
libtool: install: chmod 644 /usr/local/lib/libpng12.a
libtool: install: ranlib /usr/local/lib/libpng12.a
libtool: install: /usr/bin/install -c .libs/libpng.a /usr/local/lib/libpng.a
libtool: install: chmod 644 /usr/local/lib/libpng.a
libtool: install: ranlib /usr/local/lib/libpng.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make install-exec-hook
make[2]: Entering directory '/home/grovekeeper/Downloads/libpng-1.2.49'
cd /usr/local/bin; rm -f libpng-config
cd /usr/local/bin; ln -s libpng12-config libpng-config
+ cd /usr/local/lib
+ for ext in a la so sl dylib
+ rm -f libpng.a
+ test -f libpng12.a
+ ln -s libpng12.a libpng.a
+ for ext in a la so sl dylib
+ rm -f libpng.la
+ test -f libpng12.la
+ ln -s libpng12.la libpng.la
+ for ext in a la so sl dylib
+ rm -f libpng.so
+ test -f libpng12.so
+ ln -s libpng12.so libpng.so
+ for ext in a la so sl dylib
+ rm -f libpng.sl
+ test -f libpng12.sl
+ for ext in a la so sl dylib
+ rm -f libpng.dylib
+ test -f libpng12.dylib
make[2]: Leaving directory '/home/grovekeeper/Downloads/libpng-1.2.49'
test -z "/usr/local/share/man/man3" || /usr/bin/mkdir -p "/usr/local/share/man/man3"
/usr/bin/install -c -m 644 libpng.3 libpngpf.3 '/usr/local/share/man/man3'
test -z "/usr/local/share/man/man5" || /usr/bin/mkdir -p "/usr/local/share/man/man5"
/usr/bin/install -c -m 644 png.5 '/usr/local/share/man/man5'
test -z "/usr/local/lib/pkgconfig" || /usr/bin/mkdir -p "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 libpng12.pc '/usr/local/lib/pkgconfig'
test -z "/usr/local/include/libpng12" || /usr/bin/mkdir -p "/usr/local/include/libpng12"
/usr/bin/install -c -m 644 png.h pngconf.h '/usr/local/include/libpng12'
make install-data-hook
make[2]: Entering directory '/home/grovekeeper/Downloads/libpng-1.2.49'
cd /usr/local/include; rm -f png.h pngconf.h
cd /usr/local/include; ln -s libpng12/png.h png.h
cd /usr/local/include; ln -s libpng12/pngconf.h pngconf.h
cd /usr/local/lib/pkgconfig; rm -f libpng.pc
cd /usr/local/lib/pkgconfig; ln -s libpng12.pc libpng.pc
make[2]: Leaving directory '/home/grovekeeper/Downloads/libpng-1.2.49'
make[1]: Leaving directory '/home/grovekeeper/Downloads/libpng-1.2.49'
сделал симлинки на то чего не хватает, теперь такое
mist@debian:/usr/lib/x86_64-linux-gnu$
mist@debian:~/Downloads/nQuake/y$ ./ezquake-linux-x86_64
./ezquake-linux-x86_64: /lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./ezquake-linux-x86_64)
./ezquake-linux-x86_64: /lib/x86_64-linux-gnu/libjpeg.so.8: version `LIBJPEG_8.0' not found (required by ./ezquake-linux-x86_64)
./ezquake-linux-x86_64: /lib/x86_64-linux-gnu/libpng12.so.0: version `PNG12_0' not found (required by ./ezquake-linux-x86_64)
Почему такие грабли?