Opened 15 years ago
Closed 15 years ago
#20530 closed defect (fixed)
php5-mysql +mysqlnd doesn't load into php5
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | peimei@… | |
Port: | php5-mysql |
Description
Installing php5-mysql +mysqlnd (the default variant) works, but causes php itself to fail to work, reporting:
PHP Warning: Cannot load module 'mysql' because required module 'mysqlnd' is not loaded in Unknown on line 0 dyld: lazy symbol binding failed: Symbol not found: __mysqlnd_palloc_rinit Referenced from: /mp/lib/php/extensions/no-debug-non-zts-20090626/mysqli.so Expected in: dynamic lookup dyld: Symbol not found: __mysqlnd_palloc_rinit Referenced from: /mp/lib/php/extensions/no-debug-non-zts-20090626/mysqli.so Expected in: dynamic lookup Trace/BPT trap
This is on Tiger and Leopard. I am asking the PHP mailing list for assistance.
Change History (4)
comment:1 Changed 15 years ago by peimei@…
comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Status: | new → assigned |
---|
I know. Everyone will have the same problem. It's simply broken for now. Use the +mysqlnd variant in the php5 port instead of the php5-mysql port for now until I fix this.
I have been told off-list that I can add this to the php5 portfile to fix it:
configure.env-append PHP_MYSQLND_ENABLED=yes
I have not tested that sufficiently to know whether that is enough to make it work.
comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
I have the same problem.