From:             judas dot iscariote at gmail dot com
Operating system: Linux 64 bit
PHP version:      5CVS-2006-07-03 (CVS)
PHP Bug Type:     PDO related
Bug description:  pdo_odbc compile problems

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 bug report at http://bugs.php.net/?id=37994&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37994&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=37994&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37994&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=37994&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=37994&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=37994&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=37994&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=37994&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=37994&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=37994&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=37994&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=37994&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=37994&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37994&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=37994&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=37994&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=37994&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37994&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=37994&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=37994&r=mysqlcfg

Reply via email to