php-install Digest 4 May 2001 09:58:36 -0000 Issue 292 Topics (messages 3019 through 3030): Re: PHP 4.0.5 & gd 3019 by: James Kapherr 3023 by: Dave Mariner 3025 by: Dave Mariner Re: --with-pdflib... stops on show_boxed 3020 by: Grimes, Dean compile problem with IBM DB2 3021 by: Jeff Warrington 3022 by: Steve Brazill 3024 by: Jeff Warrington Re: php-mysql-4.0.4pl1-3.i386.rpm install problem 3026 by: Tom Gordon How to get user IP address on PHP Program ? 3027 by: Perrin Lee WinME, PHP and Apache 3028 by: POldham PHP Not showing correct version (?) 3029 by: James Kapherr gcc compilation error - php-4.0.5 on solaris 2.6 3030 by: c&w Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
VERY nice m8 Thanks for taking the time to write it out - was gonna post a topic on the order to install Perl, PHP, MySQL, Apache etc =) James -----Original Message----- From: Philip Snyder [mailto:[EMAIL PROTECTED]] Sent: 03 May 2001 22:12 To: '[EMAIL PROTECTED]' Subject: [PHP-INST] PHP 4.0.5 & gd Well, I've got a nice howto for you all. I ended up giving up on gd 2.0.1 altogether and grabbed gd 1.8.4 which seems to work great. SO. Here's a step by step how to do it (and the libraries you'll need as well). Hope everyone who was having problems is a much happier person in about an hour. I know I am. :) This SHOULD work on anyone's system, however I did this on a RedHat 6.2 setup - and before you rip me about using RedHat, just remember that I got it working and am helping you. heheh Now all I have to do is resurrect RPM. Tried to upgrade it and killed it. Oh well. :) -Philip Home: 310.996.1316 Work: 310.664.1778 Web: http://www.bewley.net/~prsnyder <<howto-apache-php4-gd.txt>>
Thanks for that - the only problem is that GD1.8.4 doesn't support true-colour images (does it? - please correct me if I'm wrong), and I NEED true-colour support for my app! Anyone got 2.x working yet? Cheers, Dave ----- Original Message ----- From: "Philip Snyder" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 03, 2001 10:11 PM Subject: [PHP-INST] PHP 4.0.5 & gd > Well, I've got a nice howto for you all. I ended up giving up on gd 2.0.1 > altogether and grabbed gd 1.8.4 which seems to work great. SO. Here's a step > by step how to do it (and the libraries you'll need as well). Hope everyone > who was having problems is a much happier person in about an hour. I know I > am. :) > > This SHOULD work on anyone's system, however I did this on a RedHat 6.2 > setup - and before you rip me about using RedHat, just remember that I got > it working and am helping you. heheh Now all I have to do is resurrect RPM. > Tried to upgrade it and killed it. Oh well. :) > > -Philip > Home: 310.996.1316 > Work: 310.664.1778 > Web: http://www.bewley.net/~prsnyder > > <<howto-apache-php4-gd.txt>> > ---------------------------------------------------------------------------- ---- > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED]
AHA!!! Checking the dox at the address below reveals that it's available in 4.0.6 - gettable from CVS only, which is why it wouldn't build into 4.0.5 (I presume) http://www.php.net/manual/en/function.imagecreatetruecolor.php HTH anyone wanting truecolour support! Dave ----- Original Message ----- From: "Philip Snyder" <[EMAIL PROTECTED]> To: "'Dave Mariner'" <[EMAIL PROTECTED]> Sent: Friday, May 04, 2001 12:25 AM Subject: RE: [PHP-INST] PHP 4.0.5 & gd > Uhm... I thought I read somwhere that PHP itself only supports 8bit? I may > have read wrong, but I dunno. Check out the docs on www.php.net. > > -Philip > > -----Original Message----- > From: Dave Mariner [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 03, 2001 4:25 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP-INST] PHP 4.0.5 & gd > > > Thanks for that - the only problem is that GD1.8.4 doesn't support > true-colour images (does it? - please correct me if I'm wrong), and I NEED > true-colour support for my app! > Anyone got 2.x working yet? > > Cheers, > > Dave > ----- Original Message ----- > From: "Philip Snyder" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, May 03, 2001 10:11 PM > Subject: [PHP-INST] PHP 4.0.5 & gd > > > > Well, I've got a nice howto for you all. I ended up giving up on gd 2.0.1 > > altogether and grabbed gd 1.8.4 which seems to work great. SO. Here's a > step > > by step how to do it (and the libraries you'll need as well). Hope > everyone > > who was having problems is a much happier person in about an hour. I know > I > > am. :) > > > > This SHOULD work on anyone's system, however I did this on a RedHat 6.2 > > setup - and before you rip me about using RedHat, just remember that I got > > it working and am helping you. heheh Now all I have to do is resurrect > RPM. > > Tried to upgrade it and killed it. Oh well. :) > > > > -Philip > > Home: 310.996.1316 > > Work: 310.664.1778 > > Web: http://www.bewley.net/~prsnyder > > > > <<howto-apache-php4-gd.txt>> > > > > > -------------------------------------------------------------------------- -- > ---- > > > > -- > > PHP Install Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED]
Either the library is missing or it is not being found. If you are sure pdflib was built correct, then try use --with-pdflib=[pdflib install directory]. I had this same problem but specifying the pdflib directory fixed it. Dean -----Original Message----- From: Jani Taskinen [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 10:18 AM To: Charles Homan Cc: [EMAIL PROTECTED] Subject: Re: [PHP-INST] --with-pdflib... stops on show_boxed Check your config.log for the reason why the compile test fails. Most likely some library missing.. --Jani On Thu, 3 May 2001, Charles Homan wrote: >I have had this same error - EXACTLY! If someone can help. Please do. > >> From: [EMAIL PROTECTED] (Andrew Apold) >> Newsgroups: php.install >> Date: 24 Apr 2001 10:52:31 -0700 >> Subject: [PHP-INST] --with-pdflib... stops on show_boxed >> >> I've seen in the annotations and other places at least a dozen other >> people have >> this problem.... and about a dozen different solutions from using links, >> using >> a new pdf.c, omitting png support, or even installing an rpm... none of >> them >> seem to help my situation. >> >> >> >> I'm using php 4.04pl1., the 11 january (latest AFAIK). >> >> Suse linux distribution, 2.4 kernal >> >> pdflib 4.0.0. >> >> Someone suggested using the binary on pdflib's site, tried that, >> also no go. Weird, though, the pdflib-4.0.0-Linux.tar.gz file >> they have as a binary contains files who go to a pdflib-3.0.0 >> directory. Either way, that didn't help. >> >> Every time configure pdflib with >> >> ./configure --enable-shared --enable-shared-pdflib --enable-php >> >> when I tried the binary, that version didn't seem to have an >> --enable-php >> configure option. Regardless, it is supposed to be enabled by default. >> >> As far as I can tellthe shared stuff goes to /usr/local/lib, which is >> where php looks for it by default. >> >> I configure, make, make test, as per instructions. Tried a make install >> too to ee fi that would help. >> >> Run ldconfig, as various accounts of this error claim this will solve >> it. >> >> then in php directory, using the new pdf.c from cvs places in >> .../ext/pdf, >> do a ./configure --with-mysql --with-apxs --with-pdflib >> >> Samne response every time: >> >> checking whether to include Pdflib 3.x support... yes >> checking for PDF_show_boxed in -lpdf... (cached) no >> >> earlier ones didn't have the cached I think. hmmm. maybe it isn't >> rechecking with all my latest attempts? >> >> configure: error: pdflib extension requires at least pdflib 3.x. You >> may also need libtiff and libjpeg. If so >> >> and it cuts off right there. >> >> I had this thing working under php3 and an older pdflib about a month or >> two ago (server rebuilt since then). >> Back then I did it without jpeg or tiff libraries, too. The stuff I'm >> doing doesn't require them. >> >> Regardless, I have both libtiff and libjpeg installed, following links >> to them from pdflib.com's website. >> Have zlib installed. >> >> I'm at wits end with this one, been over a week I've not been able to >> get it working. Half a mind to >> try clibpdf, though it would mean altering all my php files... >> >> >> oh, if I try --with-pdflib=/usr/local/lib, it compiles through without >> error, but >> looking back on the log it says: >> >> checking whether to include Pdflib 3.x support... no >> >> so it compiles, but is no use, no support. >> >> any help would be greatly appreciated. >> >> -- >> PHP Install Mailing List (http://www.php.net/) >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> To contact the list administrators, e-mail: [EMAIL PROTECTED] >> > > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
hello all, i have had a frustrating time trying to get this one resolved. I am trying to compile PHP4 with support for IBM DB2 on Apache 1.19. I have done this in the past with success but lately am consistently getting a failure. This problem is essentially PHP bug #8749 I have not seen any followup to that bug report however. any help appreciated, Jeff I am compiling PHP 4.0.5 (fails with earlier releases too) w/ this: ./configure --with-apache=../apache_1.3.17 --enable-track-vars --with-xml --with-dom --with-ibm-db2=/usr/IBMdb2/V6.1 --with-zlib --with-curl --with-pspell --with-mcrypt --with-sablot --enable-sablot-errors-descriptive --enable-inline-optimization --enable-trans-sid --with-config-file-path=/opt/gr/oas/lib/ --enable-shmop PHP makes and installs fine. Apache 1.3.19 is configured with: SSL_BASE="/usr/local/ssl" \ ./configure \ "--with-layout=Apache" \ "--prefix=/opt/gr/oas/apache/" \ "--enable-module=ssl" \ "--activate-module=src/modules/php4/libphp4.a" \ "--activate-module=src/modules/perl/libperl.a" \ "--enable-module=php4" \ "--enable-module=expires" \ "--disable-module=include" \ the make is then failing w/error output of: gcc -c -I. -I/usr/lib/perl/5.6.0/CORE -I./os/unix -I./include -DLINUX=22 -DMOD_SSL=208101 -I/usr/local/buildSource/php-4.0.5 -I/usr/local/buildSource/php-4.0.5/main -I/usr/local/buildSource/php-4.0.5/main -I/usr/local/buildSource/php-4.0.5/Zend -I/usr/local/buildSource/php-4.0.5/Zend -I/usr/local/buildSource/php-4.0.5/TSRM -I/usr/local/buildSource/php-4.0.5/TSRM -I/usr/local/buildSource/php-4.0.5 -DMOD_PERL -DUSE_PERL_SSI -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEAPI -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` modules.c gcc -c -I. -I/usr/lib/perl/5.6.0/CORE -I./os/unix -I./include -DLINUX=22 -DMOD_SSL=208101 -I/usr/local/buildSource/php-4.0.5 -I/usr/local/buildSource/php-4.0.5/main -I/usr/local/buildSource/php-4.0.5/main -I/usr/local/buildSource/php-4.0.5/Zend -I/usr/local/buildSource/php-4.0.5/Zend -I/usr/local/buildSource/php-4.0.5/TSRM -I/usr/local/buildSource/php-4.0.5/TSRM -I/usr/local/buildSource/php-4.0.5 -DMOD_PERL -DUSE_PERL_SSI -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEAPI -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` buildmark.c gcc -DLINUX=22 -DMOD_SSL=208101 -I/usr/local/buildSource/php-4.0.5 -I/usr/local/buildSource/php-4.0.5/main -I/usr/local/buildSource/php-4.0.5/main -I/usr/local/buildSource/php-4.0.5/Zend -I/usr/local/buildSource/php-4.0.5/Zend -I/usr/local/buildSource/php-4.0.5/TSRM -I/usr/local/buildSource/php-4.0.5/TSRM -I/usr/local/buildSource/php-4.0.5 -DMOD_PERL -DUSE_PERL_SSI -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEAPI -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -L/usr/local/ssl/lib \ -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/ssl/libssl.a modules/php4/libphp4.a modules/perl/libperl.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -rdynamic -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -L/usr/IBMdb2/V6.1/lib -ldb2 -ldl -lz -lexpat -lsablot -lpspell -lmcrypt -lltdl -lz -lxml2 -lcurl -lresolv -lm -ldl -lcrypt -lnsl -lresolv -lz -lm -lcrypt -lssl -lcrypto -rdynamic -L/usr/local/lib /usr/lib/perl/5.6.0/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.6.0/CORE -lperl -lnsl -ldl -lm -lc -lcrypt modules/php4/libphp4.a(php_odbc.o): In function `_free_odbc_result': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:162: undefined reference to `SQLFreeStmt' modules/php4/libphp4.a(php_odbc.o): In function `_close_odbc_conn': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:182: undefined reference to `SQLDisconnect' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:183: undefined reference to `SQLFreeConnect' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:184: undefined reference to `SQLFreeEnv' modules/php4/libphp4.a(php_odbc.o): In function `_close_odbc_pconn': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:194: undefined reference to `SQLDisconnect' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:195: undefined reference to `SQLFreeConnect' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:196: undefined reference to `SQLFreeEnv' modules/php4/libphp4.a(php_odbc.o): In function `odbc_sql_error': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:491: undefined reference to `SQLError' modules/php4/libphp4.a(php_odbc.o): In function `odbc_bindcols': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:553: undefined reference to `SQLFreeStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:561: undefined reference to `SQLColAttributes' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:566: undefined reference to `SQLColAttributes' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:589: undefined reference to `SQLColAttributes' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:592: undefined reference to `SQLBindCol' modules/php4/libphp4.a(php_odbc.o): In function `odbc_transact': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:613: undefined reference to `SQLTransact' modules/php4/libphp4.a(php_odbc.o): In function `odbc_column_lengths': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:671: undefined reference to `SQLColAttributes' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_prepare': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:765: undefined reference to `SQLAllocStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:781: undefined reference to `SQLGetInfo' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:787: undefined reference to `SQLSetStmtOption' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:790: undefined reference to `SQLFreeStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:800: undefined reference to `SQLPrepare' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:812: undefined reference to `SQLNumParams' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:813: undefined reference to `SQLNumResultCols' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_execute': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:899: undefined reference to `SQLDescribeParam' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:916: undefined reference to `SQLFreeStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:936: undefined reference to `SQLBindParameter' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:945: undefined reference to `SQLFreeStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:951: undefined reference to `SQLExecute' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:958: undefined reference to `SQLParamData' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:961: undefined reference to `SQLPutData' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:978: undefined reference to `SQLFreeStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:992: undefined reference to `SQLNumResultCols' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:894: undefined reference to `SQLFreeStmt' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_cursor': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1023: undefined reference to `SQLGetInfo' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1035: undefined reference to `SQLGetCursorName' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1043: undefined reference to `SQLError' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1048: undefined reference to `SQLSetCursorName' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_exec': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1104: undefined reference to `SQLAllocStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1120: undefined reference to `SQLGetInfo' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1126: undefined reference to `SQLSetStmtOption' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1129: undefined reference to `SQLFreeStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1139: undefined reference to `SQLExecDirect' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1147: undefined reference to `SQLFreeStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1152: undefined reference to `SQLNumResultCols' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_fetch_into': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1393: undefined reference to `SQLExtendedFetch' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1396: undefined reference to `SQLFetch' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1432: undefined reference to `SQLGetData' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_fetch_row': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1531: undefined reference to `SQLExtendedFetch' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1534: undefined reference to `SQLFetch' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_result': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1613: undefined reference to `SQLExtendedFetch' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1616: undefined reference to `SQLFetch' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1637: undefined reference to `SQLColAttributes' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1652: undefined reference to `SQLGetData' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1695: undefined reference to `SQLGetData' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_result_all': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1753: undefined reference to `SQLExtendedFetch' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1756: undefined reference to `SQLFetch' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1799: undefined reference to `SQLGetData' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1833: undefined reference to `SQLExtendedFetch' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1836: undefined reference to `SQLFetch' modules/php4/libphp4.a(php_odbc.o): In function `odbc_sqlconnect': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1884: undefined reference to `SQLAllocEnv' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1885: undefined reference to `SQLAllocConnect' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1902: undefined reference to `SQLSetConnectOption' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1905: undefined reference to `SQLFreeConnect' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1938: undefined reference to `SQLConnect' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1943: undefined reference to `SQLFreeConnect' modules/php4/libphp4.a(php_odbc.o): In function `odbc_do_connect': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2089: undefined reference to `SQLGetInfo' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2095: undefined reference to `SQLDisconnect' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2096: undefined reference to `SQLFreeConnect' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_num_rows': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2206: undefined reference to `SQLRowCount' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_next_result': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2234: undefined reference to `SQLMoreResults' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2239: undefined reference to `SQLFreeStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2240: undefined reference to `SQLNumParams' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2241: undefined reference to `SQLNumResultCols' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_field_type': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2340: undefined reference to `SQLColAttributes' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_autocommit': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2429: undefined reference to `SQLSetConnectOption' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2440: undefined reference to `SQLGetConnectOption' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_setoption': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2550: undefined reference to `SQLSetConnectOption' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2559: undefined reference to `SQLSetStmtOption' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_tables': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2618: undefined reference to `SQLAllocStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2634: undefined reference to `SQLTables' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2647: undefined reference to `SQLNumResultCols' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_columns': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2701: undefined reference to `SQLAllocStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2714: undefined reference to `SQLColumns' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2727: undefined reference to `SQLNumResultCols' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_columnprivileges': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2780: undefined referenceto `SQLAllocStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2793: undefined reference to `SQLColumnPrivileges' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2806: undefined reference to `SQLNumResultCols' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_foreignkeys': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2878: undefined reference to `SQLAllocStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2891: undefined reference to `SQLForeignKeys' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2906: undefined reference to `SQLNumResultCols' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_gettypeinfo': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2957: undefined reference to `SQLAllocStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2970: undefined reference to `SQLGetTypeInfo' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2979: undefined reference to `SQLNumResultCols' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_primarykeys': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3029: undefined reference to `SQLAllocStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3042: undefined reference to `SQLPrimaryKeys' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3054: undefined reference to `SQLNumResultCols' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_procedurecolumns': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3111: undefined reference to `SQLAllocStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3124: undefined reference to `SQLProcedureColumns' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3137: undefined reference to `SQLNumResultCols' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_procedures': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3193: undefined reference to `SQLAllocStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3206: undefined reference to `SQLProcedures' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3218: undefined reference to `SQLNumResultCols' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_specialcolumns': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3279: undefined reference to `SQLAllocStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3292: undefined reference to `SQLSpecialColumns' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3307: undefined reference to `SQLNumResultCols' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_statistics': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3364: undefined reference to `SQLAllocStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3377: undefined reference to `SQLStatistics' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3391: undefined reference to `SQLNumResultCols' modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_tableprivileges': /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3442: undefined reference to `SQLAllocStmt' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3455: undefined reference to `SQLTablePrivileges' /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3467: undefined reference to `SQLNumResultCols' collect2: ld returned 1 exit status make[2]: *** [target_static] Error 1 make[2]: Leaving directory `/usr/local/buildSource/apache_1.3.19/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/usr/local/buildSource/apache_1.3.19' make: *** [build] Error 2
Shouldn't your PHP config statement look like: SSL_BASE=/usr/local/ssl ./configure \ --with-layout=Apache \ --prefix=/opt/gr/oas/apache \ --enable-module=ssl \ --activate-module=src/modules/php4/libphp4.a \ --activate-module=src/modules/perl/libperl.a \ --enable-module=php4 \ --enable-module=expires \ --disable-module=include Jeff Warrington wrote: > hello all, > > i have had a frustrating time trying to get this one resolved. I am trying > to compile PHP4 with support for IBM DB2 on Apache 1.19. I have done this > in the past with success but lately am consistently getting a failure. > > This problem is essentially PHP bug #8749 I have not seen any followup > to that bug report however. > > any help appreciated, > Jeff > > I am compiling PHP 4.0.5 (fails with earlier releases too) w/ this: > > ./configure --with-apache=../apache_1.3.17 --enable-track-vars > --with-xml > --with-dom > --with-ibm-db2=/usr/IBMdb2/V6.1 > --with-zlib > --with-curl > --with-pspell > --with-mcrypt > --with-sablot > --enable-sablot-errors-descriptive > --enable-inline-optimization > --enable-trans-sid > --with-config-file-path=/opt/gr/oas/lib/ --enable-shmop > > PHP makes and installs fine. > > Apache 1.3.19 is configured with: > > SSL_BASE="/usr/local/ssl" \ > ./configure \ > "--with-layout=Apache" \ > "--prefix=/opt/gr/oas/apache/" \ > "--enable-module=ssl" \ > "--activate-module=src/modules/php4/libphp4.a" \ > "--activate-module=src/modules/perl/libperl.a" \ "--enable-module=php4" \ > "--enable-module=expires" \ > "--disable-module=include" \ > > the make is then failing w/error output of: > > gcc -c -I. -I/usr/lib/perl/5.6.0/CORE -I./os/unix -I./include -DLINUX=22 > -DMOD_SSL=208101 -I/usr/local/buildSource/php-4.0.5 > -I/usr/local/buildSource/php-4.0.5/main > -I/usr/local/buildSource/php-4.0.5/main > -I/usr/local/buildSource/php-4.0.5/Zend > -I/usr/local/buildSource/php-4.0.5/Zend > -I/usr/local/buildSource/php-4.0.5/TSRM > -I/usr/local/buildSource/php-4.0.5/TSRM -I/usr/local/buildSource/php-4.0.5 > -DMOD_PERL -DUSE_PERL_SSI -DDEBIAN -fno-strict-aliasing > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEAPI > -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` modules.c gcc -c > -I. -I/usr/lib/perl/5.6.0/CORE -I./os/unix -I./include -DLINUX=22 > -DMOD_SSL=208101 -I/usr/local/buildSource/php-4.0.5 > -I/usr/local/buildSource/php-4.0.5/main > -I/usr/local/buildSource/php-4.0.5/main > -I/usr/local/buildSource/php-4.0.5/Zend > -I/usr/local/buildSource/php-4.0.5/Zend > -I/usr/local/buildSource/php-4.0.5/TSRM > -I/usr/local/buildSource/php-4.0.5/TSRM -I/usr/local/buildSource/php-4.0.5 > -DMOD_PERL -DUSE_PERL_SSI -DDEBIAN -fno-strict-aliasing > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEAPI > -DUSE_EXPAT -I./lib/expat-lite > -DNO_DL_NEEDED `./apaci` buildmark.c > gcc -DLINUX=22 -DMOD_SSL=208101 -I/usr/local/buildSource/php-4.0.5 >-I/usr/local/buildSource/php-4.0.5/main -I/usr/local/buildSource/php-4.0.5/main >-I/usr/local/buildSource/php-4.0.5/Zend -I/usr/local/buildSource/php-4.0.5/Zend >-I/usr/local/buildSource/php-4.0.5/TSRM -I/usr/local/buildSource/php-4.0.5/TSRM >-I/usr/local/buildSource/php-4.0.5 -DMOD_PERL -DUSE_PERL_SSI -DDEBIAN >-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 >-DEAPI -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -L/usr/local/ssl/lib >\ > -o httpd buildmark.o modules.o modules/standard/libstandard.a >modules/ssl/libssl.a modules/php4/libphp4.a modules/perl/libperl.a main/libmain.a >./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -rdynamic -Lmodules/php4 >-L../modules/php4 -L../../modules/php4 -lmodphp4 -L/usr/IBMdb2/V6.1/lib -ldb2 -ldl >-lz -lexpat -lsablot -lpspell -lmcrypt -lltdl -lz -lxml2 -lcurl -lresolv -lm -ldl >-lcrypt -lnsl -lresolv -lz -lm -lcrypt -lssl -lcrypto -rdynamic -L/usr/local/lib >/usr/lib/perl/5.6.0/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.6.0/CORE -lperl >-lnsl -ldl -lm -lc -lcrypt > modules/php4/libphp4.a(php_odbc.o): In function `_free_odbc_result': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:162: undefined reference to >`SQLFreeStmt' > modules/php4/libphp4.a(php_odbc.o): In function `_close_odbc_conn': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:182: undefined reference to >`SQLDisconnect' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:183: undefined reference to >`SQLFreeConnect' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:184: undefined reference to >`SQLFreeEnv' > modules/php4/libphp4.a(php_odbc.o): In function `_close_odbc_pconn': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:194: undefined reference to >`SQLDisconnect' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:195: undefined reference to >`SQLFreeConnect' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:196: undefined reference to >`SQLFreeEnv' > modules/php4/libphp4.a(php_odbc.o): In function `odbc_sql_error': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:491: undefined reference to >`SQLError' > modules/php4/libphp4.a(php_odbc.o): In function `odbc_bindcols': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:553: undefined reference to >`SQLFreeStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:561: undefined reference to >`SQLColAttributes' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:566: undefined reference to >`SQLColAttributes' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:589: undefined reference to >`SQLColAttributes' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:592: undefined reference to >`SQLBindCol' > modules/php4/libphp4.a(php_odbc.o): In function `odbc_transact': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:613: undefined reference to >`SQLTransact' > modules/php4/libphp4.a(php_odbc.o): In function `odbc_column_lengths': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:671: undefined reference to >`SQLColAttributes' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_prepare': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:765: undefined reference to >`SQLAllocStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:781: undefined reference to >`SQLGetInfo' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:787: undefined reference to >`SQLSetStmtOption' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:790: undefined reference to >`SQLFreeStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:800: undefined reference to >`SQLPrepare' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:812: undefined reference to >`SQLNumParams' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:813: undefined reference to >`SQLNumResultCols' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_execute': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:899: undefined reference to >`SQLDescribeParam' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:916: undefined reference to >`SQLFreeStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:936: undefined reference to >`SQLBindParameter' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:945: undefined reference to >`SQLFreeStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:951: undefined reference to >`SQLExecute' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:958: undefined reference to >`SQLParamData' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:961: undefined reference to >`SQLPutData' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:978: undefined reference to >`SQLFreeStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:992: undefined reference to >`SQLNumResultCols' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:894: undefined reference to >`SQLFreeStmt' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_cursor': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1023: undefined reference to >`SQLGetInfo' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1035: undefined reference to >`SQLGetCursorName' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1043: undefined reference to >`SQLError' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1048: undefined reference to >`SQLSetCursorName' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_exec': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1104: undefined reference to >`SQLAllocStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1120: undefined reference to >`SQLGetInfo' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1126: undefined reference to >`SQLSetStmtOption' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1129: undefined reference to >`SQLFreeStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1139: undefined reference to >`SQLExecDirect' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1147: undefined reference to >`SQLFreeStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1152: undefined reference to >`SQLNumResultCols' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_fetch_into': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1393: undefined reference to >`SQLExtendedFetch' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1396: undefined reference to >`SQLFetch' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1432: undefined reference to >`SQLGetData' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_fetch_row': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1531: undefined reference to >`SQLExtendedFetch' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1534: undefined reference to >`SQLFetch' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_result': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1613: undefined reference to >`SQLExtendedFetch' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1616: undefined reference to >`SQLFetch' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1637: undefined reference to >`SQLColAttributes' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1652: undefined reference to >`SQLGetData' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1695: undefined reference to >`SQLGetData' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_result_all': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1753: undefined reference to >`SQLExtendedFetch' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1756: undefined reference to >`SQLFetch' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1799: undefined reference to >`SQLGetData' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1833: undefined reference to >`SQLExtendedFetch' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1836: undefined reference to >`SQLFetch' > modules/php4/libphp4.a(php_odbc.o): In function `odbc_sqlconnect': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1884: undefined reference to >`SQLAllocEnv' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1885: undefined reference to >`SQLAllocConnect' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1902: undefined reference to >`SQLSetConnectOption' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1905: undefined reference to >`SQLFreeConnect' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1938: undefined reference to >`SQLConnect' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1943: undefined reference to >`SQLFreeConnect' > modules/php4/libphp4.a(php_odbc.o): In function `odbc_do_connect': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2089: undefined reference to >`SQLGetInfo' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2095: undefined reference to >`SQLDisconnect' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2096: undefined reference to >`SQLFreeConnect' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_num_rows': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2206: undefined reference to >`SQLRowCount' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_next_result': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2234: undefined reference to >`SQLMoreResults' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2239: undefined reference to >`SQLFreeStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2240: undefined reference to >`SQLNumParams' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2241: undefined reference to >`SQLNumResultCols' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_field_type': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2340: undefined reference to >`SQLColAttributes' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_autocommit': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2429: undefined reference to >`SQLSetConnectOption' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2440: undefined reference to >`SQLGetConnectOption' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_setoption': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2550: undefined reference to >`SQLSetConnectOption' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2559: undefined reference to >`SQLSetStmtOption' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_tables': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2618: undefined reference to >`SQLAllocStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2634: undefined reference to >`SQLTables' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2647: undefined reference to >`SQLNumResultCols' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_columns': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2701: undefined reference to >`SQLAllocStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2714: undefined reference to >`SQLColumns' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2727: undefined reference to >`SQLNumResultCols' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_columnprivileges': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2780: undefined referenceto >`SQLAllocStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2793: undefined reference to >`SQLColumnPrivileges' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2806: undefined reference to >`SQLNumResultCols' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_foreignkeys': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2878: undefined reference to >`SQLAllocStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2891: undefined reference to >`SQLForeignKeys' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2906: undefined reference to >`SQLNumResultCols' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_gettypeinfo': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2957: undefined reference to >`SQLAllocStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2970: undefined reference to >`SQLGetTypeInfo' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2979: undefined reference to >`SQLNumResultCols' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_primarykeys': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3029: undefined reference to >`SQLAllocStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3042: undefined reference to >`SQLPrimaryKeys' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3054: undefined reference to >`SQLNumResultCols' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_procedurecolumns': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3111: undefined reference to >`SQLAllocStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3124: undefined reference to >`SQLProcedureColumns' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3137: undefined reference to >`SQLNumResultCols' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_procedures': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3193: undefined reference to >`SQLAllocStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3206: undefined reference to >`SQLProcedures' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3218: undefined reference to >`SQLNumResultCols' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_specialcolumns': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3279: undefined reference to >`SQLAllocStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3292: undefined reference to >`SQLSpecialColumns' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3307: undefined reference to >`SQLNumResultCols' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_statistics': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3364: undefined reference to >`SQLAllocStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3377: undefined reference to >`SQLStatistics' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3391: undefined reference to >`SQLNumResultCols' > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_tableprivileges': > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3442: undefined reference to >`SQLAllocStmt' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3455: undefined reference to >`SQLTablePrivileges' > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3467: undefined reference to >`SQLNumResultCols' > collect2: ld returned 1 exit status > make[2]: *** [target_static] Error 1 > make[2]: Leaving directory `/usr/local/buildSource/apache_1.3.19/src' > make[1]: *** [build-std] Error 2 > make[1]: Leaving directory `/usr/local/buildSource/apache_1.3.19' > make: *** [build] Error 2 > >
well the snippet below is the Apache config. i don't see the difference between what i have and what you put below. jeff On Thu, 3 May 2001, Steve Brazill wrote: => Shouldn't your PHP config statement look like: => => => SSL_BASE=/usr/local/ssl => ./configure \ => --with-layout=Apache \ => --prefix=/opt/gr/oas/apache \ => --enable-module=ssl \ => --activate-module=src/modules/php4/libphp4.a \ => --activate-module=src/modules/perl/libperl.a \ => --enable-module=php4 \ => --enable-module=expires \ => --disable-module=include => => Jeff Warrington wrote: => => > hello all, => > => > i have had a frustrating time trying to get this one resolved. I am trying => > to compile PHP4 with support for IBM DB2 on Apache 1.19. I have done this => > in the past with success but lately am consistently getting a failure. => > => > This problem is essentially PHP bug #8749 I have not seen any followup => > to that bug report however. => > => > any help appreciated, => > Jeff => > => > I am compiling PHP 4.0.5 (fails with earlier releases too) w/ this: => > => > ./configure --with-apache=../apache_1.3.17 --enable-track-vars => > --with-xml => > --with-dom => > --with-ibm-db2=/usr/IBMdb2/V6.1 => > --with-zlib => > --with-curl => > --with-pspell => > --with-mcrypt => > --with-sablot => > --enable-sablot-errors-descriptive => > --enable-inline-optimization => > --enable-trans-sid => > --with-config-file-path=/opt/gr/oas/lib/ --enable-shmop => > => > PHP makes and installs fine. => > => > Apache 1.3.19 is configured with: => > => > SSL_BASE="/usr/local/ssl" \ => > ./configure \ => > "--with-layout=Apache" \ => > "--prefix=/opt/gr/oas/apache/" \ => > "--enable-module=ssl" \ => > "--activate-module=src/modules/php4/libphp4.a" \ => > "--activate-module=src/modules/perl/libperl.a" \ "--enable-module=php4" \ => > "--enable-module=expires" \ => > "--disable-module=include" \ => > => > the make is then failing w/error output of: => > => > gcc -c -I. -I/usr/lib/perl/5.6.0/CORE -I./os/unix -I./include -DLINUX=22 => > -DMOD_SSL=208101 -I/usr/local/buildSource/php-4.0.5 => > -I/usr/local/buildSource/php-4.0.5/main => > -I/usr/local/buildSource/php-4.0.5/main => > -I/usr/local/buildSource/php-4.0.5/Zend => > -I/usr/local/buildSource/php-4.0.5/Zend => > -I/usr/local/buildSource/php-4.0.5/TSRM => > -I/usr/local/buildSource/php-4.0.5/TSRM -I/usr/local/buildSource/php-4.0.5 => > -DMOD_PERL -DUSE_PERL_SSI -DDEBIAN -fno-strict-aliasing => > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEAPI => > -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` modules.c gcc -c => > -I. -I/usr/lib/perl/5.6.0/CORE -I./os/unix -I./include -DLINUX=22 => > -DMOD_SSL=208101 -I/usr/local/buildSource/php-4.0.5 => > -I/usr/local/buildSource/php-4.0.5/main => > -I/usr/local/buildSource/php-4.0.5/main => > -I/usr/local/buildSource/php-4.0.5/Zend => > -I/usr/local/buildSource/php-4.0.5/Zend => > -I/usr/local/buildSource/php-4.0.5/TSRM => > -I/usr/local/buildSource/php-4.0.5/TSRM -I/usr/local/buildSource/php-4.0.5 => > -DMOD_PERL -DUSE_PERL_SSI -DDEBIAN -fno-strict-aliasing => > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEAPI => > -DUSE_EXPAT -I./lib/expat-lite => > -DNO_DL_NEEDED `./apaci` buildmark.c => > gcc -DLINUX=22 -DMOD_SSL=208101 -I/usr/local/buildSource/php-4.0.5 -I/usr/local/buildSource/php-4.0.5/main -I/usr/local/buildSource/php-4.0.5/main -I/usr/local/buildSource/php-4.0.5/Zend -I/usr/local/buildSource/php-4.0.5/Zend -I/usr/local/buildSource/php-4.0.5/TSRM -I/usr/local/buildSource/php-4.0.5/TSRM -I/usr/local/buildSource/php-4.0.5 -DMOD_PERL -DUSE_PERL_SSI -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEAPI -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -L/usr/local/ssl/lib \ => > -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/ssl/libssl.a modules/php4/libphp4.a modules/perl/libperl.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -rdynamic -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -L/usr/IBMdb2/V6.1/lib -ldb2 -ldl -lz -lexpat -lsablot -lpspell -lmcrypt -lltdl -lz -lxml2 -lcurl -lresolv -lm -ldl -lcrypt -lnsl -lresolv -lz -lm -lcrypt -lssl -lcrypto -rdynamic -L/usr/local/lib /usr/lib/perl/5.6.0/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.6.0/CORE -lperl -lnsl -ldl -lm -lc -lcrypt => > modules/php4/libphp4.a(php_odbc.o): In function `_free_odbc_result': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:162: undefined reference to `SQLFreeStmt' => > modules/php4/libphp4.a(php_odbc.o): In function `_close_odbc_conn': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:182: undefined reference to `SQLDisconnect' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:183: undefined reference to `SQLFreeConnect' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:184: undefined reference to `SQLFreeEnv' => > modules/php4/libphp4.a(php_odbc.o): In function `_close_odbc_pconn': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:194: undefined reference to `SQLDisconnect' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:195: undefined reference to `SQLFreeConnect' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:196: undefined reference to `SQLFreeEnv' => > modules/php4/libphp4.a(php_odbc.o): In function `odbc_sql_error': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:491: undefined reference to `SQLError' => > modules/php4/libphp4.a(php_odbc.o): In function `odbc_bindcols': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:553: undefined reference to `SQLFreeStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:561: undefined reference to `SQLColAttributes' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:566: undefined reference to `SQLColAttributes' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:589: undefined reference to `SQLColAttributes' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:592: undefined reference to `SQLBindCol' => > modules/php4/libphp4.a(php_odbc.o): In function `odbc_transact': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:613: undefined reference to `SQLTransact' => > modules/php4/libphp4.a(php_odbc.o): In function `odbc_column_lengths': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:671: undefined reference to `SQLColAttributes' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_prepare': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:765: undefined reference to `SQLAllocStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:781: undefined reference to `SQLGetInfo' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:787: undefined reference to `SQLSetStmtOption' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:790: undefined reference to `SQLFreeStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:800: undefined reference to `SQLPrepare' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:812: undefined reference to `SQLNumParams' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:813: undefined reference to `SQLNumResultCols' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_execute': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:899: undefined reference to `SQLDescribeParam' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:916: undefined reference to `SQLFreeStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:936: undefined reference to `SQLBindParameter' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:945: undefined reference to `SQLFreeStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:951: undefined reference to `SQLExecute' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:958: undefined reference to `SQLParamData' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:961: undefined reference to `SQLPutData' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:978: undefined reference to `SQLFreeStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:992: undefined reference to `SQLNumResultCols' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:894: undefined reference to `SQLFreeStmt' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_cursor': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1023: undefined reference to `SQLGetInfo' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1035: undefined reference to `SQLGetCursorName' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1043: undefined reference to `SQLError' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1048: undefined reference to `SQLSetCursorName' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_exec': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1104: undefined reference to `SQLAllocStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1120: undefined reference to `SQLGetInfo' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1126: undefined reference to `SQLSetStmtOption' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1129: undefined reference to `SQLFreeStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1139: undefined reference to `SQLExecDirect' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1147: undefined reference to `SQLFreeStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1152: undefined reference to `SQLNumResultCols' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_fetch_into': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1393: undefined reference to `SQLExtendedFetch' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1396: undefined reference to `SQLFetch' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1432: undefined reference to `SQLGetData' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_fetch_row': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1531: undefined reference to `SQLExtendedFetch' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1534: undefined reference to `SQLFetch' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_result': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1613: undefined reference to `SQLExtendedFetch' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1616: undefined reference to `SQLFetch' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1637: undefined reference to `SQLColAttributes' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1652: undefined reference to `SQLGetData' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1695: undefined reference to `SQLGetData' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_result_all': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1753: undefined reference to `SQLExtendedFetch' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1756: undefined reference to `SQLFetch' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1799: undefined reference to `SQLGetData' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1833: undefined reference to `SQLExtendedFetch' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1836: undefined reference to `SQLFetch' => > modules/php4/libphp4.a(php_odbc.o): In function `odbc_sqlconnect': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1884: undefined reference to `SQLAllocEnv' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1885: undefined reference to `SQLAllocConnect' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1902: undefined reference to `SQLSetConnectOption' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1905: undefined reference to `SQLFreeConnect' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1938: undefined reference to `SQLConnect' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:1943: undefined reference to `SQLFreeConnect' => > modules/php4/libphp4.a(php_odbc.o): In function `odbc_do_connect': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2089: undefined reference to `SQLGetInfo' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2095: undefined reference to `SQLDisconnect' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2096: undefined reference to `SQLFreeConnect' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_num_rows': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2206: undefined reference to `SQLRowCount' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_next_result': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2234: undefined reference to `SQLMoreResults' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2239: undefined reference to `SQLFreeStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2240: undefined reference to `SQLNumParams' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2241: undefined reference to `SQLNumResultCols' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_field_type': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2340: undefined reference to `SQLColAttributes' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_autocommit': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2429: undefined reference to `SQLSetConnectOption' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2440: undefined reference to `SQLGetConnectOption' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_setoption': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2550: undefined reference to `SQLSetConnectOption' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2559: undefined reference to `SQLSetStmtOption' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_tables': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2618: undefined reference to `SQLAllocStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2634: undefined reference to `SQLTables' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2647: undefined reference to `SQLNumResultCols' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_columns': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2701: undefined reference to `SQLAllocStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2714: undefined reference to `SQLColumns' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2727: undefined reference to `SQLNumResultCols' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_columnprivileges': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2780: undefined referenceto `SQLAllocStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2793: undefined reference to `SQLColumnPrivileges' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2806: undefined reference to `SQLNumResultCols' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_foreignkeys': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2878: undefined reference to `SQLAllocStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2891: undefined reference to `SQLForeignKeys' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2906: undefined reference to `SQLNumResultCols' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_gettypeinfo': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2957: undefined reference to `SQLAllocStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2970: undefined reference to `SQLGetTypeInfo' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:2979: undefined reference to `SQLNumResultCols' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_primarykeys': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3029: undefined reference to `SQLAllocStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3042: undefined reference to `SQLPrimaryKeys' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3054: undefined reference to `SQLNumResultCols' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_procedurecolumns': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3111: undefined reference to `SQLAllocStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3124: undefined reference to `SQLProcedureColumns' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3137: undefined reference to `SQLNumResultCols' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_procedures': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3193: undefined reference to `SQLAllocStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3206: undefined reference to `SQLProcedures' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3218: undefined reference to `SQLNumResultCols' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_specialcolumns': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3279: undefined reference to `SQLAllocStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3292: undefined reference to `SQLSpecialColumns' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3307: undefined reference to `SQLNumResultCols' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_statistics': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3364: undefined reference to `SQLAllocStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3377: undefined reference to `SQLStatistics' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3391: undefined reference to `SQLNumResultCols' => > modules/php4/libphp4.a(php_odbc.o): In function `php_if_odbc_tableprivileges': => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3442: undefined reference to `SQLAllocStmt' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3455: undefined reference to `SQLTablePrivileges' => > /usr/local/buildSource/php-4.0.5/ext/odbc/php_odbc.c:3467: undefined reference to `SQLNumResultCols' => > collect2: ld returned 1 exit status => > make[2]: *** [target_static] Error 1 => > make[2]: Leaving directory `/usr/local/buildSource/apache_1.3.19/src' => > make[1]: *** [build-std] Error 2 => > make[1]: Leaving directory `/usr/local/buildSource/apache_1.3.19' => > make: *** [build] Error 2 => > => > =>
Don, FYI... RH7.1 uses php-mysql-4.0.4pl1-9.i386.rpm (note the '9' vs. '3' in your e-mail). The RPM is found on disk #2. Tom Gordon DON GRIFFEY wrote: > Hello, > I am attempting to install the following rpm downloaded from Red Hat: > php-mysql-4.0.4pl1-3.i386.rpm > > I have already installed MySQL and it is running fine. > I have already installed php4.0.4 and it appears to work fine when using > the test script > described in the documentation. > > However when I attempt to install the rpm above I get the following > error: > error: failed dependencies: > mysql is needed by php-mysql-4.0.4pl1-3 > libmysqlclient.so.10 is needed by php-mysql-4.0.4pl1-3 > > Here is the location of the library files and its contents. > [root@mail1 don]# cd /usr/lib/mysql > [root@mail1 mysql]# ls > libdbug.a libmerge.a libmyisammrg.a libmysqlclient.la libmysys.a > libheap.a libmyisam.a libmysqlclient.a libmystrings.a libnisam.a > > Any help would be very much appreciated. > > Don Griffey > >
Hi everybody, I would like to ask some question. When one user login to Apache Server(1.3.14). Can I check the user IP address by PHP4 program ? If yes, do you know the relative example ? Thank Very Much !
Does anyone know the correct way to make apache use the php cgi in windows? I'm new to apache, and need a local setup close to my hosts setup, which is MySQL, Apache, Tomcat ( for JSP ), PHP, and JDK, but i'm lost! HELP PLEASE!!!
Hi, My webhost installed PHP 4.0.5 for me, but it is still showing 4.0.3pl1 when using phpinfo(). http://www.moose-shack.net/phpinfo.php Could this be wrong, or did he not configure it properly? James ________________________________________________________________________ This message has been checked for all known viruses, by Star Internet, delivered through the MessageLabs Virus Control Centre. For further information visit: http://www.star.net.uk/stats.asp
hi ... i am trying to compile php-4.0.5 on a solaris 2.6 system using gcc-2.95.2... and it won't play the game :( ... has anyone encountered this b4 ???... previous versions have compiled on this system without problem ..... anyone got any ideas ?? :/ S. ------------------------------------ bash-2.02# make Making all in Zend make[1]: Entering directory `/installroot/software/need_compiling/php-4.0.5/php-4.0.5/Zend' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/installroot/software/need_compiling/php-4.0.5/php-4.0.5/Zend' Making all in main make[1]: Entering directory `/installroot/software/need_compiling/php-4.0.5/php-4.0.5/main' make[2]: Entering directory `/installroot/software/need_compiling/php-4.0.5/php-4.0.5/main' gcc -I. -I/installroot/software/need_compiling/php-4.0.5/php-4.0.5/main -I/ installroot/software/need_compiling/php-4.0.5/php-4.0.5/main -I/installroot/ software/need_compiling/php-4.0.5/php-4.0.5 -I/installroot/software/need_com piling/php-4.0.5/php-4.0.5/Zend -I/installroot/software/need_compiling/php-4 .0.5/php-4.0.5/ext/mysql/libmysql -I/installroot/software/need_compiling/php -4.0.5/php-4.0.5/ext/xml/expat/xmltok -I/installroot/software/need_compiling /php-4.0.5/php-4.0.5/ext/xml/expat/xmlparse -I/installroot/software/need_com piling/php-4.0.5/php-4.0.5/TSRM -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 - DXML_BYTE_ORDER=21 -g -O2 -c main.c && touch main.lo In file included from /installroot/software/need_compiling/php-4.0.5/php-4.0.5/ext/standard/php_st andard.h:43, from main.c:52: /installroot/software/need_compiling/php-4.0.5/php-4.0.5/ext/standard/fsock. h:87: parse error before `socklen_t' make[2]: *** [main.lo] Error 1 make[2]: Leaving directory `/installroot/software/need_compiling/php-4.0.5/php-4.0.5/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/installroot/software/need_compiling/php-4.0.5/php-4.0.5/main' make: *** [all-recursive] Error 1 ---------------------------------------------------------------- Treat me like a child.... and I'll act like one.... ----------------------------------------------------------------