PHP4 with GD on OpenBSD 29
| From: | Lance Spitzner | Date: | Fri, 09 Nov 2001 19:17:57 +0000 |
| Subject: | PHP4 with GD on OpenBSD 29 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4888@lists.php.net to get a copy of this message | ||
Attempting to install PHP4 with GD support on
OpenBSD 2.9. I installed gd_1.8.3 using OpenBSD
ports.
During the make an error is logged to debug.log,
included below. PHP4 compiles as DSO, but apache
will not start, it bombs with the same error listed
below.
Words of wisdom on how to get PHP/Apache to work?
Thanks!
--- snip snip ---
CONFIGURE: './configure' '--with-mysql' '--with-apxs'
'--with-gd' '--enable-sockets' '--with-config-file-path=/var/www/conf'
'--enable-track-vars'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -DDEV_RANDOM=/dev/arandom -DMOD_SSL=208102 -DEAPI -DUSE_EXPAT -DSUPPORT_UTF8
CXX:
CXXFLAGS:
INCLUDES: -I/usr/lib/apache/include -I$(top_builddir)/Zend
-I/home/lance/php-4.0.6/ext/mysql/libmysql
LDFLAGS:
LIBS: -lgd -lresolv -lm -lresolv
DLIBS:
SAPI: apache
PHP_RPATHS:
uname -a: OpenBSD mozart 2.9 GENERIC#653 i386
gcc -o conftest -g -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=208102 -DEAPI -DUSE_EXPAT -DSUPPORT_UTF8
conftest.c -lgd -lresolv -lm -lresolv 1>&5
/usr/libexec/ld.so: Undefined symbol "_jpeg_resync_to_restart" in
conftest:/usr/local/lib/libgd.so.18.3
--- snip snip ---
--
Lance Spitzner
http://project.honeynet.org