DBD::Oracle on Solaris 9/10 and Oracle 10g

DBD::Oracle on Solaris 9/10 and Oracle 10g

am 20.07.2007 19:48:32 von cbrandt

I found some discussion with the above subject from around February 2007
and thought I'd add my experience, since I just had to compile
DBD::Oracle on one of our Solaris systems.

I found that to get the compile to properly point at the 32-bit
libraries, I had to make the following changes to the generated Makefile:

* delete all references to -xarch=v9
* change all occurrences of client_1/lib to client_1/lib32
* change all occurrences of rdbms/lib to rdbms/lib32

These changes worked on Solaris 9 and 10. I'm not sure why the 'xarch'
param causes problems. However, the libraries seem to be incorrectly
defaulting to 'lib', which is the 64-bit libraries under 10g.

I don't know if there is a flag to pass into Makefile.PL to fix this or
if the file needs to be hacked to default to the 'lib32' directory.


Jim


--
Jim Brandt
Administrative Computing Services
University at Buffalo