php-db | 2000121
Date: 12/07/00
- Next message: Chad Day: "[PHP-DB] RE: [PHP] Data integrity checking w/ PHP & MySQL?"
- Previous message: Web Master: "[PHP-DB] Re: [PHP] Data integrity checking w/ PHP & MySQL?"
- In reply to: Omar Schiaratura: "[PHP-DB] unixODBC with Mandrake php4.0.3r1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Omar,
It looks at if you are prob. missing the header files that contain the ODBC
symbols.
Unix ODBC should be able to provide you with files, and instructions for
compiling.
You can also use iODBC - it is a free driver manager that will work with any
linux-based ODBC driver.
A HOWTO for iODBC is here:
http://www.iodbc.org/odbc-phpHOWTO.html
Hope this helps.
Best regards,
Andrew
----------------------------------------------------
Andrew Hill
Director Technology Evangelism
OpenLink Software
http://www.openlinksw.com
XML & E-Business Infrastructure Technology Provider
> -----Original Message-----
> From: Omar Schiaratura [mailto:schiarat <email protected>]
> Sent: Wednesday, December 06, 2000 5:02 PM
> To: php-db <email protected>
> Subject: [PHP-DB] unixODBC with Mandrake php4.0.3r1
>
>
> 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
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe <email protected>
> For additional commands, e-mail: php-db-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
>
>
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Chad Day: "[PHP-DB] RE: [PHP] Data integrity checking w/ PHP & MySQL?"
- Previous message: Web Master: "[PHP-DB] Re: [PHP] Data integrity checking w/ PHP & MySQL?"
- In reply to: Omar Schiaratura: "[PHP-DB] unixODBC with Mandrake php4.0.3r1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

