On 2009-09-25 12:28:08 -0400, Danilson, John wrote: > I am trying to install DBD::Oracle on my mac and I¹m having issues with the > make test. But I think the issues begin earlier. > > Mac os/x 10.5.8 (intel) > DBD-Oracle-1.23 [...] > make returns the following warnings. I think this is the root of my issues > but don¹t know how to resolve: > > ld warning: in /Users/oracle/product/10.2.0/db_1/lib//libclntsh.dylib, file > is not of required architecture > ld warning: in /Users/oracle/product/10.2.0/db_1/lib//libclntsh.dylib, file > is not of required architecture
Assuming you haven't installed the PowerPC version of Oracle, this looks
like you have either installed the 64bit Intel version and your perl is
a 32 bit executable or vice versa. While a 64 bit Intel system can run
both 32-bit and 64-bit executables, you cannot build a single executable
which contains 32-bit and 64-bit code.
So you should probably find out what kind of executable your perl is
(run
perl -V
or
file `which perl`
to find out)
and then find a matching Oracle client. Alternatively, you can build
perl yourself to match your oracle libraries.
There is also the possibility that your Oracle installation already
contains both types of libraries and Makefile.PL failed to detect the
correct version. If there is a lib64 or lib32 subdirectory somewhere
that's probably the case.
hp
--
_ | Peter J. Holzer | Auf jedem Computer sollte der Satz Ludwigs II
|_|_) | Sysadmin WSR | eingeprägt stehen: "Ein ewig Rätsel will ich
| | | [email protected] | bleiben, mir und andern."
__/ | http://www.hjp.at/ | -- Wolfram Heinrich in desd
signature.asc
Description: Digital signature
