On 2008-10-09 10:58:01 +1000, Changcheng Zou wrote: > I got a 64bit RHEL running 32bit IDS11(we don't have 32bit IDS). The > processor is a Xeon 3000, therefore I believe that 32bit software will run. > Everything goes fine until we got this DBD-Informix problem. Because the > perl is a 64bit version (5.10.0), but the esql is a 32bit. We got error > messages as following,
You cannot link a 32 bit library to a 64 bit program (or vice versa).
You will either have to get the 64bit client libraries of informix
(assuming the exist) or compile a 32 bit version of perl.
> *--------------------------------------------------------------------------------------------------------------------------
>
> lib/DBD/Informix/Defaults.pm written OK
> esqlinfo.h written OK
>
> Testing whether your Informix test environment will work...
> /usr/bin/ld: skipping incompatible /opt/ids/lib/esql/libifsql.so when
> searching for -lifsql
> /usr/bin/ld: skipping incompatible /opt/ids/lib/esql/libifsql.a when
> searching for -lifsql
> /usr/bin/ld: cannot find -lifsql
> *----------------------------------------------------------------------------------------------------------------------------
>
>
> I have no idea what this '-lifsql' is.
"-lifsql" means "link with the "ifsql" library. The linker does find two
libraries (/opt/ids/lib/esql/libifsql.so and
/opt/ids/lib/esql/libifsql.a) but both are of the wrong type, so it
tells you that it cannot use them.
hp
--
_ | Peter J. Holzer | Am Anfang war der Bug und der
|_|_) | Sysadmin WSR | Verantwortliche sprach:
| | | [EMAIL PROTECTED] | Es werde ein Testcase.
__/ | http://www.hjp.at/ | -- Clemens Zauner in dcii
pgpgxiZGpwcgN.pgp
Description: PGP signature
