Jump to content

PHP Невозможно загрузить динамическую библиотеку


Recommended Posts

При запуске php7-fpm. Сегодня обновил Entware. Проверил все фалы наместе.

[23-Mar-2021 22:18:56 Europe/Moscow] PHP Warning:  PHP Startup: Unable to load dynamic library 'zip.so' (tried: /opt/lib/php/zip.so (libnettle.so.7: cannot open shared object file: No such file or directory), /opt/lib/php/zip.so.so (/opt/lib/php/zip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

Link to comment
Share on other sites

2 часа назад, zyxmon сказал:

система opkg примитивна, скорее всего не обновились некоторые пакеты. Определите требуемые и обновите вручную.

сверил версии пакетов с репой. всё обновлено. попробую начисто переустановить.

Link to comment
Share on other sites

вопрос решился вот этим средством

opkg list-installed|grep -v "libc "|sed 's/ - .*$//'|grep lib|grep -v libpthread|grep -v libgcc|xargs -n 5 opkg --force-reinstall install

Спасибо Zyxmon

Link to comment
Share on other sites

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...