#28364 [NEW]: libphp4.so not generated even though makes worked

From: Date: Wed, 12 May 2004 02:11:10 +0000
Subject: #28364 [NEW]: libphp4.so not generated even though makes worked
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-59518@lists.php.net to get a copy of this message
From: mairhtin at techsolutionsgroupllc dot com Operating system: linux (rh 8.0) PHP version: 4.3.6 PHP Bug Type: *Compile Issues Bug description: libphp4.so not generated even though makes worked Description: ------------ I have done a "configure --with-ibm-db2=/home/db2inst1/sqllib", then done a make, and a make install. The library : libphp4.so is not created, so I cannot add it to the php.conf in /etc/httpd/conf.d/ directory to be incorporated into the apache config file so that I can resolve the "Fatal error: Call to undefined function: odbc_connect() in /var/www/html/connect.php on line 21" error that I am getting. This is VERY frustrating. I followed the instruction to the letter, and I *DID* RTFM. without any success. I need to connect to DB2 using the DB2 modules, not the unixODBC modules, since these seem to have fatal errors built in to them when I try to connect to DB2. HEEEEEEELPPPPPP!!!!1! Mairhtin O'Feannag Reproduce code: --------------- <html> <head> <title>Simple SELECT statement</title> </head> <body bgcolor="white"> <?php /* need to set $dsn: data source name $user: what user to connect as $upasswd: password for the user in our examples we simply set the $dsn. The user is the user the web server runs as no password is required. This is a DB2 thing */ $dsn = 'SPIRIT'; $user = 'DB2INST1'; $upasswd = 'DB2INST1'; echo "dsn $dsn"; echo "user $user"; echo "upasswd $upasswd"; $conn = odbc_connect($dsn, $user, $upasswd ); echo "conn: $conn"; if ($conn <= 0) { echo "Error in connection<BR>"; exit; } else { echo "<P>Connection successful\n"; }; ?> Expected result: ---------------- a connection Actual result: -------------- 67.120.110.243/connect.php -- Edit bug report at http://bugs.php.net/?id=28364&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28364&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28364&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28364&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28364&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28364&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28364&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28364&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28364&r=support Expected behavior: http://bugs.php.net/fix.php?id=28364&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28364&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28364&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28364&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28364&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28364&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28364&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28364&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28364&r=float

« previous php.bugs (#59518) next »