1832542 Members
6068 Online
110043 Solutions
New Discussion

Re: Unable to DBD:oracle

 
SOLVED
Go to solution
Muthyala
Frequent Advisor

Unable to DBD:oracle

Hi

I am unbale to install Unable to DBD:oracle on HP-UX 11i V1 i get the following error

$/tmp/patch/DBD-Oracle-1.23 $ make
rm -f blib/arch/auto/DBD/Oracle/Oracle.sl
LD_RUN_PATH="/app/oracle/oraHome10g/lib:/app/oracle/oraHome10g/rdbms/lib" /usr/bin/ld -b -L/usr/local/lib -L/lib/pa20_64 Oracle.o dbdimp.o oci8.o +s +n -L/app/oracle/oraHome10g/rdbms/lib/ -L/app/oracle/oraHome10g/lib/ /app/oracle/oraHome10g/lib:/usr/dt/lib:/usr/openwin/lib:/app/oracle/oraHome10g/ctx/lib -lclntsh `cat /app/oracle/oraHome10g/lib/ldflags` -lm -lqsmashr -o blib/arch/auto/DBD/Oracle/Oracle.sl \
\

ld: I/O error, file "/app/oracle/oraHome10g/lib:/usr/dt/lib:/usr/openwin/lib:/app/oracle/oraHome10g/ctx/lib": No such file or directory Fatal error.
*** Error exit code 1

Stop.


I HAVE THE ABOVE DIRECTORIES on my server .

TIA
Sri
4 REPLIES 4
Muthyala
Frequent Advisor

Re: Unable to DBD:oracle

More Information

/tmp/patch/DBD-Oracle-1.23 $ make
Skip blib/lib/DBD/Oracle.pm (unchanged)
Skip blib/lib/oraperl.ph (unchanged)
Skip blib/arch/auto/DBD/Oracle/dbdimp.h (unchanged)
Skip blib/arch/auto/DBD/Oracle/ocitrace.h (unchanged)
Skip blib/lib/Oraperl.pm (unchanged)
Skip blib/arch/auto/DBD/Oracle/Oracle.h (unchanged)
Skip blib/lib/DBD/Oracle/Object.pm (unchanged)
cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm
Skip blib/lib/DBD/Oracle/GetInfo.pm (unchanged)
gcc -c -I/app/oracle/oraHome10g/rdbms/public -I/app/oracle/oraHome10g/rdbms/demo -I/app/oracle/oraHome10g/rdbms/public -I/app/oracle/oraHome10g/plsql/public -I/app/oracle/oraHome10g/network/public -I/opt/perl-5.10.0/lib/site_perl/5.10.0/PA-RISC2.0-LP64/auto/DBI -D_HPUX_SOURCE -mpa-risc-2-0 -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -DVERSION=\"1.23\" -DXS_VERSION=\"1.23\" -fPIC "-I/opt/perl-5.10.0/lib/5.10.0/PA-RISC2.0-LP64/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.1.0.4\" Oracle.c
gcc -c -I/app/oracle/oraHome10g/rdbms/public -I/app/oracle/oraHome10g/rdbms/demo -I/app/oracle/oraHome10g/rdbms/public -I/app/oracle/oraHome10g/plsql/public -I/app/oracle/oraHome10g/network/public -I/opt/perl-5.10.0/lib/site_perl/5.10.0/PA-RISC2.0-LP64/auto/DBI -D_HPUX_SOURCE -mpa-risc-2-0 -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -DVERSION=\"1.23\" -DXS_VERSION=\"1.23\" -fPIC "-I/opt/perl-5.10.0/lib/5.10.0/PA-RISC2.0-LP64/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.1.0.4\" dbdimp.c
dbdimp.c: In function 'ora_db_login6':
dbdimp.c:541: warning: format '%d' expects type 'int', but argument 8 has type 'size_t'
dbdimp.c:548: warning: format '%d' expects type 'int', but argument 8 has type 'size_t'
gcc -c -I/app/oracle/oraHome10g/rdbms/public -I/app/oracle/oraHome10g/rdbms/demo -I/app/oracle/oraHome10g/rdbms/public -I/app/oracle/oraHome10g/plsql/public -I/app/oracle/oraHome10g/network/public -I/opt/perl-5.10.0/lib/site_perl/5.10.0/PA-RISC2.0-LP64/auto/DBI -D_HPUX_SOURCE -mpa-risc-2-0 -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -DVERSION=\"1.23\" -DXS_VERSION=\"1.23\" -fPIC "-I/opt/perl-5.10.0/lib/5.10.0/PA-RISC2.0-LP64/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.1.0.4\" oci8.c
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.sl
LD_RUN_PATH="/app/oracle/oraHome10g/lib:/app/oracle/oraHome10g/rdbms/lib" /usr/bin/ld -b -L/usr/local/lib -L/lib/pa20_64 Oracle.o dbdimp.o oci8.o +s +n -L/app/oracle/oraHome10g/rdbms/lib/ -L/app/oracle/oraHome10g/lib/ /app/oracle/oraHome10g/lib:/usr/dt/lib:/usr/openwin/lib:/app/oracle/oraHome10g/ctx/lib -lclntsh `cat /app/oracle/oraHome10g/lib/ldflags` -lm -lqsmashr -o blib/arch/auto/DBD/Oracle/Oracle.sl \
\

ld: I/O error, file "/app/oracle/oraHome10g/lib:/usr/dt/lib:/usr/openwin/lib:/app/oracle/oraHome10g/ctx/lib": No such file or directory
Fatal error.
*** Error exit code 1

Stop.
Tim Nelson
Honored Contributor

Re: Unable to DBD:oracle

Not for the faint at heart to get this working.

Attached are my notes from the last time I got this to work.

Good luck.
Dennis Handly
Acclaimed Contributor
Solution

Re: Unable to DBD:oracle

>I have the above directories on my server

The linker doesn't take directories (except in LPATH and +cdp) but individual directories and files.
This syntax isn't valid:
/app/oracle/oraHome10g/lib:/usr/dt/lib:/usr/openwin/lib:/app/oracle/oraHome10g/ctx/lib

It isn't a file nor a directory, it is a colon separated list of directories.
Muthyala
Frequent Advisor

Re: Unable to DBD:oracle

Tim/Denis

Thanks for your response, basically i have edited the makefile and removed those directories. Then it worked fine .

Thanks
Sri