> > We have the Oracle instant client 10.0.2.0 installed and working fine
> > on our s390x (aka s390 64-bit, zLinux) host. Now we want to use
> > DBD::Oracle there, but I can't find any precompiled packages
> > anywhere, and when we try to build it we get either
> > 
> > The ORACLE_HOME environment variable value
> > (/opt/Oracle/instantclient_10_2) is not valid.
> > 
> > which is untrue; the ORACLE_HOME is valid, as I've verified by using
> > sqlplus from there.  After faking $ORACLE_HOME/lib a bit, I get
> > instead the dreaded
> > 
> > Unable to locate an oracle.mk, proc.mk or other suitable *.mk file in
> > your Oracle installation.
> 
> Which DBD::Oracle are you attempting to build?

Well.  Now that I look at it, we were using DBD-Oracle-1.16, which is probably
ancient by now.  I just downloaded the latest DBD-Oracle-1.26 and tried again,
and it builds and installs just fine.

Thanks for asking me that basic question.

For the record...

> So you've untarred the instantclient sqlplus, sdk and basic zip files?
> 
> and they all unzip into a single place /opt/Oracle/instantclient_10_2?
> 
> Did you check the permissions on the entire tree from /opt?

Yes, yes, and yes.

> Did you set and export the ORACLE_HOME environment variable or
> LD_LIBRARY_PATH and if so what did you set it to? I would not set
> ORACLE_HOME but I would set LD_LIBRARY_PATH to
> /opt/Oracle/instantclient_10_2.

Yes, we have ORACLE_HOME=/opt/Oracle/instantclient_10_2.  I don't have
LD_LIBRARY_PATH set, but instead we put /opt/Oracle/instantclient_10_2 into
/etc/ld.so.conf and ran ldconfig.

Thank you very much for your help.
Andrew.

Reply via email to