How to install libsodium on XAMPP VM

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

How to install libsodium on XAMPP VM

Postby godonka » 04. August 2020 10:00

Hi I got this error message while trying to install Joomla 4 on XAMPP VM :
Error This is not implemented, as it is not possible to implement Argon2i with acceptable performance in pure-PHP

I googled out and found that it's because libsodium that is not installed. Then I tried to install it using
Code: Select all
pecl install -f libsodium

and it doesn't work. It said that :

Code: Select all
Warning: PHP Startup: Unable to load dynamic library 'php_libsodium.dll' (tried: /opt/lampp/lib/php/extensions/no-debug-non-zts-20190902/php_libsodium.dll (/opt/lampp/lib/php/extensions/no-debug-non-zts-20190902/php_libsodium.dll: cannot open shared object file: No such file or directory), /opt/lampp/lib/php/extensions/no-debug-non-zts-20190902/php_libsodium.dll.so (/opt/lampp/lib/php/extensions/no-debug-non-zts-20190902/php_libsodium.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading libsodium-2.0.22.tgz ...
Starting to download libsodium-2.0.22.tgz (28,531 bytes)
.........done: 28,531 bytes
4 source files, building
running: phpize
grep: /opt/lampp/include/php/main/php.h: No such file or directory
grep: /opt/lampp/include/php/Zend/zend_modules.h: No such file or directory
grep: /opt/lampp/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.

ERROR: `phpize' failed


What should else I do?
Thanks
godonka
 
Posts: 7
Joined: 04. August 2020 09:55
XAMPP version: 7.4.8
Operating System: Mac

Re: How to install libsodium on XAMPP VM

Postby godonka » 04. August 2020 23:33

strangely it's exist in phpinfo()Image
godonka
 
Posts: 7
Joined: 04. August 2020 09:55
XAMPP version: 7.4.8
Operating System: Mac

Re: How to install libsodium on XAMPP VM

Postby godonka » 05. August 2020 00:56

This is so frustating, anybody can help? Thanks!
godonka
 
Posts: 7
Joined: 04. August 2020 09:55
XAMPP version: 7.4.8
Operating System: Mac

Re: How to install libsodium on XAMPP VM

Postby godonka » 05. August 2020 00:57

I'm using MacOS Catalina anyway
godonka
 
Posts: 7
Joined: 04. August 2020 09:55
XAMPP version: 7.4.8
Operating System: Mac

Re: How to install libsodium on XAMPP VM

Postby godonka » 05. August 2020 02:01

I give up with xampp vm. I installed xampp for osx 7.4.8 and you know what ... the issue persist ... errrrgggh
godonka
 
Posts: 7
Joined: 04. August 2020 09:55
XAMPP version: 7.4.8
Operating System: Mac

Re: How to install libsodium on XAMPP VM

Postby godonka » 05. August 2020 03:27

:shock: :shock: :shock: :? :? :? It's a bug of XAMP 7.4.8 errrggggh ... libsodium is working good with XAMPP 7.3.20 ... :( :( :( wish I could get back my hours of efforts
godonka
 
Posts: 7
Joined: 04. August 2020 09:55
XAMPP version: 7.4.8
Operating System: Mac

Re: How to install libsodium on XAMPP VM

Postby Nobbie » 05. August 2020 09:49

godonka wrote: wish I could get back my hours of efforts


Of course, get your money back you paid to BItnami for their Xampp distribution.
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 52 guests