Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2018 13:03:44 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Ekkehard 'Ekki' Gehm <freebsd@doom-labs.net>, freebsd-ports@freebsd.org
Subject:   Re: libsmbclient broken after update
Message-ID:  <fc45f1b8-02d5-2321-46f0-6e40e157499b@quip.cz>
In-Reply-To: <bc59bd4d-b30e-f628-f0d4-f0fe130f7360@doom-labs.net>
References:  <bc59bd4d-b30e-f628-f0d4-f0fe130f7360@doom-labs.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fc45f1b8-02d5-2321-46f0-6e40e157499b>