#37994 [Asn->Csd]: pdo_odbc compile problems
| From: | jani@php.net | Date: | Mon, 09 Jul 2007 12:35:51 +0000 |
| Subject: | #37994 [Asn->Csd]: pdo_odbc compile problems | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-114783@lists.php.net to get a copy of this message | ||
ID: 37994
Updated by: jani@php.net
Reported By: judas dot iscariote at gmail dot com
-Status: Assigned
+Status: Closed
Bug Type: PDO related
Operating System: Linux 64 bit
PHP Version: 5CVS-2006-07-03 (CVS)
Assigned To: wez
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2006-07-03 06:58:32] judas dot iscariote at gmail dot com
What Im attempting is to build both pdo and pdo_odbc shared, and I
assume what the "configure" hints is the truth no?
"This extension will **always** be created as a shared extension named
pdo_odbc.so" , if this is not true, I think it should be corrected..
------------------------------------------------------------------------
[2006-07-03 06:51:35] tony2001@php.net
>results in the following message
Which is pretty clear and tells you the truth: you can't build PDO as
shared and PDO-dependent module as dynamic.
The lib64 issue looks more real to me.
Assigned to Wez.
------------------------------------------------------------------------
[2006-07-03 03:51:49] judas dot iscariote at gmail dot com
Description:
------------
Hi, Im trying to compile pdo_odbc on 64 bit linux , I have found some
problems.
using the following configure line ( ommited irrelevant parts)
--enable-pdo=shared
--with-pdo-odbc=unixODBC,/usr
results in the following message:
"You've configured extension pdo_odbc to build statically, but it
depends on extension pdo, which you've configured to build shared.
You either need to build pdo_odbc shared or build pdo statically for
the
You've configured extension pdo_odbc to build statically, but it
depends on extension pdo, which you've configured to build shared.
You either need to build pdo_odbc shared or build pdo statically for
the
You've configured extension pdo_odbc, which depends on extension pdo,
but you've either not enabled pdo, or have disabled it.
You've configured extension pdo_odbc, which depends on extension pdo,
but you've either not enabled pdo, or have disabled it."
even if the configure help says
"This extension will always be created as a shared extension named
pdo_odbc.so"
addtionally it seems to disobey --with-libdir beacuse it always
searches for libraries in "lib" even if i pass --with-libdir=lib64
Reproduce code:
---------------
build php with shared pdo and pdo_odbc
Expected result:
----------------
pdo_odbc compiled as a shared extension always and using lib64 as a
libdir
Actual result:
--------------
see description.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37994&edit=1