php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9744 libgd linking problem
Submitted: 2001-03-14 15:39 UTC Modified: 2001-06-03 20:21 UTC
From: bnies at hsr dot ch Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: HP-UX 11.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bnies at hsr dot ch
New email:
PHP Version: OS:

 

 [2001-03-14 15:39 UTC] bnies at hsr dot ch
I tried to compile PHP with Apache and GD support.


cd apache_1.3.19
CC="cc -Ae" CXX="aCC" ./configure --prefix=/opt/apache

cd ../php-4.0.4pl1
CC="cc -Ae" CXX="aCC" ./configure --prefix=/opt/apache \
  --with-apache=../apache_1.3.19 \
  --enable-memory-limit=yes \
  --enable-debug=no \
  --with-config-file-path=/opt/apache \
  --with-mysql=/opt/mysql \
  --enable-gd-imgstrttf \  
  --with-gd=/opt/gnu \     
  --with-jpeg-dir=/opt/gnu 
make
make install

cd ../apache_1.3.19
CC="cc -Ae" CXX="aCC" ./configure \
  --prefix=/opt/apache \
  --activate-module=src/modules/php4/libphp4.a \
  --enable-module=php4
make


cc -Ae -c  -I./os/unix -I./include   -DHPUX11 -I/opt/apache/src/php-4.0.4pl1
-I/opt/apache/src/php-4.0.4pl1/main -I/opt/apache/src/php-4.0.4pl1/main
-I/opt/apache/src/php-4.0.4pl1/Zend -I/opt/apache/src/php-4.0.4pl1/Zend
-I/opt/apache/src/php-4.0.4pl1/TSRM -I/opt/apache/src/php-4.0.4pl1/TSRM
-I/opt/apache/src/php-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
./apaci modules.c

cc -Ae -c  -I./os/unix -I./include   -DHPUX11 -I/opt/apache/src/php-4.0.4pl1
-I/opt/apache/src/php-4.0.4pl1/main -I/opt/apache/src/php-4.0.4pl1/main
-I/opt/apache/src/php-4.0.4pl1/Zend -I/opt/apache/src/php-4.0.4pl1/Zend
-I/opt/apache/src/php-4.0.4pl1/TSRM -I/opt/apache/src/php-4.0.4pl1/TSRM
-I/opt/apache/src/php-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
./apaci buildmark.c

cc -Ae  -DHPUX11 -I/opt/apache/src/php-4.0.4pl1
-I/opt/apache/src/php-4.0.4pl1/main -I/opt/apache/src/php-4.0.4pl1/main
-I/opt/apache/src/php-4.0.4pl1/Zend -I/opt/apache/src/php-4.0.4pl1/Zend
-I/opt/apache/src/php-4.0.4pl1/TSRM -I/opt/apache/src/php-4.0.4pl1/TSRM
-I/opt/apache/src/php-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
./apaci -o httpd buildmark.o modules.o modules/php4/libphp4.a
modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a
lib/expat-lite/libexpat.a -L/opt/gnu/lib -L/opt/mysql/lib/mysql
-L/opt/gnu/lib -L/opt/mysql/lib/mysql -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4 -lmysqlclient -lgd -ljpeg -lm -lcrypt -lnsl
-L/opt/gnu/lib -ljpeg -lm -lpthread

/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (buildmark.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Duplicate symbol "gdImageColorResolve" in files modules/php4/libphp4.a(gd.o) and /opt/gnu/lib/libgd.a(gd.o)
/usr/ccs/bin/ld: Found 1 duplicate symbol(s)



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-03 20:21 UTC] sniper@php.net
This should be fixed in PHP 4.0.6R. Please try the 
latest release candidate from:

http://www.php.net/~andi/php-4.0.6RC2.tar.gz

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 23:01:27 2025 UTC