Bug 205013 - databases/php56-redis: PHP Startup: Unable to load dynamic library
Summary: databases/php56-redis: PHP Startup: Unable to load dynamic library
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-04 10:38 UTC by Marko Cupać
Modified: 2015-12-05 10:14 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (m.tsatsenko)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Cupać 2015-12-04 10:38:37 UTC
I am getting these in my httpd-error.log:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/redis.so' - /usr/local/lib/php/20131226/redis.so: Undefined symbol "php_session_create_id" in Unknown on line 0

As a consequence, owncloud stopped working until I disabled references to redis.

I think this happened after upgrade of php56-* packages from 5.6.14 -> 5.6.16 on 01.12.2015. Packages are built in poudriere.

Any help appreciated.
Comment 1 m.tsatsenko 2015-12-04 20:21:24 UTC
That is because you are using php56-redis package built against php 5.6.14
You should manually reinstall php56-redis each time when you are updating php56. This pkg limitation not the port problem and there is nothing can be done at my level to fix the issue. By the way: the same applies at least to pecl-memcache port.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2015-12-05 09:00:13 UTC
Marko,

Can you confirm that rebuilding have solved that problem?
Comment 3 Marko Cupać 2015-12-05 10:13:41 UTC
(In reply to Martin Wilke from comment #2)

Sorry guys, took me some time to get back to this. Forced reinstall (pkg install -f databases/php56-redis) solved the isssue.

Thank you for your help, and also for the tip about need to reinstall. Perhaps it could be put to pkg-message?

Regards,