unixODBC with Mandrake php4.0.3r1

From: Date: Wed, 06 Dec 2000 22:02:08 +0000
Subject: unixODBC with Mandrake php4.0.3r1
Groups: php.db 
Request: Send a blank email to php-db+get-5060@lists.php.net to get a copy of this message
I' ve tried to compile the support for unix odbc in php4 module under Linux Mandrake 7.2. I tried boot unixODBC included in mandrake 7.2 and tar.gz zinstallation. I download the srpm of php4.0.3pl1 and i add in the php.spec file the line "--with-unixODBC \" , but when i recompile the module php4 in the linker process there are the follow errors: ../../shared/libphp_common.so: undefined reference to `SQLParamData' ../../shared/libphp_common.so: undefined reference to `SQLTables' ../../shared/libphp_common.so: undefined reference to `SQLExecDirect' ../../shared/libphp_common.so: undefined reference to `SQLGetInfo' ../../shared/libphp_common.so: undefined reference to `SQLColumnPrivileges' ../../shared/libphp_common.so: undefined reference to `SQLSetConnectOption' ../../shared/libphp_common.so: undefined reference to `SQLFreeConnect' ../../shared/libphp_common.so: undefined reference to `SQLStatistics' ../../shared/libphp_common.so: undefined reference to `SQLSpecialColumns' ../../shared/libphp_common.so: undefined reference to `SQLGetTypeInfo' ../../shared/libphp_common.so: undefined reference to `SQLSetCursorName' ../../shared/libphp_common.so: undefined reference to `SQLAllocConnect' ../../shared/libphp_common.so: undefined reference to `SQLDescribeParam' ../../shared/libphp_common.so: undefined reference to `SQLNumParams' ../../shared/libphp_common.so: undefined reference to `SQLGetCursorName' ../../shared/libphp_common.so: undefined reference to `SQLForeignKeys' ../../shared/libphp_common.so: undefined reference to `SQLTablePrivileges' ../../shared/libphp_common.so: undefined reference to `SQLPrepare' ../../shared/libphp_common.so: undefined reference to `SQLPrimaryKeys' ../../shared/libphp_common.so: undefined reference to `SQLNumResultCols' ../../shared/libphp_common.so: undefined reference to `SQLSetStmtOption' ../../shared/libphp_common.so: undefined reference to `SQLTransact' ../../shared/libphp_common.so: undefined reference to `SQLRowCount' ../../shared/libphp_common.so: undefined reference to `SQLAllocEnv' ../../shared/libphp_common.so: undefined reference to `SQLBindParameter' ../../shared/libphp_common.so: undefined reference to `SQLProcedures' ../../shared/libphp_common.so: undefined reference to `SQLError' ../../shared/libphp_common.so: undefined reference to `SQLColAttributes' ../../shared/libphp_common.so: undefined reference to `SQLFreeStmt' ../../shared/libphp_common.so: undefined reference to `SQLBindCol' ../../shared/libphp_common.so: undefined reference to `SQLGetConnectOption' ../../shared/libphp_common.so: undefined reference to `SQLFetch' ../../shared/libphp_common.so: undefined reference to `SQLProcedureColumns' ../../shared/libphp_common.so: undefined reference to `SQLGetData' ../../shared/libphp_common.so: undefined reference to `SQLConnect' ../../shared/libphp_common.so: undefined reference to `SQLExtendedFetch' ../../shared/libphp_common.so: undefined reference to `SQLFreeEnv' ../../shared/libphp_common.so: undefined reference to `SQLColumns' ../../shared/libphp_common.so: undefined reference to `SQLExecute' ../../shared/libphp_common.so: undefined reference to `SQLDisconnect' ../../shared/libphp_common.so: undefined reference to `SQLAllocStmt' ../../shared/libphp_common.so: undefined reference to `SQLPutData' collect2: ld returned 1 exit status Can you help me to have unix ODBC support under php4? Tank's Omar Schiaratura

« previous php.db (#5060) next »