yes, no, yes.
configure was generated without the required -L path to the libs.
This was a shared build from under HEAD.
--Wez.
Jani Taskinen wrote:
Did you get a specific problem without those?
Or did you just blindly add those and didn't notice
the line with PHP_EVAL_LIBLINE() just before those tests?
--Jani
On Thu, 7 Jul 2005, Wez Furlong wrote:
wez Thu Jul 7 09:42:13 2005 EDT
Modified files:
/php-src/ext/pdo_odbc config.m4
Log:
Hmm, these ldflags went AWOL.
http://cvs.php.net/diff.php/php-src/ext/pdo_odbc/config.m4?r1=1.20&r2=1.21&ty=u
Index: php-src/ext/pdo_odbc/config.m4
diff -u php-src/ext/pdo_odbc/config.m4:1.20
php-src/ext/pdo_odbc/config.m4:1.21
--- php-src/ext/pdo_odbc/config.m4:1.20 Mon Jun 13 22:18:18 2005
+++ php-src/ext/pdo_odbc/config.m4 Thu Jul 7 09:42:12 2005
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.20 2005/06/14 02:18:18 sniper Exp $
+dnl $Id: config.m4,v 1.21 2005/07/07 13:42:12 wez Exp $
dnl config.m4 for extension pdo_odbc
dnl vim:et:sw=2:ts=2:
@@ -129,10 +129,10 @@
You should consider using unixODBC instead, and loading your
libraries as a driver in that environment; it will emulate the
functions required for PDO support.
-])])
+])], $PDO_ODBC_LDFLAGS)
],[
AC_MSG_ERROR([Your ODBC library does not exist or there was an
error. Check config.log for more information])
- ])
+ ], $PDO_ODBC_LDFLAGS)
PHP_NEW_EXTENSION(pdo_odbc, pdo_odbc.c odbc_driver.c odbc_stmt.c,
$ext_shared,,-I$pdo_inc_path $PDO_ODBC_INCLUDE)
PHP_SUBST(PDO_ODBC_SHARED_LIBADD)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php