Hello Marion 

> -----Original Message-----
> From: Mario Rutz [mailto:[EMAIL PROTECTED] 
> Sent: Donnerstag, 2. Februar 2006 12:12
> To: maxdb@lists.mysql.com
> Subject: MaxDB access via MaxDB PHP module and ODBC PHP module
[details snipped]

> And at that point we are running into trouble: We get the Apache/PHP 
> combination running perfect for unixODBC alone and same goes for the 
> MaxDB module alone, but with both modules enabled we get 
> errors from the 
> unixODBC module which look like this:
> 
> SQL error: [nxDC[A G[ISLDS]SPD]Ual ocnett aasuc;42 O(), SQL 
> state 0015 
> in SQLConnect


The MaxDB-PHP module and the ODBC-driver use both the same underlying runtime 
environment for MaxDB clients. If the dynamic libraries are load with 
RTLD_GLOBAL, calls of the first one may mix with calls of the latter one 
resulting in some errors.

Please compare with
http://fr.rpmfind.net/linux/RPM/fedora/updates/4/ppc/unixODBC-kde-2.2.11-3.FC4.1.ppc64.html
and
http://sunsite.mff.cuni.cz/MIRRORS/ftp.suse.com/pub/suse/x86_64/update/9.1/patches/php4-51720

about some information regarding unixODBC and RTLD_GLOBAL.

Probably the problem won't occur if unixODBC would load the ODBC driver without 
RTLD_GLOBAL (which seems to be the case according the first url above).


HTH & regards  Thomas




----------------------------------------------
Dr. Thomas Kötter
SAP AG, Berlin
NW DT MaxDB

MaxDB: all you need!                   
www.mysql.com/products/maxdb  www.sapdb.org  

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to