I am having trouble with installing a package, php5-core for OpenBSD 4.6 (i386). There is a dependency that cannot be resolved. php5-core requires libiconv-1.12, and a package only exists for libiconv-1.13.
# pkg_add -r php5-core Can't install php5-core-5.2.10: lib not found iconv.6.0 Dependencies for php5-core-5.2.10 resolve to: libiconv-1.12, libxml-2.6.32p3, gettext-0.17p0 Full dependency tree is libiconv-1.12,libxml-2.6.32p3,gettext-0.17p0 iconv.6.0: partial match in /usr/local/lib: major=5, minor=0 (bad major) I've also tried building php from ports with no luck due to a problem with one of the patches... ===> Extracting for php5-core-5.2.11 ===> Patching for php5-core-5.2.11 `/usr/ports/obj/php5-core-5.2.11/.prepatch_done' is up to date. ===> Applying distribution patches for php5-core-5.2.11 Ignoring previously applied (or reversed) patch. 2 out of 2 hunks ignored--saving rejects to ext/date/lib/parse_date.re.rej ***> patch-ext_date_lib_parse_date_re did not apply cleanly Ignoring previously applied (or reversed) patch. 1 out of 1 hunks ignored--saving rejects to ext/date/lib/timelib.h.rej ***> patch-ext_date_lib_timelib_h did not apply cleanly Ignoring previously applied (or reversed) patch. 1 out of 1 hunks ignored--saving rejects to ext/date/php_date.c.rej ***> patch-ext_date_php_date_c did not apply cleanly *** Error code 1 Stop in /usr/ports/www/php5/core (line 2091 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/www/php5/core (line 1444 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/www/php5/core (line 1984 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/www/php5/core (line 1474 of /usr/ports/infrastructure/mk/bsd.port.mk). ===> Exiting www/php5/core with an error *** Error code 1 Stop in /usr/ports/www/php5 (line 129 of /usr/ports/infrastructure/mk/bsd.port.subdir.mk).

