Добрый день установил на сервер gd-php , GD library Version 2.2.3 нужно обновить до 2.2.5.
Скачал архивчик https://github.com/libgd/libgd/releases/tag/gd-2.2.5
Распаковал в домашнюю директорию.
cd libgd-2.2.5 ./configure make check
============================================================================
Testsuite summary for GD 2.2.5
============================================================================
# TOTAL: 151
# PASS: 151
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
sudo make install
Making install in src
make[1]: Entering directory '/home/cb-admin/libgd-2.2.5/src'
make[2]: Entering directory '/home/cb-admin/libgd-2.2.5/src'
/bin/mkdir -p '/usr/local/lib'
/bin/bash ../libtool --mode=install /usr/bin/install -c libgd.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libgd.so.3.0.5 /usr/local/lib/libgd.so.3.0.5
libtool: install: (cd /usr/local/lib && { ln -s -f libgd.so.3.0.5 libgd.so.3 || { rm -f libgd.so.3 && ln -s libgd.so.3.0.5 libgd.so.3; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libgd.so.3.0.5 libgd.so || { rm -f libgd.so && ln -s libgd.so.3.0.5 libgd.so; }; })
libtool: install: /usr/bin/install -c .libs/libgd.lai /usr/local/lib/libgd.la
libtool: install: /usr/bin/install -c .libs/libgd.a /usr/local/lib/libgd.a
libtool: install: chmod 644 /usr/local/lib/libgd.a
libtool: install: ranlib /usr/local/lib/libgd.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/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.
----------------------------------------------------------------------
/bin/mkdir -p '/usr/local/bin'
/bin/bash ../libtool --mode=install /usr/bin/install -c gdcmpgif gdtopng pngtogd webpng gdparttopng gd2topng pngtogd2 gd2copypal gd2togif giftogd2 '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/gdcmpgif /usr/local/bin/gdcmpgif
libtool: install: /usr/bin/install -c .libs/gdtopng /usr/local/bin/gdtopng
libtool: install: /usr/bin/install -c .libs/pngtogd /usr/local/bin/pngtogd
libtool: install: /usr/bin/install -c .libs/webpng /usr/local/bin/webpng
libtool: install: /usr/bin/install -c .libs/gdparttopng /usr/local/bin/gdparttopng
libtool: install: /usr/bin/install -c .libs/gd2topng /usr/local/bin/gd2topng
libtool: install: /usr/bin/install -c .libs/pngtogd2 /usr/local/bin/pngtogd2
libtool: install: /usr/bin/install -c .libs/gd2copypal /usr/local/bin/gd2copypal
libtool: install: /usr/bin/install -c .libs/gd2togif /usr/local/bin/gd2togif
libtool: install: /usr/bin/install -c .libs/giftogd2 /usr/local/bin/giftogd2
/bin/mkdir -p '/usr/local/bin'
/usr/bin/install -c bdftogd '/usr/local/bin'
/bin/mkdir -p '/usr/local/include'
/usr/bin/install -c -m 644 gd.h gdfx.h gd_io.h gdcache.h gdfontg.h gdfontl.h gdfontmb.h gdfonts.h gdfontt.h entities.h gd_color_map.h gd_errors.h gdpp.h '/usr/local/include'
make[2]: Leaving directory '/home/cb-admin/libgd-2.2.5/src'
make[1]: Leaving directory '/home/cb-admin/libgd-2.2.5/src'
Making install in config
make[1]: Entering directory '/home/cb-admin/libgd-2.2.5/config'
make[2]: Entering directory '/home/cb-admin/libgd-2.2.5/config'
/bin/mkdir -p '/usr/local/bin'
/usr/bin/install -c gdlib-config '/usr/local/bin'
/bin/mkdir -p '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 gdlib.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory '/home/cb-admin/libgd-2.2.5/config'
make[1]: Leaving directory '/home/cb-admin/libgd-2.2.5/config'
Making install in tests
make[1]: Entering directory '/home/cb-admin/libgd-2.2.5/tests'
make[2]: Entering directory '/home/cb-admin/libgd-2.2.5/tests'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/cb-admin/libgd-2.2.5/tests'
make[1]: Leaving directory '/home/cb-admin/libgd-2.2.5/tests'
make[1]: Entering directory '/home/cb-admin/libgd-2.2.5'
make[2]: Entering directory '/home/cb-admin/libgd-2.2.5'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/cb-admin/libgd-2.2.5'
make[1]: Leaving directory '/home/cb-admin/libgd-2.2.5'
Версия gd lib так и осталась 2.2.3, не пойму что не так. Я плохо в этом всём разбираюсь, но есть ощущение что установка не выполнилась, или что-то не доделал) Подскажите что не так может быть? Спасибо.