![]() | |
![]() |
| | Thread Tools | Display Modes |
#51
| |||
| |||
|
|
Thanks for your reply Ray, I used standard CentOS 4.5 unixODBC package 2.2.11. I have compiled 2.2.14 from souces, but I don`t know if the constant was SQL_WCHART_CONVERT defined. Where i can check this? Now I have tried to use Sybase ASA 9.0.1 odbc driver to connect ASA 10.0.1 network server (I have tried connect to ASA 10 with ASA 9 ODBC driver on Windows - everything worked correctly). But on linux (CentOS 4.5/CentOS 5.2) i had a problem - everything works correctly using ISQL. I can connect to DB and make some queries. But when I try to use unixODBC with PHP 5.1.6-20 and httpd-2.2.3-11 on CentOS 5.2 I get an error into httpd error log - SEGMENTATION FAULT. My PHP script: $odbc_link = odbc_connect('dsn_test', 'dba', 'sql'); I have set these variables in httpd.conf: SetEnv ODBCINI=/etc/odbc.ini SetEnv ODBCSYSINI=/etc Sybase ASA 9 variables from file /opt/sybase/SYBSsa9/bin/asa_config.sh are set in file /etc/profile Paulius On 8 Gruo, 22:28, Ray Ruvinskiy <first.l... (AT) sybase (DOT) com> wrote: Hi Paulius, Did you compile unixODBC yourself? Do you know if SQL_WCHART_CONVERT was defined in your build? Ray |
![]() |
| Thread Tools | |
| Display Modes | |
| |