Oracle DBD/DBI on Solaris: 'make' fails 
Author Message
 Oracle DBD/DBI on Solaris: 'make' fails

Hi,

I am trying to talk to an Oracle 8.1.6 database using perl5 (5.00503)
on Solaris.
This is the error message I got :

"install_driver(Oracle) failed: Can't load
'/local/interwoven/4.5.1/iw-home/iw-perl/lib/perl5/site_perl/5.005/sun4-solaris/auto/DBD/Oracle/Oracle.so'
for module DBD::Oracle: ld.so.1: perl: fatal: libclntsh.so.1.0: open
failed: No such file or directory at
/local/interwoven/4.5.1/iw-home/iw-perl/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm
line 169."

ORACLE_HOME & LD_LIBRARY_PATH have been set.

I am now trying to upgrade the DBI/DBD modules.(DBI : version 1.20
DBD: version 1.12).

And now, I got this error message:

" bash-2.03# make
gcc -c  -I/usr/local/include -O    -DVERSION=\"1.20\"
-DXS_VERSION=\"1.20\" -fPIC -I/local/interwoven/4.5.1/
iw-home/iw-perl/lib/perl5/5.00503/sun4-solaris/CORE -Wall -Wno-comment
-DDBI_NO_THREADS -DPERL_POLLUTE Perl.
c
In file included from Perl.xs:1:
DBIXS.h:17: warning: `PERL_POLLUTE' redefined
*Initialization*:1: warning: this is the location of the previous
definition
Perl.xsi: In function `XS_DBD__Perl__dr_discon_all_':
Perl.xsi:38: `sv_yes' undeclared (first use in this function)
Perl.xsi:38: (Each undeclared identifier is reported only once
Perl.xsi:38: for each function it appears in.)
Perl.xsi:38: `sv_no' undeclared (first use in this function)
Perl.xsi: In function `XS_DBD__Perl__db__login':
Perl.xsi:63: `sv_yes' undeclared (first use in this function)
Perl.xsi:63: `sv_no' undeclared (first use in this function)
Perl.xsi: In function `XS_DBD__Perl__db_commit':
Perl.xsi:75: `sv_yes' undeclared (first use in this function)
Perl.xsi:75: `sv_no' undeclared (first use in this function)
Perl.xsi: In function `XS_DBD__Perl__db_rollback':
Perl.xsi:84: `sv_yes' undeclared (first use in this function)
Perl.xsi:84: `sv_no' undeclared (first use in this function)
Perl.xsi: In function `XS_DBD__Perl__db_disconnect':
Perl.xsi:108: `sv_yes' undeclared (first use in this function)
Perl.xsi:108: `sv_no' undeclared (first use in this function)
Perl.xsi: In function `XS_DBD__Perl__db_STORE':
Perl.xsi:121: `sv_yes' undeclared (first use in this function)
Perl.xsi:124: `sv_no' undeclared (first use in this function)
Perl.xsi: In function `XS_DBD__Perl__db_DESTROY':
Perl.xsi:143: `sv_yes' undeclared (first use in this function)
Perl.xsi: In function `XS_DBD__Perl__st__prepare':
Perl.xsi:197: `na' undeclared (first use in this function)
Perl.xsi:197: warning: left-hand operand of comma expression has no
effect
Perl.xsi:197: warning: left-hand operand of comma expression has no
effect
Perl.xsi:198: `sv_yes' undeclared (first use in this function)
Perl.xsi:198: `sv_no' undeclared (first use in this function)
Perl.xsi: In function `XS_DBD__Perl__st_bind_param':
Perl.xsi:233: `na' undeclared (first use in this function)
Perl.xsi:233: warning: left-hand operand of comma expression has no
effect
Perl.xsi:233: warning: left-hand operand of comma expression has no
effect
Perl.xsi:239: `sv_yes' undeclared (first use in this function)
Perl.xsi:239: `sv_no' undeclared (first use in this function)
Perl.xsi: In function `XS_DBD__Perl__st_bind_param_inout':
Perl.xsi:269: `na' undeclared (first use in this function)
Perl.xsi:269: warning: left-hand operand of comma expression has no
effect
Perl.xsi:269: warning: left-hand operand of comma expression has no
effect
Perl.xsi:274: `sv_yes' undeclared (first use in this function)
Perl.xsi:274: `sv_no' undeclared (first use in this function)
Perl.xsi: In function `XS_DBD__Perl__st_fetchrow_arrayref':
Perl.xsi:331: `sv_undef' undeclared (first use in this function)
Perl.xsi: In function `XS_DBD__Perl__st_finish':
Perl.xsi:372: `sv_yes' undeclared (first use in this function)
Perl.xsi:372: `sv_no' undeclared (first use in this function)
Perl.xsi: In function `XS_DBD__Perl__st_blob_read':
Perl.xsi:391: `sv_undef' undeclared (first use in this function)
Perl.xsi: In function `XS_DBD__Perl__st_STORE':
Perl.xsi:404: `sv_yes' undeclared (first use in this function)
Perl.xsi:407: `sv_no' undeclared (first use in this function)
Perl.xsi: In function `XS_DBD__Perl__st_DESTROY':
Perl.xsi:432: `sv_yes' undeclared (first use in this function)
make: *** [Perl.o] Error 1 ".

Thanks in advance for your help.



Sun, 11 Apr 2004 17:17:43 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Oracle DBD/DBI on Solaris: can't resolve libclntsh.so.8.0

2. DBD Oracle 'make test' fails

3. Oracle DBD/DBI on HP-UX: can't load Oracle.sl

4. can't retrieve data from Oracle DB using DBI and DBD

5. DBI/DBD/Oracle connect won't work (ORA-12154)

6. Oracle Upgrade's impact on DBD:DBI

7. Help with DBI and DBD::Oracle and CLOB's

8. install_driver(Oracle) failed: Can't load...Oracle.dll

9. Where is '_dl_unload_cache' (DBD-Oracle)

10. DBD::Oracle hangs on 'make test'

11. help needed installing DBI and DBD::Oracle on Solaris 7

12. DBI:: UPDATE format (Perl DBI O'Reilly fails to explain properly)

 

 
Powered by phpBB® Forum Software