Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: DBD::Oracle install

by rider754 (Novice)
on Jul 18, 2013 at 15:56 UTC ( #1045129=note: print w/replies, xml ) Need Help??


in reply to Re: DBD::Oracle install
in thread DBD::Oracle install

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

Replies are listed 'Best First'.
Re^3: DBD::Oracle install
by Anonymous Monk on Jul 18, 2013 at 17:04 UTC
      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...

        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...

        same problem, only one solution, get it to find the .so -- if LD_LIBRARY_PATH

        Its very bizzare that its being ignored, but you're root, so try the hardcoding options

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2023-02-08 03:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (40 votes). Check out past polls.

    Notices?