DBD-Oracle 1.19 with Oracle Instant Client 10.2.0.3 on Debian Etchwon"t install
DBD-Oracle 1.19 with Oracle Instant Client 10.2.0.3 on Debian Etchwon"t install
am 08.03.2007 13:43:09 von tm
--------------090703000606090406010703
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
I am having a problem setting up DBD::Oracle version 1.19 on a Debian
Etch. I am running perl 5.8.8 and have dbi 1.53 (I believe) installed. I
have instantclient-basic, instantclient-devel, and sqlplus installed. I
can, without a problem, connect to my external DB Server via sqlplus. I
have ORACLE_HOME and LD_LIB path set everything works great, and I am
user root.
I have several times installed DBD::Oracle 1.19 on Debian Etch without
any problem, BUT only with a FULL Oracle client. The installer needs
x-server and I don't want an x on this server, nor do I want a full
oracle client installed.
It just won't work with the inst client.
I am a total noobie to dbi and perl so bare with me!
I have this error, and I know that there are some fixes, but they all
seem to be for older DBD:Oracle Makefiles.
Using Oracle in /usr/lib/oracle/10.2.0.3/client DEFINE _SQLPLUS_RELEASE
= "1002000300" (CHAR) Oracle version 10.2.0.3 (10.2) Unable to locate an
oracle.mk, proc.mk or other suitable *.mk file in your Oracle
installation. (I looked in
/usr/lib/oracle/10.2.0.3/client/rdbms/demo/demo_xe.mk
/usr/lib/oracle/10.2.0.3/client/rdbms +/lib/oracle.mk
/usr/lib/oracle/10.2.0.3/client/rdbms/demo/oracle.mk
/usr/lib/oracle/10.2.0.3/clien +t/rdbms/demo/demo_rdbms.mk
/usr/lib/oracle/10.2.0.3/client/precomp/demo/proc/proc.mk /usr/lib/orac
+le/10.2.0.3/client/precomp/demo/proc/demo_proc.mk
/usr/lib/oracle/10.2.0.3/client/proc/lib/proc.mk +
/usr/lib/oracle/10.2.0.3/client/proc16/lib/proc16.mk under
/usr/lib/oracle/10.2.0.3/client) The oracle.mk (or demo_rdbms.mk) file
is part of the Oracle RDBMS product. The proc.mk (or demo_proc.mk) file
is part of the Oracle Pro*C product. You need to build DBD::Oracle on a
system which has one of these Oracle components installed. (Other *.mk
files such as the env_*.mk files will not work.) Alternatively you can
use Oracle Instant Client.
I also have tried: *perl Makefile.PL -m
/usr/share/oracle/10.2.0.3/client/demo.mk*
which is the only mk file that instant client provides.
It also gives me a makefile for DBD::Oracle but install and test fail
utterly.
Can anybody point me in a direction what I should do. Any pointers to
reciepies how to get this baby working. Really appreciate your time and
effort.
Greets,
tm
--------------090703000606090406010703--
Re: DBD-Oracle 1.19 with Oracle Instant Client 10.2.0.3 on Debian Etch won"t install
am 08.03.2007 16:08:43 von scoles
On thing about the instant client is that it has to make a symbolic link to
compile correctly here
some thing like this
$ ln -s instantclient_10_2/libclntsh.so.10.1 libclntsh.so
If the user that is doing the compile doe not have permission to do this
link then you may get a failure like this.
----- Original Message -----
From: "tm"
To:
Sent: Thursday, March 08, 2007 7:43 AM
Subject: DBD-Oracle 1.19 with Oracle Instant Client 10.2.0.3 on Debian Etch
won't install
> Hi,
>
> I am having a problem setting up DBD::Oracle version 1.19 on a Debian
> Etch. I am running perl 5.8.8 and have dbi 1.53 (I believe) installed. I
> have instantclient-basic, instantclient-devel, and sqlplus installed. I
> can, without a problem, connect to my external DB Server via sqlplus. I
> have ORACLE_HOME and LD_LIB path set everything works great, and I am
> user root.
>
> I have several times installed DBD::Oracle 1.19 on Debian Etch without
> any problem, BUT only with a FULL Oracle client. The installer needs
> x-server and I don't want an x on this server, nor do I want a full
> oracle client installed.
>
> It just won't work with the inst client.
>
> I am a total noobie to dbi and perl so bare with me!
>
> I have this error, and I know that there are some fixes, but they all
> seem to be for older DBD:Oracle Makefiles.
>
> Using Oracle in /usr/lib/oracle/10.2.0.3/client DEFINE _SQLPLUS_RELEASE
> = "1002000300" (CHAR) Oracle version 10.2.0.3 (10.2) Unable to locate an
> oracle.mk, proc.mk or other suitable *.mk file in your Oracle
> installation. (I looked in
> /usr/lib/oracle/10.2.0.3/client/rdbms/demo/demo_xe.mk
> /usr/lib/oracle/10.2.0.3/client/rdbms +/lib/oracle.mk
> /usr/lib/oracle/10.2.0.3/client/rdbms/demo/oracle.mk
> /usr/lib/oracle/10.2.0.3/clien +t/rdbms/demo/demo_rdbms.mk
> /usr/lib/oracle/10.2.0.3/client/precomp/demo/proc/proc.mk /usr/lib/orac
> +le/10.2.0.3/client/precomp/demo/proc/demo_proc.mk
> /usr/lib/oracle/10.2.0.3/client/proc/lib/proc.mk +
> /usr/lib/oracle/10.2.0.3/client/proc16/lib/proc16.mk under
> /usr/lib/oracle/10.2.0.3/client) The oracle.mk (or demo_rdbms.mk) file
> is part of the Oracle RDBMS product. The proc.mk (or demo_proc.mk) file
> is part of the Oracle Pro*C product. You need to build DBD::Oracle on a
> system which has one of these Oracle components installed. (Other *.mk
> files such as the env_*.mk files will not work.) Alternatively you can
> use Oracle Instant Client.
>
> I also have tried: *perl Makefile.PL -m
> /usr/share/oracle/10.2.0.3/client/demo.mk*
> which is the only mk file that instant client provides.
>
> It also gives me a makefile for DBD::Oracle but install and test fail
> utterly.
>
> Can anybody point me in a direction what I should do. Any pointers to
> reciepies how to get this baby working. Really appreciate your time and
> effort.
>
> Greets,
> tm
>
Re: DBD-Oracle 1.19 with Oracle Instant Client 10.2.0.3 on Debian Etch won"t install
am 08.03.2007 18:26:47 von ekrivdyuk
On 2007/03/08 Thu 13:43:09 , tm wrote:
> Hi,
>
> I am having a problem setting up DBD::Oracle version 1.19 on a Debian
> Etch. I am running perl 5.8.8 and have dbi 1.53 (I believe) installed. I
> have instantclient-basic, instantclient-devel, and sqlplus installed. I
> can, without a problem, connect to my external DB Server via sqlplus. I
> have ORACLE_HOME and LD_LIB path set everything works great, and I am
> user root.
>
I've successfully installed DBD::Oracle with instant client on Debian
etch two days ago. You may found this link useful:
http://jeanchristophe.duber.free.fr/dbd_oracle_instantclient _linux/
--
WBR, Eugene Krivdyuk
Re: DBD-Oracle 1.19 with Oracle Instant Client 10.2.0.3 on DebianEtch won"t install
am 09.03.2007 10:09:09 von tm
Hi John,
What are you suggesting? Currently all my Oracle inst client files are
user oracle group oinstall yet lib bin and other dirs have 755
permission so root should be able to access and execute these softlibs.
As I have written, I have installed DBD::Oracle-1.19 many times with a
full client without problem, yet with the limited instant client it does
not find the mk file, and the one mk file (namely demo.mk) that the
instant client installs does not work. So I don't think its a linker
problem. Thanks for the suggestion though!
I am compiling with user root.
Any other suggestions, or how to edit the DBD::Oracle-1.19 Makefile to
make it work without the .mk files?
Thanks for any help!
Toby
John Scoles schrieb:
> On thing about the instant client is that it has to make a symbolic
> link to compile correctly here
>
> some thing like this
>
> $ ln -s instantclient_10_2/libclntsh.so.10.1 libclntsh.so
>
> If the user that is doing the compile doe not have permission to do
> this link then you may get a failure like this.
>
>
> ----- Original Message ----- From: "tm"
> To:
> Sent: Thursday, March 08, 2007 7:43 AM
> Subject: DBD-Oracle 1.19 with Oracle Instant Client 10.2.0.3 on Debian
> Etch won't install
>
>
>> Hi,
>>
>> I am having a problem setting up DBD::Oracle version 1.19 on a Debian
>> Etch. I am running perl 5.8.8 and have dbi 1.53 (I believe) installed. I
>> have instantclient-basic, instantclient-devel, and sqlplus installed. I
>> can, without a problem, connect to my external DB Server via sqlplus. I
>> have ORACLE_HOME and LD_LIB path set everything works great, and I am
>> user root.
>>
>> I have several times installed DBD::Oracle 1.19 on Debian Etch without
>> any problem, BUT only with a FULL Oracle client. The installer needs
>> x-server and I don't want an x on this server, nor do I want a full
>> oracle client installed.
>>
>> It just won't work with the inst client.
>>
>> I am a total noobie to dbi and perl so bare with me!
>>
>> I have this error, and I know that there are some fixes, but they all
>> seem to be for older DBD:Oracle Makefiles.
>>
>> Using Oracle in /usr/lib/oracle/10.2.0.3/client DEFINE _SQLPLUS_RELEASE
>> = "1002000300" (CHAR) Oracle version 10.2.0.3 (10.2) Unable to locate an
>> oracle.mk, proc.mk or other suitable *.mk file in your Oracle
>> installation. (I looked in
>> /usr/lib/oracle/10.2.0.3/client/rdbms/demo/demo_xe.mk
>> /usr/lib/oracle/10.2.0.3/client/rdbms +/lib/oracle.mk
>> /usr/lib/oracle/10.2.0.3/client/rdbms/demo/oracle.mk
>> /usr/lib/oracle/10.2.0.3/clien +t/rdbms/demo/demo_rdbms.mk
>> /usr/lib/oracle/10.2.0.3/client/precomp/demo/proc/proc.mk /usr/lib/orac
>> +le/10.2.0.3/client/precomp/demo/proc/demo_proc.mk
>> /usr/lib/oracle/10.2.0.3/client/proc/lib/proc.mk +
>> /usr/lib/oracle/10.2.0.3/client/proc16/lib/proc16.mk under
>> /usr/lib/oracle/10.2.0.3/client) The oracle.mk (or demo_rdbms.mk) file
>> is part of the Oracle RDBMS product. The proc.mk (or demo_proc.mk) file
>> is part of the Oracle Pro*C product. You need to build DBD::Oracle on a
>> system which has one of these Oracle components installed. (Other *.mk
>> files such as the env_*.mk files will not work.) Alternatively you can
>> use Oracle Instant Client.
>>
>> I also have tried: *perl Makefile.PL -m
>> /usr/share/oracle/10.2.0.3/client/demo.mk*
>> which is the only mk file that instant client provides.
>>
>> It also gives me a makefile for DBD::Oracle but install and test fail
>> utterly.
>>
>> Can anybody point me in a direction what I should do. Any pointers to
>> reciepies how to get this baby working. Really appreciate your time and
>> effort.
>>
>> Greets,
>> tm
>>
>
>
Re: DBD-Oracle 1.19 with Oracle Instant Client 10.2.0.3 on DebianEtch won"t install
am 09.03.2007 10:16:21 von tm
--------------020505000302050503000601
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Hi Eugene,
I have seen this link before, yet I have tried the instructions (unfortunatly have not tried hard enough) on this site and I didn't get it to work due to my noobist knowledge :)
But if you say that it works, i give it another shot with these instructions. If I should hit a wall please help out, thanks!
Cheers,
Toby
> From:
> *Eugene Krivdyuk*
> Date:
> March 8, 2007 09:26
> Subject:
> Re: DBD-Oracle 1.19 with Oracle Instant Client 10.2.0.3 on Debian Etch
> won't install
> On 2007/03/08 Thu 13:43:09 , tm wrote:
> > Hi,
> >
> > I am having a problem setting up DBD::Oracle version 1.19 on a Debian
> > Etch. I am running perl 5.8.8 and have dbi 1.53 (I believe) installed. I
> > have instantclient-basic, instantclient-devel, and sqlplus installed. I
> > can, without a problem, connect to my external DB Server via sqlplus. I
> > have ORACLE_HOME and LD_LIB path set everything works great, and I am
> > user root.
> >
>
> I've successfully installed DBD::Oracle with instant client on Debian
> etch two days ago. You may found this link useful:
>
> http://jeanchristophe.duber.free.fr/dbd_oracle_instantclient _linux/
>
> --
> WBR, Eugene Krivdyuk
>
>
>
>> Hi,
>>
>> I am having a problem setting up DBD::Oracle version 1.19 on a Debian
>> Etch. I am running perl 5.8.8 and have dbi 1.53 (I believe) installed. I
>> have instantclient-basic, instantclient-devel, and sqlplus installed. I
>> can, without a problem, connect to my external DB Server via sqlplus. I
>> have ORACLE_HOME and LD_LIB path set everything works great, and I am
>> user root.
>>
>> I have several times installed DBD::Oracle 1.19 on Debian Etch without
>> any problem, BUT only with a FULL Oracle client. The installer needs
>> x-server and I don't want an x on this server, nor do I want a full
>> oracle client installed.
>>
>> It just won't work with the inst client.
>>
>> I am a total noobie to dbi and perl so bare with me!
>>
>> I have this error, and I know that there are some fixes, but they all
>> seem to be for older DBD:Oracle Makefiles.
>>
>> Using Oracle in /usr/lib/oracle/10.2.0.3/client DEFINE _SQLPLUS_RELEASE
>> = "1002000300" (CHAR) Oracle version 10.2.0.3 (10.2) Unable to locate an
>> oracle.mk, proc.mk or other suitable *.mk file in your Oracle
>> installation. (I looked in
>> /usr/lib/oracle/10.2.0.3/client/rdbms/demo/demo_xe.mk
>> /usr/lib/oracle/10.2.0.3/client/rdbms +/lib/oracle.mk
>> /usr/lib/oracle/10.2.0.3/client/rdbms/demo/oracle.mk
>> /usr/lib/oracle/10.2.0.3/clien +t/rdbms/demo/demo_rdbms.mk
>> /usr/lib/oracle/10.2.0.3/client/precomp/demo/proc/proc.mk /usr/lib/orac
>> +le/10.2.0.3/client/precomp/demo/proc/demo_proc.mk
>> /usr/lib/oracle/10.2.0.3/client/proc/lib/proc.mk +
>> /usr/lib/oracle/10.2.0.3/client/proc16/lib/proc16.mk under
>> /usr/lib/oracle/10.2.0.3/client) The oracle.mk (or demo_rdbms.mk) file
>> is part of the Oracle RDBMS product. The proc.mk (or demo_proc.mk) file
>> is part of the Oracle Pro*C product. You need to build DBD::Oracle on a
>> system which has one of these Oracle components installed. (Other *.mk
>> files such as the env_*.mk files will not work.) Alternatively you can
>> use Oracle Instant Client.
>>
>> I also have tried: *perl Makefile.PL -m
>> /usr/share/oracle/10.2.0.3/client/demo.mk*
>> which is the only mk file that instant client provides.
>>
>> It also gives me a makefile for DBD::Oracle but install and test fail
>> utterly.
>>
>> Can anybody point me in a direction what I should do. Any pointers to
>> reciepies how to get this baby working. Really appreciate your time and
>> effort.
>>
>> Greets,
>> tm
>>
>
>
--------------020505000302050503000601--
Re: DBD-Oracle 1.19 with Oracle Instant Client 10.2.0.3 on DebianEtch won"t install
am 09.03.2007 17:06:02 von tm
--------------000305080103040400010404
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
So I got it to make the makefile :)
/pascal:~/.cpan/build/DBD-Oracle-1.19# *perl Makefile-instantclient.PL*
Using DBI 1.53 (for perl 5.008008 on i486-linux-gnu-thread-multi)
installed in /usr/lib/perl5/auto/DBI/
Checking if your kit is complete...
Looks good
Using DBI 1.53 (for perl 5.008008 on i486-linux-gnu-thread-multi)
installed in /usr/lib/perl5/auto/DBI/
Writing Makefile for DBD::Oracle
pascal:~/.cpan/build/DBD-Oracle-1.19#/
but after that I am getting a lot of warnings, and I mean a lot of (here
is a snippet):
/
oci8.c: In function âdbd_phs_inâ:
oci8.c:401: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:402: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c: In function âdbd_phs_outâ:
oci8.c:472: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:483: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:484: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c: In function âfetch_func_varfieldâ:
oci8.c:534: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:536: warning: unused variable âimp_drhâ
oci8.c: In function âfetch_cleanup_rsetâ:
oci8.c:609: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:617: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:618: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:620: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c: In function âfetch_func_rsetâ:
oci8.c:633: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:639: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:640: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:642: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:652: warning: value computed is not used
oci8.c:657: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:658: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:660: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:665: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c: In function âdbd_rebind_ph_lobâ:
oci8.c:734: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:734: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:737: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:737: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:748: warning: value computed is not used
oci8.c:765: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:765: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:779: warning: value computed is not used
oci8.c:787: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:787: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:799: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:799: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:804: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:804: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:814: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:815: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:820: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:820: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:820: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c: In function âora_blob_read_pieceâ:
oci8.c:966: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:966: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:966: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:973: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:973: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:1014: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:1015: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:1025: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:1025: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:1025: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:1029: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:1030: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:1044: warning: dereferencing type-punned pointer will break
strict-aliasing rules
oci8.c:1045: warning: dereferencing type-punned pointer will break
strict-aliasing rules
/
/Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.so
LD_RUN_PATH="/usr/lib/oracle/10.2.0.3/client/lib" cc -shared
-L/usr/local/lib Oracle.o dbdimp.o oci8.o -o
blib/arch/auto/DBD/Oracle/Oracle.so \
-L/usr/lib/oracle/10.2.0.3/client/lib -lclntsh -lnnz10
-locci -lociei -locijdbc10 \
chmod 755 blib/arch/auto/DBD/Oracle/Oracle.so
cp Oracle.bs blib/arch/auto/DBD/Oracle/Oracle.bs
chmod 644 blib/arch/auto/DBD/Oracle/Oracle.bs
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" ora_explain.PL ora_explain
Extracted ora_explain from ora_explain.PL with variable substitutions.
cp ora_explain blib/script/ora_explain
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/ora_explain
Manifying blib/man1/ora_explain.1p
Manifying blib/man3/DBD::Oracle.3pm
Manifying blib/man3/DBD::Oraperl.3pm
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" Makefile-instantclient.PL
Makefile-instantclient
Using DBI 1.53 (for perl 5.008008 on i486-linux-gnu-thread-multi)
installed in /usr/lib/perl5/auto/DBI/
Using DBI 1.53 (for perl 5.008008 on i486-linux-gnu-thread-multi)
installed in /usr/lib/perl5/auto/DBI/
Writing Makefile for DBD::Oracle
/
after *make install* and getting/testing the test_dbd_oracle.pl
I get:
/pascal:~/.cpan/build/DBD-Oracle-1.19# *perl test_dbd_oracle.pl*
Can't load '/usr/local/lib/perl/5.8.8/auto/DBD/Oracle/Oracle.so' for
module DBD::Oracle: libstdc++.so.5: cannot open shared object file:
No such file or directory at /usr/lib/perl/5.8/DynaLoader.pm line 225.
at test_dbd_oracle.pl line 12
Compilation failed in require at test_dbd_oracle.pl line 12.
BEGIN failed--compilation aborted at test_dbd_oracle.pl line 12.
/
I am using recipie from
http://jeanchristophe.duber.free.fr/dbd_oracle_instantclient _linux/ as
suggested by Eugene
Any help or pointers in my direction would help greatly!
Thanks,
Toby
>>
>> I am having a problem setting up DBD::Oracle version 1.19 on a Debian
>> Etch. I am running perl 5.8.8 and have dbi 1.53 (I believe) installed. I
>> have instantclient-basic, instantclient-devel, and sqlplus installed. I
>> can, without a problem, connect to my external DB Server via sqlplus. I
>> have ORACLE_HOME and LD_LIB path set everything works great, and I am
>> user root.
>>
>> I have several times installed DBD::Oracle 1.19 on Debian Etch without
>> any problem, BUT only with a FULL Oracle client. The installer needs
>> x-server and I don't want an x on this server, nor do I want a full
>> oracle client installed.
>>
>> It just won't work with the inst client.
>>
>> I am a total noobie to dbi and perl so bare with me!
>>
>> I have this error, and I know that there are some fixes, but they all
>> seem to be for older DBD:Oracle Makefiles.
>>
>> Using Oracle in /usr/lib/oracle/10.2.0.3/client DEFINE _SQLPLUS_RELEASE
>> = "1002000300" (CHAR) Oracle version 10.2.0.3 (10.2) Unable to locate an
>> oracle.mk, proc.mk or other suitable *.mk file in your Oracle
>> installation. (I looked in
>> /usr/lib/oracle/10.2.0.3/client/rdbms/demo/demo_xe.mk
>> /usr/lib/oracle/10.2.0.3/client/rdbms +/lib/oracle.mk
>> /usr/lib/oracle/10.2.0.3/client/rdbms/demo/oracle.mk
>> /usr/lib/oracle/10.2.0.3/clien +t/rdbms/demo/demo_rdbms.mk
>> /usr/lib/oracle/10.2.0.3/client/precomp/demo/proc/proc.mk /usr/lib/orac
>> +le/10.2.0.3/client/precomp/demo/proc/demo_proc.mk
>> /usr/lib/oracle/10.2.0.3/client/proc/lib/proc.mk +
>> /usr/lib/oracle/10.2.0.3/client/proc16/lib/proc16.mk under
>> /usr/lib/oracle/10.2.0.3/client) The oracle.mk (or demo_rdbms.mk) file
>> is part of the Oracle RDBMS product. The proc.mk (or demo_proc.mk) file
>> is part of the Oracle Pro*C product. You need to build DBD::Oracle on a
>> system which has one of these Oracle components installed. (Other *.mk
>> files such as the env_*.mk files will not work.) Alternatively you can
>> use Oracle Instant Client.
>>
>> I also have tried: *perl Makefile.PL -m
>> /usr/share/oracle/10.2.0.3/client/demo.mk*
>> which is the only mk file that instant client provides.
>>
>> It also gives me a makefile for DBD::Oracle but install and test fail
>> utterly.
>>
>> Can anybody point me in a direction what I should do. Any pointers to
>> reciepies how to get this baby working. Really appreciate your time and
>> effort.
>>
>> Greets,
>> tm
>>
> Hi,
>
>
--------------000305080103040400010404--
Re: DBD-Oracle 1.19 with Oracle Instant Client 10.2.0.3 on Debian Etch won"t install
am 19.03.2007 17:01:41 von ekrivdyuk
2007/3/9, tm :
> So I got it to make the makefile :)
>
[... skipped ...]
> /pascal:~/.cpan/build/DBD-Oracle-1.19# *perl test_dbd_oracle.pl*
> Can't load '/usr/local/lib/perl/5.8.8/auto/DBD/Oracle/Oracle.so' for
> module DBD::Oracle: libstdc++.so.5: cannot open shared object file:
> No such file or directory at /usr/lib/perl/5.8/DynaLoader.pm line 225.
> at test_dbd_oracle.pl line 12
> Compilation failed in require at test_dbd_oracle.pl line 12.
> BEGIN failed--compilation aborted at test_dbd_oracle.pl line 12.
>
Just install libstdc++5 package and then reinstall DBD::Oracle.