I was trying to install DBD::Oracle package and got the below errors while make.
cpan[3]> force install DBD::Oracle
Running install for module 'DBD::Oracle'
Running make for P/PY/PYTHIAN/DBD-Oracle-1.64.tar.gz
Has already been unwrapped into directory /root/.cpan/build/DBD-Orac
+le-1.64-9PmzhO
CPAN.pm: Building P/PY/PYTHIAN/DBD-Oracle-1.64.tar.gz
rm -f blib/arch/auto/DBD/Oracle/Oracle.so
LD_RUN_PATH="/u01/app/oracle/product/11.2.0/client_1/lib" gcc -shared
+ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-prot
+ector --param=ssp-buffer-size=4 -m64 -mtune=generic Oracle.o dbdimp.o
+ oci8.o -o blib/arch/auto/DBD/Oracle/Oracle.so \
-L/u01/app/oracle/product/11.2.0/client_1/lib/ -lclntsh -ld
+l -lm -lpthread -lnsl -lirc -lipgo -ldl -lm \
/usr/bin/ld: skipping incompatible /u01/app/oracle/product/11.2.0/clie
+nt_1/lib//libclntsh.so when searching for -lclntsh
/usr/bin/ld: cannot find -lclntsh
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/DBD/Oracle/Oracle.so] Error 1
PYTHIAN/DBD-Oracle-1.64.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
PYTHIAN/DBD-Oracle-1.64.tar.gz : make NO
cpan[4]>
###################
Below are the environment variable defined.
LD_LIBRARY_PATH=/home/alepo/rbsisp/:/u01/app/oracle/product/11.2.0/cli
+ent_1/lib/
ORACLE_HOME=/u01/app/oracle/product/11.2.0/client_1/
ORACLE_BASE=/u01/app/oracle/product/11.2.0/client_1/
ORACLE_SID=ALEPODB
Please help me with this
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.