From owner-freebsd-ports@freebsd.org Wed Jul 25 11:04:00 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 60BBD10477C9 for ; Wed, 25 Jul 2018 11:04:00 +0000 (UTC) (envelope-from SRS0=fSjh=KJ=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E5A40797DA for ; Wed, 25 Jul 2018 11:03:59 +0000 (UTC) (envelope-from SRS0=fSjh=KJ=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 26A1828458; Wed, 25 Jul 2018 13:03:52 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 68B4628455; Wed, 25 Jul 2018 13:03:45 +0200 (CEST) Subject: Re: libsmbclient broken after update To: Ekkehard 'Ekki' Gehm , freebsd-ports@freebsd.org References: From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: Date: Wed, 25 Jul 2018 13:03:44 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2018 11:04:00 -0000 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