- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unable to DBD:oracle
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2009 11:52 AM
05-08-2009 11:52 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2009 12:10 PM
05-08-2009 12:10 PM
Re: Unable to DBD:oracle
/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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2009 12:57 PM
05-08-2009 12:57 PM
Re: Unable to DBD:oracle
Attached are my notes from the last time I got this to work.
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2009 11:01 PM
05-08-2009 11:01 PM
SolutionThe 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2009 05:34 AM
05-09-2009 05:34 AM
Re: Unable to DBD:oracle
Thanks for your response, basically i have edited the makefile and removed those directories. Then it worked fine .
Thanks
Sri