PHP4 issues with GD from OpenBSD 3.0 ports
| From: | Iván Montoro Ten | Date: | Tue, 16 Apr 2002 15:54:31 +0000 |
| Subject: | PHP4 issues with GD from OpenBSD 3.0 ports | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6653@lists.php.net to get a copy of this message | ||
Hi,
Here goes the dump from the debug.log file while trying to compile PHP4.
----------------------------------------------------------------------------
--------------------------------------------
CONFIGURE: './configure' '--prefix=/var/knowgate/php4'
'--with-apache=../apache_1.3.24' '--with-mysql=/usr/local' '--with-openssl=
/var/knowgate/openssl/' '--enable-ftp' '--with-ldap'
'--enable-sockets'
'--with-gd=/usr/local/' '--with-jpeg=/usr/local/'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES: -I/var/tmp/xtras/apache/apache_1.3.24/src/include -I/var/tmp/xt
ras/apache/apache_1.3.24/src/os/unix -I$(top_builddir)/
Zend -I/var/knowgate/openssl//include -I/usr/local//include -I/usr/local/inc
lude -I/usr/local/include/mysql
LDFLAGS: -R/var/knowgate/openssl//lib -L/var/knowgate/openssl//lib -R/us
r/local//lib -L/usr/local//lib -R/usr/local/lib -L/usr/l
ocal/lib
LIBS: -lmysqlclient -lldap -llber -lgd -lssl -lcrypto -lresolv -lm -l
resolv
DLIBS:
SAPI: apache
PHP_RPATHS: /var/knowgate/openssl//lib /usr/local//lib /usr/local/lib
uname -a: OpenBSD furia 3.0 GENERIC#94 i386
gcc -o
conftest -g -O2 -R/var/knowgate/openssl//lib -L/var/knowgate/openssl//lib
-R/usr/local//lib -L/usr/local//lib -R/usr/local/
lib -L/usr/local/lib
conftest.c -lmysqlclient -lldap -llber -lgd -lssl -lcrypto -lresolv -lm -lr
esolv 1>&5
/usr/libexec/ld.so: Undefined symbol "_jpeg_resync_to_restart" in
conftest:/usr/local/lib/libgd.so.18.3
----------------------------------------------------------------------------
--------------------------------------------
OpenBSD 3.0 with libgd compiled from ports directory: pkg_info follows:
----------------------------------------------------------------------------
--------------------------------------------
bash-2.05 GNU Bourne Again Shell
p5-Net-SSLeay-1.13 perl module for using OpenSSL
autoconf-2.13 automatically configure source code on many Un*x
platforms
squid-2.5.PRE5-transparent WWW and FTP proxy cache and accelerator
ntp-4.1.72 network time protocol implementation
bind-9.2.0-static Berkeley Internet Name Daemon
openldap-client-2.0.23 Open source LDAP software (client)
ipfm-0.11.4 IP bandwidth analysis tool
mysql-client-3.23.49 multithreaded SQL database (client)
p5-DBI-1.21 unified perl interface for database access
p5-DBD-Msql-Mysql-1.22.19 MySQL drivers for the Perl DBI
mysql-server-3.23.49 multithreaded SQL database (server)
jpeg-6b IJG's JPEG compression utilities
png-1.2.1 library for manipulating PNG images
libiconv-1.7 character set conversion library
gettext-0.10.40 GNU gettext
gmake-3.79.1 GNU make
freetype-1.3.1 free and portable TrueType font rendering engine
gd-1.8.3 graphics library for fast PNG creation
p5-GD-1.33 module to interface with the GD graphics library
----------------------------------------------------------------------------
--------------------------------------------
The "configure" string follows. It works removing last two options (GD and
JPEG). OpenLDAP client, mySQL and OpenSSL are running OK.
----------------------------------------------------------------------------
--------------------------------------------
./configure --prefix=/var/knowgate/php4 --with-apache=../apache_1.3.24 --wit
h-mysql=/usr/local --with-openssl=/var/knowgate/openssl/ --enable-ftp --with
-ldap --enable-sockets --with-gd=/usr/local/ --with-jpeg=/usr/local/
----------------------------------------------------------------------------
--------------------------------------------
Thanks,
Ivan Montoro