Tuesday, December 11, 2018

Re: libsodium.ini contain wrong file name

On 2018/12/11 04:07, johnw wrote:
> Hi, I noticed, pecl72-libsodium-2.0.15.tgz/libsodium.ini contain wrong file
> name.
>
> SHELL# php-7.2
> PHP Warning: PHP Startup: Unable to load dynamic library 'libsodium.so'
> (tried: /usr/local/lib/php-7.2/modules/libsodium.so (File not found),
> /usr/local/lib/php-7.2/modules/libsodium.so.so (File not found))
>
> SHELL# ls /usr/local/lib/php-7.2/modules/
> curl.so gd.so intl.so mysqli.so opcache.so pdo_mysql.so pledge.so
> sodium.so zip.so
>
> It should be sodium.so, not libsodium.so.
>
> Thanks.
>
> --
> Key fingerprint: CDB3 6C62 254B C088 1E5D DD32 182C 97DB CF2C 80AC

I've fixed www/pecl-sodium, the symlink will need to be updated to the
new name (libsodium -> sodium).

This reminded me to enable the built-in built-in ext/sodium support for
php 7.2 - I've now done that and disabled pecl-libsodium for 7.2, so the
extra package and symlink will no longer be needed for php 7.2 after
the next snapshots.

(pecl-libsodium will still be there for 7.1).

No comments:

Post a Comment