From owner-freebsd-questions@freebsd.org Thu Oct 13 00:33:34 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46477C0DA91 for ; Thu, 13 Oct 2016 00:33:34 +0000 (UTC) (envelope-from orion@blackboxconsortium.com) Received: from vps.getseenmedia.com (vps.getseenmedia.com [184.154.14.79]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0C567FAB for ; Thu, 13 Oct 2016 00:33:33 +0000 (UTC) (envelope-from orion@blackboxconsortium.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=blackboxconsortium.com; s=default; h=Content-Type:In-Reply-To:MIME-Version: Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=FZLxsEzxpTWTV5p6Ur/RGr6cTU5cWOtOEBBL5Auuowo=; b=i1xj4uduzi7QtoFGsCfQSB493 JZHCWHX6fZHficSKejbZNG6pEgRvOYuE+G4e6JGaTLz7/aeoPGLRnIYHWW3E3C0cIMkOtsIF/CBkL yjDAvinyOoJzqOlii8GrtS7IluYsyY6wYiXioMyODztpcYm2G51MAcYHQuhPoandPPo9xXmgqr3jj EyN4EVa2hM5U3eWoqvr/4G70tC5feuH6+9GSS9f/fzcVqUoBjNlzNw6s5dRfAL3Cmf6/+KieEl+Ys ZSAQ1ehfgYVCASrlu1w+pYjbpo4N1bgNwyp/POlNg1D0q1B+nOD2udvhHz5QNiDh1hW0bgJ6+LGTe xaGnivxrA==; Received: from 47-51-33-228.static.mtpk.ca.charter.com ([47.51.33.228]:43978 helo=homemail.leadverticals.com) by vps.getseenmedia.com with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.87) (envelope-from ) id 1buTK3-00065Y-UR for freebsd-questions@freebsd.org; Wed, 12 Oct 2016 16:52:32 -0700 Subject: Re: Unable to load dynamic library memcached.so To: freebsd-questions@freebsd.org References: <20161012212705.sm7lvgs2jkn5zv3c@box-hlm-03.niklaas.eu> From: Orion Tiller Message-ID: Date: Wed, 12 Oct 2016 16:52:25 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20161012212705.sm7lvgs2jkn5zv3c@box-hlm-03.niklaas.eu> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.getseenmedia.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - blackboxconsortium.com X-Get-Message-Sender-Via: vps.getseenmedia.com: authenticated_id: orion@blackboxconsortium.com X-Authenticated-Sender: vps.getseenmedia.com: orion@blackboxconsortium.com X-Source: X-Source-Args: X-Source-Dir: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2016 00:33:34 -0000 > I guess I miss something here: I have a jail with www/nginx and > lang/php56 plus some extensions installed. Since I needed > databases/pecl-memcached, I installed it with > > $ pkg install databases/pecl-memcached > > When I restart php-fpm with > > $ service php-fpm restart > > I get the following error: > > [12-Oct-2016 23:06:54] NOTICE: PHP message: PHP Warning: PHP Startup= : Unable to load dynamic library '/usr/local/lib/php/20131226/memcached.s= o' - /usr/local/lib/php/20131226/memcached.so: Undefined symbol "ps_= globals" in Unknown on line 0 > > Some quick research told me that I need to do > > $ pkg install -Rf lang/php56 > > which I did. This didn't help, same error. So I even did > > $ pkg install -f > > but that was also without any success. Next, I ran > > $ rm -rf /usr/local/lib/php/20131226 > > and again > > $ pkg install -f > > without any success. I thought: "Well, let's build it on your > own" and built lang/php56 and databases/pecl-memcached with > poudriere, installed it from my repository with > > $ pkg install -Rfr lang/php56 databases/pecl-memcached > > and, well, this didn't work either.=20 > > This can't be so difficult. Probably it's too late. Maybe someone > from another timezone can help. :-) > > Niklaas > Not sure if this will help you here but I sometimes have an issue with redis where if the line extension=3Dsession.so isn't loaded first before the redis one in /usr/local/etc/php/extensions.ini I get a similar error to the one you are seeing. The pecl-memcached port also list these as requirements php56-json-5.6.26 , php56-session-5.6.26