From owner-freebsd-questions@freebsd.org Wed Oct 12 21:27:09 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 24917C0EF91 for ; Wed, 12 Oct 2016 21:27:09 +0000 (UTC) (envelope-from stdin@niklaas.eu) Received: from mx.box-hlm-01.niklaas.eu (mx.box-hlm-01.niklaas.eu [IPv6:2a02:2770:15:0:21a:4aff:fe1b:d1ad]) (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 E7F6F6C2 for ; Wed, 12 Oct 2016 21:27:08 +0000 (UTC) (envelope-from stdin@niklaas.eu) Received: from box-hlm-03.niklaas.eu (unknown [10.77.5.3]) by mx.box-hlm-01.niklaas.eu (Postfix) with ESMTPSA id 8AE7E2C1CD0 for ; Wed, 12 Oct 2016 23:27:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=niklaas.eu; s=default; t=1476307625; bh=gfcMJHERkW9hdjgYVyDs46urzHaeEJCKjQt8cdNJKUc=; h=Date:From:To:Subject:Reply-To; b=yVSrTr6g3SeyNJksfNi3MjbIr4HwQnCqPa8FKvqQdNIbQ/Bu/lfPdnTMfybqTbFTh 7xZKAkN9ilbIaRm/GZ5V2PQzQGI9Us4fXxmZaaFw/2xm00H5gw46GlpPqh/7X2Eeom FoosufKTuNe/dStc3riv3bC7kG7IzGW1B05qqe/A= Date: Wed, 12 Oct 2016 23:27:05 +0200 From: Niklaas Baudet von Gersdorff To: freebsd-questions@freebsd.org Subject: Unable to load dynamic library memcached.so Message-ID: <20161012212705.sm7lvgs2jkn5zv3c@box-hlm-03.niklaas.eu> Reply-To: stdin@niklaas.eu Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20161003 (1.7.0) 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: Wed, 12 Oct 2016 21:27:09 -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.so' - /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. This can't be so difficult. Probably it's too late. Maybe someone from another timezone can help. :-) Niklaas