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

next in thread | previous in thread | raw e-mail | index | archive | help
Hey!


Am 25.07.2018 um 13:03 schrieb Miroslav Lachman:
> 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

Thx for your reply. All build from ports. I do have an old work/build
dir from samba45... In there is named lib... I'll check the build
options. But why is php72-pecl-smbclient-0.9.0_3  building even if it
needs this library? Hmmm.. strange...

Ekki Gehm





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dd070a72-a012-87a5-c63f-fe425aa73837>