Jump to content

Recommended Posts

Posted

При запуске сервера вылетает ошибка

~ # lighttpd -D -f /opt/etc/lighttpd/lighttpd.conf
PHP Warning:  PHP Startup: Unable to load dynamic library 'gd.so' (tried: /opt/lib/php8/gd.so (libtiff.so.5: cannot open shared object file: No such file or directory), /opt/lib/php8/gd.so.so (/opt/lib/php8/gd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

При этом само расширение вполне себе установлено.

~ # opkg list-installed | grep gd
libgd-full - 2.3.3-1
php8-mod-gd - 8.2.6-1

Есть идеи?

Posted

Отвечаю сам себе: отсутствует символическая ссылка на libtiff.so.5, так как теперь в системе пакет libtiff.so.6.

Лечится так:
 

cd /opt/lib
ln -s libtiff.so.6.0.0 libtiff.so.5

После этого нужно перезапустить используемый web-сервер.

  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies. By clicking "I accept" or continuing to browse the site, you authorize their use in accordance with the Privacy Policy.