php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17807 ibm-db2 and gdlib problem
Submitted: 2002-06-17 18:29 UTC Modified: 2002-07-26 01:00 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: tim-php at holymonkey dot com Assigned:
Status: No Feedback Package: GD related
PHP Version: 4.3.0-dev OS: suse-linux 8.0
Private report: No CVE-ID: None
 [2002-06-17 18:29 UTC] tim-php at holymonkey dot com
ibm-db2 works fine when i compile php with the config options

'--with-ibm-db2 --with-apxs' .

however, when i add gdlib and compile with the options

'--with-ibm-db2 --with-apxs --with-gd'

it compiles fine, but the php module fails to load in apache:


linux:~ # /etc/init.d/apache start
Starting httpd [ ]

Syntax error on line 10 of /etc/httpd/suse_loadmodule.conf:
Cannot load /usr/lib/apache/libphp4.so into server:
/usr/lib/apache/libphp4.so: undefined symbol: SQLParamData


Basically, adding the '--with-gd' option to the php compile breaks db2
support on my machine.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-17 18:38 UTC] tim-php at holymonkey dot com
seems like this fits better in the gd related bug category
 [2002-06-17 18:53 UTC] sniper@php.net
Can you first try this snapshot:

http://snaps.php.net/php4-latest.tar.gz

--Jani

 [2002-06-18 09:59 UTC] tim-php at holymonkey dot com
i tried the snapshot and got the same results. i set up anonymous cvs access, so i can test the latest development version anytime.
 [2002-06-18 17:29 UTC] sniper@php.net
Can you check (with the latest CVS checkout) what
the config.log has to say about the GD and ibm-db2 checks?

Also, can you compare the main/php_config.h when you
have --with-gd and when you don't have it.

 [2002-06-20 18:34 UTC] truth at ichaos dot com
I get this error when I use --with-mcrypt, but only if mcrypt is version > 2.4.7. It might be something with the -lltdl. I am using IBM DB2 v7.2.
 [2002-06-25 13:46 UTC] sniper@php.net
I can not reproduce this with 4.3.0-dev.
Do you have the path to the DB2 libs in your /etc/ld.so.conf ??

And what does 'ldd libphp4.so' output?


 [2002-07-26 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 18:01:30 2024 UTC