Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: DBD::Oracle install

by Anonymous Monk
on Jul 18, 2013 at 00:35 UTC ( #1044938=note: print w/replies, xml ) Need Help??


in reply to DBD::Oracle install

What do you get when you run ldd -v libclntsh.so.11.1 or ldd -v Oracle.so?

Replies are listed 'Best First'.
Re^2: DBD::Oracle install
by rider754 (Novice) on Jul 18, 2013 at 15:56 UTC
    Interestingly, Oracle.so thinks libclntsh.so.11.1 is not found. How would I go about fixing that?
    ldd -v /opt/oracleas/product/11.2.0/client_1/lib/libclntsh.so.11.1 linux-vdso.so.1 => (0x00007fff1d1fd000) libnnz11.so => /opt/oracleas/product/11.2.0/client_1/lib/libnn +z11.so (0x00002b0cdc6cf000) libdl.so.2 => /lib64/libdl.so.2 (0x00002b0cdcab1000) libm.so.6 => /lib64/libm.so.6 (0x00002b0cdccb5000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b0cdcf38000) libnsl.so.1 => /lib64/libnsl.so.1 (0x00002b0cdd154000) libc.so.6 => /lib64/libc.so.6 (0x00002b0cdd36c000) libaio.so.1 => /usr/lib64/libaio.so.1 (0x00002b0cdd6c4000) /lib64/ld-linux-x86-64.so.2 (0x000000348a800000) Version information: /opt/oracleas/product/11.2.0/client_1/lib/libclntsh.so.11.1: libdl.so.2 (GLIBC_2.3.3) => /lib64/libdl.so.2 libdl.so.2 (GLIBC_2.2.5) => /lib64/libdl.so.2 libm.so.6 (GLIBC_2.2.5) => /lib64/libm.so.6 libaio.so.1 (LIBAIO_0.4) => /usr/lib64/libaio.so.1 libaio.so.1 (LIBAIO_0.1) => /usr/lib64/libaio.so.1 libc.so.6 (GLIBC_2.3.2) => /lib64/libc.so.6 libc.so.6 (GLIBC_2.3.3) => /lib64/libc.so.6 libc.so.6 (GLIBC_2.3) => /lib64/libc.so.6 libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6 libpthread.so.0 (GLIBC_2.3.2) => /lib64/libpthread.so. +0 libpthread.so.0 (GLIBC_2.2.5) => /lib64/libpthread.so. +0 /opt/oracleas/product/11.2.0/client_1/lib/libnnz11.so: libc.so.6 (GLIBC_2.3) => /lib64/libc.so.6 libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6 /lib64/libdl.so.2: ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linu +x-x86-64.so.2 libc.so.6 (GLIBC_PRIVATE) => /lib64/libc.so.6 libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6 /lib64/libm.so.6: libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6 /lib64/libpthread.so.0: ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x8 +6-64.so.2 ld-linux-x86-64.so.2 (GLIBC_2.2.5) => /lib64/ld-linux- +x86-64.so.2 ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linu +x-x86-64.so.2 libc.so.6 (GLIBC_2.3.2) => /lib64/libc.so.6 libc.so.6 (GLIBC_PRIVATE) => /lib64/libc.so.6 libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6 /lib64/libnsl.so.1: libc.so.6 (GLIBC_2.3) => /lib64/libc.so.6 libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6 /lib64/libc.so.6: ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x8 +6-64.so.2 ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linu +x-x86-64.so.2 ldd -v /home/root/.cpan/build/DBD-Oracle-1.58/blib/arch/auto/DBD/Oracl +e/Oracle.so linux-vdso.so.1 => (0x00007fffbfbfd000) libclntsh.so.11.1 => not found libdl.so.2 => /lib64/libdl.so.2 (0x00002b75bac93000) libm.so.6 => /lib64/libm.so.6 (0x00002b75bae97000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b75bb11a000) libnsl.so.1 => /lib64/libnsl.so.1 (0x00002b75bb336000) libc.so.6 => /lib64/libc.so.6 (0x00002b75bb54e000) /lib64/ld-linux-x86-64.so.2 (0x000000348a800000) Version information: /home/root/.cpan/build/DBD-Oracle-1.58/blib/arch/auto/DBD/Orac +le/Oracle.so: libpthread.so.0 (GLIBC_2.2.5) => /lib64/libpthread.so. +0 libc.so.6 (GLIBC_2.4) => /lib64/libc.so.6 libc.so.6 (GLIBC_2.3.4) => /lib64/libc.so.6 libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6 /lib64/libdl.so.2: ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linu +x-x86-64.so.2 libc.so.6 (GLIBC_PRIVATE) => /lib64/libc.so.6 libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6 /lib64/libm.so.6: libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6 /lib64/libpthread.so.0: ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x8 +6-64.so.2 ld-linux-x86-64.so.2 (GLIBC_2.2.5) => /lib64/ld-linux- +x86-64.so.2 ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linu +x-x86-64.so.2 libc.so.6 (GLIBC_2.3.2) => /lib64/libc.so.6 libc.so.6 (GLIBC_PRIVATE) => /lib64/libc.so.6 libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6 /lib64/libnsl.so.1: libc.so.6 (GLIBC_2.3) => /lib64/libc.so.6 libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6 /lib64/libc.so.6: ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x8 +6-64.so.2 ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linu +x-x86-64.so.2
        Simply running as root,
        export ORACLE_HOME=/opt/oracleas/product/11.2.0/client_1 export LD_LIBRARY_PATH=$ORACLE_HOME/lib export NLS_LANG=AMERICAN_AMERICA.US7ASCII cpan install DBD::Oracle
        Since this is not DBD::mysql, I'm not sure how to interpret the linked threads to my case(?) It's not going to use DYLD_LIBRARY_PATH...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1044938]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2022-10-05 09:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (21 votes). Check out past polls.

    Notices?