Re: Build error - DBD::Oracle, Oracle 11.2.0.1, 32-bit client, remote DB

John D Groenveld <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <[email protected]>
In message <55BC400CFF41A94AAE7062AB10940B3F022CD0@stntexmb12.cis.neustar.com>,
 "Vaughan, Mark" writes:
>I'm trying to build DBI and DBD::Oracle to run on a Linux server (2.6.18-27=
>4.7.1.el5) using the 11g (11.2.0.1) 32-bit client. The database resides on =

Your perl must be 32-bit to build 32-bit DBD::Oracle.

>/usr/bin/perl -p -e "s/~DRIVER~/Oracle/g" /u/mvaughan/perl.lib/lib64/perl5/=
>site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/Driver.xst > Oracle.xsi

/usr/bin/perl is 64-bit.

>/usr/bin/ld: skipping incompatible /u01/app/oracle/product/11.2.0/client32/=
>lib//libclntsh.so when searching for -lclntsh
>/usr/bin/ld: cannot find -lclntsh

Install the 64-bit Oracle InstantClient and set your ORACLE_HOME
to it or install a 32-bit Perl and use it to build 32-bit DBD::Oracle.

John
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.