Re: Problems building Oracle::OCI 0.03 against Oracle 8.1.7 Linux
[email protected] (Tim Bunce) Wed, 11 Jul 2001 10:31:37 +0100
| Newsgroups | perl.dbi.oracle-oci |
|---|---|
| Organization | Paul Ingram Group, Software Systems, +44 1 483 862800 |
| Message-ID | <[email protected]> |
On Tue, Jul 10, 2001 at 05:40:57PM -0500, Stephen Clouse wrote:
> Next, it seems to forget to actually link to the Oracle libraries. I had to
> coerce it to add the link stuff to the final Makefile.
>
> print "Building...\n";
> - -system("perl Makefile.PL && make && make test");
> +system("perl Makefile.PL LIBS=\"-L$ENV{ORACLE_HOME}/lib -lclntsh -lwtc8\" && \
Odd.
Was the DBD::Oracle built on that system?
What was the LIBS it was trying to use?
Can you find a more generic fix to the underlying problem?
> Finally, I had to patch getptrdef.h like so, which fixed the unresolved symbols
> I was running into:
>
> +#define ora_getptr_OCITransPtr ora_getptr_generic
> +#define ora_getptr_OCIUcbPtr ora_getptr_generic
Thanks. (At some point I hope the production of that file will be
automated.)
> With those changes it builds and tests perfectly.
Yeah! Great.
Do you have any time to play with it further?
Tim.