pear-DB extension error

Scott Pell scott at apid.com
Thu Sep 9 17:20:45 UTC 2004


Found a bug in the pear-DB port.  It does not install mysql.so in the
/usr/local/lib/php/<dateofbuild>/ directory.  pear-DB complains that an
extension is missing, running a strace revealed this:

open("/usr/local/lib/php/20020429/mysql.so", O_RDONLY) = -1 ENOENT (No such 
file or directory)

Installing lang/php4-extensions with -DWITH_MYSQL set, or the necessary db  
set, takes care of the issue.               

To keep from getting email notes from dummies like me, you may want to
consider adding the php db shared extensions as dependencies.

-- 
Scott Pell
API Digital (TM)
http://www.api-digital.com



More information about the freebsd-ports-bugs mailing list