Skip to Content
avatar image
Former Member

ldd dboraslib.sl shows old /oracle/client/92x_64/lib/libclntsh.sl.9.0

Dear all,

I've finished Oracle Upgrade to 10.2.0.2 to our QTS and DEV systems.

It was SAP R/3 4.6C with 4.6D_EXT supp. pack 2271, HP-UX 11.23 and Oracle 9.2.0.5.

For DEV (DR2) system after the upgrade I had problems with DB13: "/usr/lib/pa20_64/dld.sl Unable to find library...."

In the .dbenv_host.csh file for dr2adm I set:

....

setenv dbms_type ORA

setenv dbs_ora_tnsname $DBSID

setenv ORACLE_PSRV DR2

setenv ORACLE_SID $DBSID

setenv ORACLE_HOME /oracle/DR2/102_64

setenv ORACLE_BASE /oracle

setenv ORA_NLS33 /oracle/client/9207/ocommon/nls/admin/data

setenv NLS_LANG AMERICAN_AMERICA.WE8DEC

setenv SAPDATA_HOME /oracle/DR2

setenv DIR_LIBRARY /usr/sap/DR2/SYS/exe/run

....

For the user dr2adm .sapenv_host.csh:

...

setenv SHLIB_PATH /usr/sap/DR2/SYS/exe/run:/oracle/client/10x_64/instantclient

......

When I tried :

ldd dboraslib.sl

libclntsh.sl.9.0 => <b>/oracle/client/92x_64/</b>lib/libclntsh.sl.9.0

libwtc9.sl => /oracle/client/92x_64/lib/libwtc9.sl

libc.2 => /lib/pa20_64/libc.2

libwtc9.sl => /oracle/DR2/920_64/lib/libwtc9.sl

librt.2 => /lib/pa20_64/librt.2

libpthread.1 => /lib/pa20_64/libpthread.1

libnss_dns.1 => /lib/pa20_64/libnss_dns.1

libdl.1 => /lib/pa20_64/libdl.1

libm.2 => /lib/pa20_64/libm.2

libc.2 => /lib/pa20_64/libc.2

libcl.2 => /lib/pa20_64/libcl.2

libdl.1 => /usr/lib/pa20_64/libdl.1

libdl.1 => /usr/lib/pa20_64/libdl.1

For oradr2:

......

setenv dbms_type ORA

setenv dbs_ora_tnsname $DBSID

setenv ORACLE_PSRV DR2

setenv ORACLE_SID $DBSID

setenv ORACLE_HOME /oracle/DR2/102_64

setenv ORACLE_BASE /oracle

setenv ORA_NLS10 /oracle/DR2/102_64/nls/data

setenv NLS_LANG AMERICAN_AMERICA.WE8DEC

setenv SAPDATA_HOME /oracle/DR2

setenv SAPARCH /oracle/DR2/sapbackup

setenv DIR_LIBRARY /usr/sap/DR2/SYS/exe/run

.....

For sapenv_host.csh for user oradr2:

....

setenv SHLIB_PATH $ORACLE_HOME/lib:/usr/sap/DR2/SYS/exe/run

.....

What is the problem, why ldd reads the old /oracle/client?

Many regards,

Ruzica

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    May 16, 2007 at 12:24 PM

    Hi,

    Why do you call

    /oracle/client/92x_64/lib/libclntsh.sl.9.0

    old oracle client?

    If you are upgraded ONLY the database, the kernel will continue using the <b>same</b> oracle client.

    In Unix, the oracle client that the SAP Kernel will use ( dboraslib ) depends on the kernel version <b>not</b> on the RDBMS version.

    And the path is hardcoded on the 46D_EXT version.

    For a full explanation, take a look at the note 521230" target="_blank">http://service.sap.com/sap/support/notes/521230">521230 - FAQ: Client software 9i or earlier on UNIX

    Where this is explained.

    Regards

    Fidel

    Add comment
    10|10000 characters needed characters exceeded