Re: PHP4 with GD on OpenBSD 29
| From: | Amiroot | Date: | Thu, 15 Nov 2001 04:15:05 +0000 |
| Subject: | Re: PHP4 with GD on OpenBSD 29 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-4960@lists.php.net to get a copy of this message | ||
did you use --with-jpeg-dir=<jpgdir> ???
"Lance Spitzner" <lance@honeynet.org>
???????:Pine.LNX.4.30.0111091314180.24321-100000@marge.spitzner.net...
> 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_EXP
AT -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
>