It is looking in $ORACLE_HOME/lib: adcnaa02:/usr/local/internal/log #dump -Lv Usage: dump [-agcd:fhn:oprstvCLT:V?] file(s) ... adcnaa02:/usr/local/internal/log #/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/DBD/Oracle/Oracle.so
adcnaa02:/usr/local/internal/log #dump -Lv /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/DBD/Oracle/Oracle.so /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/DBD/Oracle/Oracle.so: **** DYNAMIC SECTION INFORMATION **** .dynamic: [INDEX] Tag Value [1] NEEDED libclntsh.so.10.1 [2] NEEDED libkstat.so.1 [3] NEEDED libnsl.so.1 [4] NEEDED libsocket.so.1 [5] NEEDED libgen.so.1 [6] NEEDED libdl.so.1 [7] NEEDED libsched.so.1 [8] NEEDED libaio.so.1 [9] NEEDED librt.so.1 [10] NEEDED libm.so.1 [11] NEEDED libthread.so.1 [12] NEEDED libpthread.so.1 [13] NEEDED libc.so.1 [14] INIT 0x198d4 [15] FINI 0x198f0 [16] RUNPATH /u01/app/oracle/product/10.2/lib [17] RPATH /u01/app/oracle/product/10.2/lib [18] HASH 0x94 [19] STRTAB 0x1878 [20] STRSZ 0x108a [21] SYMTAB 0x898 [22] SYMENT 0x10 [23] CHECKSUM 0xb9f9 [24] VERNEED 0x2904 [25] VERNEEDNUM 0x1 [26] TEXTREL 0 [27] PLTSZ 0x7f8 [28] PLTREL 0x7 [29] JMPREL 0x45f8 [30] RELA 0x2924 [31] RELASZ 0x24cc [32] RELAENT 0xc [33] FEATURE_1 PARINIT [34] FLAGS TEXTREL [35] FLAGS_1 0 [36] PLTGOT 0x2e9f0 Ugh. Im at a loss on this issue. I can't switch to a 64-bit build of perl.... Any ideas?? On 4/4/06, John Scoles <[EMAIL PROTECTED]> wrote: > > You might be onto something Philip I know if you are trying to use the > instant client the Make file will > hard coded link something like this "ln -s libclntsh.so.10.1 libclntsh.so" > > Perhaps in a 64 bit world you do not need this link? > > Unfortunately I do not have a 64bit box to test on so I can only give a > rough opinion. > > cheers > John Scoles > > "Alan Burlison" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Garrett, Philip (MAN-Corporate) wrote: > > > > > If you run: > > > > > > LD_DEBUG=libs perl -MDBD::Oracle -e1 > > > > > > You'll see what paths the dynamic linker is searching for the Oracle > > > libs. Maybe that will help. > > > > Easier still, run > > > > dump -Lv > > > > /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/DBD/Oracle/Oracle.so > > > > and see what path is being used to load up the Oracle libraries. You > > may find that the path to libclntsh.so.10.1 is hard-coded in Oracle.so, > > so setting LD_LIBRARY_PATH won't have any effect. Easiest thing is to > > install the Oracle 32-bit client somewhere and build DBD::Oracle against > > that instead of the 64-bit one. > > > > -- > > Alan Burlison > > -- > > >
