#37994 [Asn]: pdo_odbc compile problems
| From: | judas dot iscariote at gmail dot com | Date: | Mon, 03 Jul 2006 06:58:33 +0000 |
| Subject: | #37994 [Asn]: pdo_odbc compile problems | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-99057@lists.php.net to get a copy of this message | ||
ID: 37994
User updated by: judas dot iscariote at gmail dot com
Reported By: judas dot iscariote at gmail dot com
Status: Assigned
Bug Type: PDO related
Operating System: Linux 64 bit
PHP Version: 5CVS-2006-07-03 (CVS)
Assigned To: wez
New Comment:
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..
Previous Comments:
------------------------------------------------------------------------
[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