Bug #15873 Updated: special build error with apache using php module after system-compoment changed
| From: | Xuefer at 21cn dot com | Date: | Wed, 06 Mar 2002 18:16:32 +0000 |
| Subject: | Bug #15873 Updated: special build error with apache using php module after system-compoment changed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-1812@lists.php.net to get a copy of this message | ||
ID: 15873
Updated by: Xuefer@21cn.com
Reported By: Xuefer@21cn.com
Status: Feedback
Bug Type: Apache related
Operating System: rh linux 7.2
PHP Version: 4.1.2
New Comment:
well, i did have uninstalled gd-1.4.8 (i didn't notice the version
before), by "rpm -e gd-1.4.8"
but the version i reinstall is also gd-1.4.8 source
and compile/install to /usr/local/ (rpm version should be /usr/)
i've done "rm -f config.cache"
dunno why "configure" still think that nothing changed
so can't link with gd and give out "undefined reference" error
Previous Comments:
------------------------------------------------------------------------
[2002-03-06 06:12:55] sander@php.net
This might be caused by multiple versions of GD being installed. Check
if the old version is really gone and try again :)
------------------------------------------------------------------------
[2002-03-05 08:30:31] Xuefer@21cn.com
what i did:
step1:
redhat7.2
with gd/jpeg/... support
build php as apache module
ok, works
step2:
uninstall some of the redhat rpm
download gd/jpeg and build it
reconfig php; make clean; make; make install;
all passed;
step3:
now reconfig apache, rebuild apache
failed! undefined reference to gdImageCreate gdImage....
and so on...
i've tried so many times, still get such error.
and by change, i did the following command in apache src-package
directory:
[apache]# rm src/modules/php4/libphp4.module
and:
[php]# make install
[apache]# make
all pass! it works.
in a word, libphp4.module was not reinstalled correctly!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15873&edit=1