Re: URGENT help required : Compile/build requirements for DBI - 1.37and DBD-Oracle- 1.14
am 25.06.2007 17:16:51 von rafiqHi Deepa,
On Mon, 25 Jun 2007, Deepa.Nag@Sun.COM wrote:
> We need to bundle DBI -1.37 and DBD-Oracle-1.14 in our product. Our product
> is supported on Solaris 8, 9 and 10 (sparc architecture). Are there any
> architecture specific or OS specific source code in DBI or DBD-Oracle that we
> have to build them on every OS or architecture? We are assuming that if we
> compile DBI and DBD-Oracle source on Solaris 8, it should work fine with
> Solaris 9 and 10 as well. Is our assumption correct? Please help.
Given that DBD::Oracle would be linking against your native ora libraries,
the compiled .so's would obviously be bound to the architecture of the
platform they are built on. That, said, I've compiled native code under
solaris 8 on a sparc station 20 and utilised it on a sunfire - probably
running under-optimally :). The idea is probably to build against an
architecture which is commonly supported across your platforms. The
different solaris versions might affect the verion of your underlying
system libraries and in turn cause your compatibility layer to break
again.
If I were you and 'HAD TO' deploy through a single binary package, I'd
have three binary builds (per os) and make it part of your
post/pre-install to insure that only the correct one persists in the
correct location.
Just my 0.02 EU's.
Raf