Nextcloud version 184.108.40.206
Ubuntu 18.04.3 LTS
PHP version 7.3.9
I had a perfect installation of Nextcloud on my server at first but now I am getting 2 errors/warnings,
the first error is:
PHP Startup: Unable to load dynamic library ‘smbclient.so’ (tried: /usr/lib/php/20180731/smbclient.so (libmsrpc3.so.0: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/smbclient.so.so (/usr/lib/php/20180731/smbclient.so.so: cannot open shared object file: No such file or directory)) at Unknown#0
the second is a security and setting warning, it says i’m missing PHP module “imagick”.
I was going to just post about the smbclient error but I thought the other error message would be helpful in diagnosing problem. Of course the newest version of php-imagick is already installed.
Where should I begin? It seems like tackling the smbclient error is the first place to start.
Thank you for the reply, I don’t have access to my server right now, so I can’t test out the apt install smbclient , but I can say with certainty that I did attempt apt install php-imagick and the latest version has already been installed.
Ok, I ran your suggested command promps, with interesting results. first smbclient was NOT installed & php-imagick was installed.
The results is that I no longer have the warning saying that PHP module imagick is missing BUT I still have the smbclient.so error.
[PHP] Error: PHP Startup: Unable to load dynamic library ‘smbclient.so’ (tried: /usr/lib/php/20180731/smbclient.so (libmsrpc3.so.0: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/smbclient.so.so (/usr/lib/php/20180731/smbclient.so.so: cannot open shared object file: No such file or directory)) at Unknown#0
Is there another thing I can look at to fix this issue? Thank you,
What makes me think is that the error message indicates that the library is searched for in
When you call
sudo dpkg -L libsmbclient
you find where the official library is installed. Does the folder /usr/lib/php/20180731 exist? How was it created?
And with the crontab command from Nextcloud or when I use “php -v” command I get this :
PHP Warning: PHP Startup: Unable to load dynamic library 'smbclient.so' (tried: /usr/lib/php/20180731/smbclient.so (games
Description: Game of Life simulator using hashlife algorithm
Golly simulates Conway's Game of Life with an arbitrarily large grid
of cells. It can optionally use a hashlife algorithm, which allows
it to rapidly compute generations for huge patterns, and to compute
many generations into the future at a time.
Golly provides a graphical interface for viewing and editing cellular
automata. It supports copy and paste, zoom, auto-fit, multiple
layers, and viewing different areas of a pattern simultaneously in
different areas of a window.
Golly can load patterns from RLE, Life 1.05/1.06, dblife, and
macrocell file formats; it can also interpret images as Life
patterns. in Unknown on line 0
PHP 7.3.12-1+0~20191128.49+debian9~1.gbp24559b (cli) (built: Nov 28 2019 07:38:18) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.12, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.12-1+0~20191128.49+debian9~1.gbp24559b, Copyright (c) 1999-2018, by Zend Technologies
Hello, sorry for the late response, I haven’t had the time to address this error but I will look into it further in the future. I’m doing a kitchen remodel and my wife is due in February, really no time to fix my server, it’s still working ok, but not optimal.