libsmbclient broken after update

Ekkehard 'Ekki' Gehm freebsd at doom-labs.net
Wed Jul 25 11:51:11 UTC 2018


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




More information about the freebsd-ports mailing list