libsmbclient broken after update

Miroslav Lachman 000.fbsd at quip.cz
Wed Jul 25 11:04:00 UTC 2018


Ekkehard 'Ekki' Gehm wrote on 2018/07/25 11:05:
> Hey everybody,
> 
> I do have an annoying issue here. I am not sure if I am just to stupit
> for that. In that case just give me a heads up ;-)
> 
> After updating, it seems the smbclient is broken....
> 
> 
> Situation:
> 
> FreeBSD 11.1-RELEASE
> 
> php72-7.2.8
> 
> php72-pecl-smbclient-0.9.0_3
> 
> nextcloud-php72-13.0.4
> 
> samba48-4.8.2_1
> 
> Problem:
> 
> # su -m www -c "php ./occ status"
> PHP Warning:  PHP Startup: Unable to load dynamic library 'smbclient.so'
> (tried: /usr/local/lib/php/20170718-zts/smbclient.so (Shared object
> "libsmbregistry-samba4.so" not found, required by "libsmbclient.so.0"),
> /usr/local/lib/php/20170718-zts/smbclient.so.so (Cannot open
> "/usr/local/lib/php/20170718-zts/smbclient.so.so")) in Unknown on line 0
> The process control (PCNTL) extensions are required in case you want to
> interrupt long running commands - see
> http://php.net/manual/en/book.pcntl.php
>    - installed: true
>    - version: 13.0.4.0
>    - versionstring: 13.0.4
>    - edition:

Can you find libsmbregistry-samba4.so somewhere in your system?
Did you install packages from official FreeBSD repo or did you built 
them on your machine?

It seems that you need Samba built with some proper options. I have 
Samba installed but I don't have libsmbregistry-samba4.so in my system.

Miroslav Lachman


More information about the freebsd-ports mailing list