Re: Unable to make DBD::Oracle 1.44
"Martin J. Evans" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.general |
|---|---|
| Message-ID | <[email protected]> |
On 26/04/2012 19:32, John Adams wrote: > Hi, folks, > > I'm having issues with making DBD::Oracle. Some information: > > Oracle version 11.1.0.7 > DBI version 1.52 > Perl version 5.8.8 > OS version RHEL 5.8 > > The odd wrinkle in this is that most of Oracle on this machine is > installed in an /opt/oracle directory but that the InstantClient rpms > install into the various normal places under /usr, so I've done this > to create Makefile: > > perl Makefile.PL CCFLAGS="-I/usr/include/oracle/11.1/client64" > LDFLAGS="-L/usr/lib/oracle/11.1/client64/lib > -R/usr/lib/oracle/11.1/client64/lib" > > When I try to make the module, these errors result: > Snipped all the build errors > make: *** [Oracle.o] Error 1 > > Can you help? > > Thanks, > > John A When I build against Oracle Instant Client I download the instant client from Oracle, unzip it in /home/martin. Then I set LD_LIBRARY_PATH=/home/martin/instantclient_11_2 and do perl Makefile.PL make Do you really want to use instant client or build directly against your oracle install - you seem, to me, to be mixing the two. There are issues building against a full Oracle install right now as I believe they (Oracle) have put the files required in different packages but I've never had any issues with InstantClient. Martin