I have installed lampp(XAMPP) server on my ubuntu pc and now I want to add mongodb extension to it's PHP. So I tried sudo /opt/lampp/bin/pecl install mongodb
and it successfully installed it. But after that, when I try to start lampp server It just pop up:
XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system
So here is the Github issue I was created for this.
I also tried build this extension manually for both 64-bit and 32-bit and install it(refer this), in 32-bit case it shows another error(for more details you can refer this) but in 64-bit it shows same massage as above.
Note: Here is the output for /opt/lampp/bin/php -v
/opt/lampp/bin/php: relocation error: /opt/lampp/lib/php/extensions/no-debug-non-zts-20160303/mongodb.so: symbol SSL_library_init, version OPENSSL_1.0.0 not defined in file libssl.so.1.0.0 with link time reference
Can anyone tell me how to fix this issue??