Date: Wed, 12 Oct 2016 23:27:05 +0200 From: Niklaas Baudet von Gersdorff <stdin@niklaas.eu> To: freebsd-questions@freebsd.org Subject: Unable to load dynamic library memcached.so Message-ID: <20161012212705.sm7lvgs2jkn5zv3c@box-hlm-03.niklaas.eu>
next in thread | raw e-mail | index | archive | help
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 <my-repo> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161012212705.sm7lvgs2jkn5zv3c>