[BUG] php and argon2 in latest -current (2019.07.04)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[BUG] php and argon2 in latest -current (2019.07.04)
Following the latest update of -current php has trouble with argon2:
Code:
# sudo -u apache php -f /var/www/vhosts/nextcloud-server/htdocs/cron.php
php: error while loading shared libraries: libargon2.so.1: cannot open shared object file: No such file or directory
Furthermore php fails to compile (official slackbuild) ending with
Code:
checking for Argon2 support... yes
checking for Argon2 library... found in /usr
checking for argon2id_hash_raw in -largon2... no
configure: error: Problem with libargon2.(a|so). Please verify that Argon2 header and libaries >= 20161029 are installed
The libargon library is on the correct directory already
Code:
cat /var/lib/pkgtools/packages/argon2-20171227-x86_64-1
PACKAGE NAME: argon2-20171227-x86_64-1
COMPRESSED PACKAGE SIZE: 32K
UNCOMPRESSED PACKAGE SIZE: 130K
PACKAGE LOCATION: argon2-20171227-x86_64-1.txz
PACKAGE DESCRIPTION:
argon2: argon2 (Argon2 password-hashing function)
argon2:
argon2: This is the reference C implementation of Argon2, the password-hashing
argon2: function that won the Password Hashing Competition
argon2: (see https://password-hashing.net).
argon2:
argon2: Argon2 is a password-hashing function that summarizes the state of the
argon2: art in the design of memory-hard functions and can be used for
argon2: credential storage, key derivation, or other applications.
argon2:
argon2: Homepage: https://github.com/P-H-C/phc-winner-argon2
FILE LIST:
./
install/
install/doinst.sh
install/slack-desc
usr/
usr/bin/
usr/bin/argon2
usr/doc/
usr/doc/argon2-20171227/
usr/doc/argon2-20171227/CHANGELOG.md
usr/doc/argon2-20171227/LICENSE
usr/doc/argon2-20171227/README.md
usr/include/
usr/include/argon2.h
usr/lib64/
usr/lib64/libargon2.so.1
usr/lib64/pkgconfig/
usr/lib64/pkgconfig/libargon2.pc
usr/man/
usr/man/man1/
usr/man/man1/argon2.1.gz
Not in the latest version, it's not. Take note of the package version, mine is from latest (July 4th) update:
Code:
PACKAGE NAME: argon2-20190702-x86_64-1
COMPRESSED PACKAGE SIZE: 36K
UNCOMPRESSED PACKAGE SIZE: 170K
PACKAGE LOCATION: ./argon2-20190702-x86_64-1.txz
PACKAGE DESCRIPTION:
argon2: argon2 (Argon2 password-hashing function)
argon2:
argon2: This is the reference C implementation of Argon2, the password-hashing
argon2: function that won the Password Hashing Competition
argon2: (see https://password-hashing.net).
argon2:
argon2: Argon2 is a password-hashing function that summarizes the state of the
argon2: art in the design of memory-hard functions and can be used for
argon2: credential storage, key derivation, or other applications.
argon2:
argon2: Homepage: https://github.com/P-H-C/phc-winner-argon2
FILE LIST:
./
install/
install/doinst.sh
install/slack-desc
usr/
usr/bin/
usr/bin/argon2
usr/doc/
usr/doc/argon2-20190702/
usr/doc/argon2-20190702/CHANGELOG.md
usr/doc/argon2-20190702/LICENSE
usr/doc/argon2-20190702/README.md
usr/include/
usr/include/argon2.h
usr/lib/
usr/lib/x86_64-linux-gnu/
usr/lib/x86_64-linux-gnu/libargon2.a
usr/lib/x86_64-linux-gnu/libargon2.so.1
usr/lib/x86_64-linux-gnu/pkgconfig/
usr/lib/x86_64-linux-gnu/pkgconfig/libargon2.pc
usr/man/
usr/man/man1/
usr/man/man1/argon2.1.gz
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.