Hi,

Does anyone have a WORKING recipe for building DBD::Oracle against Instant client? I have followed the recipes:

http://groups.google.com/group/perl.dbi.users/browse_thread/thread/c166e7d297d388fc/2770a60133842123?q=instant+client&rnum=3&hl=en#2770a60133842123
http://groups.google.com/group/perl.dbi.users/browse_thread/thread/fd220908b204a0c5/2a251348deb5e7e7?q=instant+client&rnum=4&hl=en#2a251348deb5e7e7

But neither of those worked for me.  Here is what I've done:

cd /usr/local/src
unzip /home/jstrauss/instantclient-basic-linux32-10.2.0.1-20050713.zip
unzip /home/jstrauss/instantclient-sdk-linux32-10.2.0.1-20050713.zip
unzip /home/jstrauss/instantclient-sqlplus-linux32-10.2.0.1-20050713.zip
cd instantclient_10_2/
mkdir -p bin lib java network/admin
mv lib* lib
mv *.jar java
mv sqlplus bin
mv glogin.sql bin
mv sdk/demo .
mv sdk/include .
mv sdk/ott bin
mv sdk/ottclasses.zip java
rmdir sdk
ln -s libclntsh.so.10.1 lib/libclntsh.so
export ORACLE_HOME=/usr/local/src/instantclient_10_2
export PATH=$PATH:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export SQLPATH=$ORACLE_HOME/bin

cpan get DBD::Oracle
cd .cpan/build/DBD-Oracle-1.16/

[EMAIL PROTECTED]:~/.cpan/build/DBD-Oracle-1.16 # perl Makefile.PL -m /usr/local/src/instantclient_10_2/demo/demo.mk Using DBI 1.48 (for perl 5.008004 on i386-linux-thread-multi) installed in /usr/local/lib/perl/5.8.4/auto/DBI/

 Configuring DBD::Oracle ...

>>>     Remember to actually *READ* the README file!
        Especially if you have any problems.

Using Oracle in /usr/local/src/instantclient_10_2
DEFINE _SQLPLUS_RELEASE = "1002000100" (CHAR)
Oracle version 10.2.0.1 (10.2)
Found /usr/local/src/instantclient_10_2/demo/demo.mk
Using /usr/local/src/instantclient_10_2/demo/demo.mk
Reading /usr/local/src/instantclient_10_2/demo/demo.mk
ERROR parsing /usr/local/src/instantclient_10_2/demo/demo.mk: Unable to determine what to link with.
Please send me copies of these files (one per mail message):
/usr/local/src/instantclient_10_2/demo/demo.mk


I'm doing this on linux

thanks
Jay

Reply via email to