I believe DB2 Connect 8.1 with Fix Pak 5 applied is supposed to provide 64-bit support. But only for DB2 Connect.
On Thu, 2004-07-29 at 16:13, Post, Mark K wrote: > I was just going to reply with essentially the same thought. I'm just about > positive that there is no 64-bit version of DB2/UDB available for Linux/390. > I think if he removes the --with-db2 stuff, PHP will build just fine. > > > Mark Post > > -----Original Message----- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of > Fargusson.Alan > Sent: Thursday, July 29, 2004 5:09 PM > To: [EMAIL PROTECTED] > Subject: Re: PHP4 SLES8 Apache 1.3 DB2 Connect > > > I should probably wait for someone more knowledgeable then me to reply, but > here goes anyway. > > It looks to me like you tried to link a 64 bit program with a 32 bit > library. I don't think there is a 64 bit version of DB2 yet, so I don't > know how to get around this. All the undefended references are defined in > the db2 library, which was skipped. > > Note that while you can run 32 bit programs on a 64 bit system, you cannot > mix 32 bit code and 64 bit code in one program. > > -----Original Message----- > From: Seader, Cameron [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 29, 2004 1:58 PM > To: [EMAIL PROTECTED] > Subject: PHP4 SLES8 Apache 1.3 DB2 Connect > > > Anyone have any luck with getting PHP compiled for PHP4 > I'm having the hardest time with this. All hte list serves and forums make > it sound easy, and i have done it before on a redhat system. I know it works > but whenever i do it on Suse and try to compile it i get these errors. Am i > missing some package? > > /usr/lib64/gcc-lib/s390x-suse-linux/3.2/../../../../s390x-suse-linux/bin/ld: > skippin g incompatible /home/db2admin/sqllib/lib/libdb2.so when searching > for -ldb2 > ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam': > ext/mysql/libmysql/my_tempnam.lo(.text+0x7e): the use of `tempnam' is > dangerous, bet ter use `mkstemp' > ext/odbc/php_odbc.lo: In function `_free_odbc_result': > ext/odbc/php_odbc.lo(.text+0xd0): undefined reference to `SQLFreeStmt' > ext/odbc/php_odbc.lo: In function `safe_odbc_disconnect': > ext/odbc/php_odbc.lo(.text+0x10a): undefined reference to `SQLDisconnect' > ext/odbc/php_odbc.lo(.text+0x136): undefined reference to `SQLTransact' > ext/odbc/php_odbc.lo(.text+0x140): undefined reference to `SQLDisconnect' > ext/odbc/php_odbc.lo: In function `_close_odbc_conn': > ext/odbc/php_odbc.lo(.text+0x1d4): undefined reference to `SQLFreeConnect' > ext/odbc/php_odbc.lo(.text+0x1e0): undefined reference to `SQLFreeEnv' > ext/odbc/php_odbc.lo: In function `_close_odbc_pconn': > ext/odbc/php_odbc.lo(.text+0x2c0): undefined reference to `SQLFreeConnect' > ext/odbc/php_odbc.lo(.text+0x2cc): undefined reference to `SQLFreeEnv' > ext/odbc/php_odbc.lo: In function `odbc_sql_error': > ext/odbc/php_odbc.lo(.text+0xdec): undefined reference to `SQLError' > ext/odbc/php_odbc.lo: In function `odbc_bindcols': > ext/odbc/php_odbc.lo(.text+0x116c): undefined reference to > `SQLColAttributes' > ext/odbc/php_odbc.lo(.text+0x11a4): undefined reference to > `SQLColAttributes' > ext/odbc/php_odbc.lo(.text+0x1206): undefined reference to > `SQLColAttributes' > ext/odbc/php_odbc.lo(.text+0x1274): undefined reference to `SQLBindCol' > ext/odbc/php_odbc.lo: In function `odbc_transact': > ext/odbc/php_odbc.lo(.text+0x1328): undefined reference to `SQLTransact' > ext/odbc/php_odbc.lo: In function `odbc_column_lengths': > ext/odbc/php_odbc.lo(.text+0x14f0): undefined reference to > `SQLColAttributes' > ext/odbc/php_odbc.lo: In function `zif_odbc_prepare': > ext/odbc/php_odbc.lo(.text+0x1880): undefined reference to `SQLAllocStmt' > ext/odbc/php_odbc.lo(.text+0x18b4): undefined reference to `SQLGetInfo' > ext/odbc/php_odbc.lo(.text+0x18e2): undefined reference to `SQLPrepare' > ext/odbc/php_odbc.lo(.text+0x1954): undefined reference to `SQLNumParams' > ext/odbc/php_odbc.lo(.text+0x1968): undefined reference to > `SQLNumResultCols' > ext/odbc/php_odbc.lo(.text+0x19fa): undefined reference to > `SQLSetStmtOption' > ext/odbc/php_odbc.lo(.text+0x1a28): undefined reference to `SQLFreeStmt' > ext/odbc/php_odbc.lo: In function `zif_odbc_execute': > ext/odbc/php_odbc.lo(.text+0x1d7e): undefined reference to > `SQLDescribeParam' > ext/odbc/php_odbc.lo(.text+0x1ef2): undefined reference to > `SQLBindParameter' > ext/odbc/php_odbc.lo(.text+0x1f34): undefined reference to `SQLFreeStmt' > ext/odbc/php_odbc.lo(.text+0x1f50): undefined reference to `SQLExecute' > ext/odbc/php_odbc.lo(.text+0x1fc6): undefined reference to `SQLFreeStmt' > ext/odbc/php_odbc.lo(.text+0x205e): undefined reference to > `SQLNumResultCols' > ext/odbc/php_odbc.lo(.text+0x20e6): undefined reference to `SQLParamData' > ext/odbc/php_odbc.lo(.text+0x213c): undefined reference to `SQLPutData' > ext/odbc/php_odbc.lo(.text+0x22c0): undefined reference to `SQLFreeStmt' > ext/odbc/php_odbc.lo(.text+0x2374): undefined reference to `SQLFreeStmt' > ext/odbc/php_odbc.lo(.text+0x23a8): undefined reference to `SQLFreeStmt' > ext/odbc/php_odbc.lo: In function `zif_odbc_cursor': > ext/odbc/php_odbc.lo(.text+0x249e): undefined reference to `SQLGetInfo' > ext/odbc/php_odbc.lo(.text+0x24e2): undefined reference to > `SQLGetCursorName' > ext/odbc/php_odbc.lo(.text+0x2542): undefined reference to `SQLError' > ext/odbc/php_odbc.lo(.text+0x25c0): undefined reference to > `SQLSetCursorName' > ext/odbc/php_odbc.lo: In function `zif_odbc_data_source': > ext/odbc/php_odbc.lo(.text+0x27d4): undefined reference to `SQLDataSources' > ext/odbc/php_odbc.lo: In function `zif_odbc_exec': > ext/odbc/php_odbc.lo(.text+0x2a1e): undefined reference to `SQLAllocStmt' > ext/odbc/php_odbc.lo(.text+0x2a52): undefined reference to `SQLGetInfo' > ext/odbc/php_odbc.lo(.text+0x2a80): undefined reference to `SQLExecDirect' > ext/odbc/php_odbc.lo(.text+0x2ac6): undefined reference to `SQLFreeStmt' > ext/odbc/php_odbc.lo(.text+0x2b02): undefined reference to > `SQLNumResultCols' > ext/odbc/php_odbc.lo(.text+0x2b86): undefined reference to > `SQLSetStmtOption' > ext/odbc/php_odbc.lo: In function `php_odbc_fetch_hash': > ext/odbc/php_odbc.lo(.text+0x2dec): undefined reference to > `SQLExtendedFetch' > ext/odbc/php_odbc.lo(.text+0x30a6): undefined reference to `SQLGetData' > ext/odbc/php_odbc.lo(.text+0x31e6): undefined reference to `SQLFetch' > ext/odbc/php_odbc.lo: In function `zif_odbc_fetch_into': > ext/odbc/php_odbc.lo(.text+0x346c): undefined reference to > `SQLExtendedFetch' > ext/odbc/php_odbc.lo(.text+0x3654): undefined reference to `SQLGetData' > ext/odbc/php_odbc.lo(.text+0x379e): undefined reference to `SQLFetch' > ext/odbc/php_odbc.lo: In function `zif_odbc_fetch_row': > ext/odbc/php_odbc.lo(.text+0x39b8): undefined reference to > `SQLExtendedFetch' > ext/odbc/php_odbc.lo(.text+0x3a26): undefined reference to `SQLFetch' > ext/odbc/php_odbc.lo: In function `zif_odbc_result': > ext/odbc/php_odbc.lo(.text+0x3c60): undefined reference to > `SQLExtendedFetch' > ext/odbc/php_odbc.lo(.text+0x3d84): undefined reference to > `SQLColAttributes' > ext/odbc/php_odbc.lo(.text+0x3e06): undefined reference to `SQLGetData' > ext/odbc/php_odbc.lo(.text+0x3f9a): undefined reference to `SQLGetData' > ext/odbc/php_odbc.lo(.text+0x4028): undefined reference to `SQLFetch' > ext/odbc/php_odbc.lo: In function `zif_odbc_result_all': > ext/odbc/php_odbc.lo(.text+0x41bc): undefined reference to > `SQLExtendedFetch' > ext/odbc/php_odbc.lo(.text+0x4322): undefined reference to > `SQLExtendedFetch' > ext/odbc/php_odbc.lo(.text+0x4386): undefined reference to `SQLFetch' > ext/odbc/php_odbc.lo(.text+0x4414): undefined reference to `SQLGetData' > ext/odbc/php_odbc.lo(.text+0x45dc): undefined reference to `SQLFetch' > ext/odbc/php_odbc.lo: In function `odbc_sqlconnect': > ext/odbc/php_odbc.lo(.text+0x480c): undefined reference to `SQLAllocEnv' > ext/odbc/php_odbc.lo(.text+0x4822): undefined reference to `SQLAllocConnect' > ext/odbc/php_odbc.lo(.text+0x4844): undefined reference to > `SQLSetConnectOption' > ext/odbc/php_odbc.lo(.text+0x4880): undefined reference to `SQLConnect' > ext/odbc/php_odbc.lo(.text+0x48c6): undefined reference to `SQLFreeConnect' > ext/odbc/php_odbc.lo: In function `odbc_do_connect': > ext/odbc/php_odbc.lo(.text+0x4bc6): undefined reference to `SQLGetInfo' > ext/odbc/php_odbc.lo: In function `zif_odbc_num_rows': > ext/odbc/php_odbc.lo(.text+0x539a): undefined reference to `SQLRowCount' > ext/odbc/php_odbc.lo: In function `zif_odbc_next_result': > ext/odbc/php_odbc.lo(.text+0x54be): undefined reference to `SQLMoreResults' > ext/odbc/php_odbc.lo(.text+0x54fa): undefined reference to `SQLFreeStmt' > ext/odbc/php_odbc.lo(.text+0x550e): undefined reference to `SQLNumParams' > ext/odbc/php_odbc.lo(.text+0x5522): undefined reference to > `SQLNumResultCols' > ext/odbc/php_odbc.lo: In function `zif_odbc_field_type': > ext/odbc/php_odbc.lo(.text+0x5942): undefined reference to > `SQLColAttributes' > ext/odbc/php_odbc.lo: In function `zif_odbc_autocommit': > ext/odbc/php_odbc.lo(.text+0x5daa): undefined reference to > `SQLSetConnectOption' > ext/odbc/php_odbc.lo(.text+0x5e5c): undefined reference to > `SQLGetConnectOption' > ext/odbc/php_odbc.lo: In function `zif_odbc_setoption': > ext/odbc/php_odbc.lo(.text+0x6252): undefined reference to > `SQLSetStmtOption' > ext/odbc/php_odbc.lo(.text+0x6326): undefined reference to > `SQLSetConnectOption' > ext/odbc/php_odbc.lo: In function `zif_odbc_tables': > ext/odbc/php_odbc.lo(.text+0x66aa): undefined reference to `SQLAllocStmt' > ext/odbc/php_odbc.lo(.text+0x6784): undefined reference to `SQLTables' > ext/odbc/php_odbc.lo(.text+0x67b0): undefined reference to > `SQLNumResultCols' > ext/odbc/php_odbc.lo: In function `zif_odbc_columns': > ext/odbc/php_odbc.lo(.text+0x6cb6): undefined reference to `SQLAllocStmt' > ext/odbc/php_odbc.lo(.text+0x6d66): undefined reference to `SQLColumns' > ext/odbc/php_odbc.lo(.text+0x6d92): undefined reference to > `SQLNumResultCols' > ext/odbc/php_odbc.lo: In function `zif_odbc_columnprivileges': > ext/odbc/php_odbc.lo(.text+0x720a): undefined reference to `SQLAllocStmt' > ext/odbc/php_odbc.lo(.text+0x72be): undefined reference to > `SQLColumnPrivileges' > ext/odbc/php_odbc.lo(.text+0x72ea): undefined reference to > `SQLNumResultCols' > ext/odbc/php_odbc.lo: In function `zif_odbc_foreignkeys': > ext/odbc/php_odbc.lo(.text+0x780e): undefined reference to `SQLAllocStmt' > ext/odbc/php_odbc.lo(.text+0x7916): undefined reference to `SQLForeignKeys' > ext/odbc/php_odbc.lo(.text+0x7942): undefined reference to > `SQLNumResultCols' > ext/odbc/php_odbc.lo: In function `zif_odbc_gettypeinfo': > ext/odbc/php_odbc.lo(.text+0x7d9e): undefined reference to `SQLAllocStmt' > ext/odbc/php_odbc.lo(.text+0x7dce): undefined reference to `SQLGetTypeInfo' > ext/odbc/php_odbc.lo(.text+0x7dfa): undefined reference to > `SQLNumResultCols' > ext/odbc/php_odbc.lo: In function `zif_odbc_primarykeys': > ext/odbc/php_odbc.lo(.text+0x80ea): undefined reference to `SQLAllocStmt' > ext/odbc/php_odbc.lo(.text+0x8172): undefined reference to `SQLPrimaryKeys' > ext/odbc/php_odbc.lo(.text+0x819e): undefined reference to > `SQLNumResultCols' > ext/odbc/php_odbc.lo: In function `zif_odbc_procedurecolumns': > ext/odbc/php_odbc.lo(.text+0x85c6): undefined reference to `SQLAllocStmt' > ext/odbc/php_odbc.lo(.text+0x867a): undefined reference to > `SQLProcedureColumns' > ext/odbc/php_odbc.lo(.text+0x86a6): undefined reference to > `SQLNumResultCols' > ext/odbc/php_odbc.lo: In function `zif_odbc_procedures': > ext/odbc/php_odbc.lo(.text+0x8aec): undefined reference to `SQLAllocStmt' > ext/odbc/php_odbc.lo(.text+0x8b74): undefined reference to `SQLProcedures' > ext/odbc/php_odbc.lo(.text+0x8ba0): undefined reference to > `SQLNumResultCols' > ext/odbc/php_odbc.lo: In function `zif_odbc_specialcolumns': > ext/odbc/php_odbc.lo(.text+0x9070): undefined reference to `SQLAllocStmt' > ext/odbc/php_odbc.lo(.text+0x9146): undefined reference to > `SQLSpecialColumns' > ext/odbc/php_odbc.lo(.text+0x9172): undefined reference to > `SQLNumResultCols' > ext/odbc/php_odbc.lo: In function `zif_odbc_statistics': > ext/odbc/php_odbc.lo(.text+0x9704): undefined reference to `SQLAllocStmt' > ext/odbc/php_odbc.lo(.text+0x97c0): undefined reference to `SQLStatistics' > ext/odbc/php_odbc.lo(.text+0x97ec): undefined reference to > `SQLNumResultCols' > ext/odbc/php_odbc.lo: In function `zif_odbc_tableprivileges': > ext/odbc/php_odbc.lo(.text+0x9c6e): undefined reference to `SQLAllocStmt' > ext/odbc/php_odbc.lo(.text+0x9cf6): undefined reference to > `SQLTablePrivileges' > ext/odbc/php_odbc.lo(.text+0x9d22): undefined reference to > `SQLNumResultCols' > collect2: ld returned 1 exit status > make: *** [sapi/cli/php] Error 1 > > The line at the top that says skipping incompatible > /home/db2admin/sqllib/lib/libdb2.so when searching for -ldb2 what does this > mean? Is my DB2 Connect not compatible with this or something. Thats the > only thing i can think of. Anyone have any ideas. I have never ever seen > these errors before. > > TIA > -Cameron Seader > > > [INFO] -- Access Manager: > This transmission may contain information that is privileged, confidential > and/or exempt from disclosure under applicable law. If you are not the > intended recipient, you are hereby notified that any disclosure, copying, > distribution, or use of the information contained herein (including any > reliance thereon) is STRICTLY PROHIBITED. If you received this transmission > in error, please immediately contact the sender and destroy the material in > its entirety, whether in electronic or hard copy format. Thank you. A2 > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, send email > to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, send email > to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 -- Rich Smrcina illustro Systems International, LLC --- See The Light--- Visit www.illustro.com to experience: z/Web-Host -- Easy Web-enabling for your Mainframe z/XML-Host -- Easy XML Enablement for your Mainframe Tel: +1.214.800.8900 Fax: +1.214.800.8989 Catch the WAVV! http://www.wavv.org WAVV 2005 - Colorado Springs - May 20-24, 2005 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
