pear-DB extension error

Scott Pell scott at
Thu Sep 9 10:20:45 PDT 2004

Found a bug in the pear-DB port.  It does not install 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/", 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)

More information about the freebsd-ports mailing list