Re: ldconfig problem?
ashok shankar das <[email protected]> Tue, 13 Mar 2007 13:55:12 +0530
| Newsgroups | gmane.linux.redhat.devel |
|---|---|
| Message-ID | <[email protected]> |
Steven Fonseca wrote: > Hi, > > (RHEL 4 U4 X86 64) > > workstation > > I have received a few shared object libraries and am trying to get the > linker to know where they reside and load them when I call dependent > applications. > > I tried this procedure along with variations when it didn't work: > > cp libisprdx.so.4.1 /usr/lib > /sbin/ldconfig > cd /usr/lib > ln -sf libisprdx.so.4.1 libisprdx.so > > ls -l libisp* > > lrwxrwxrwx 1 root root 16 Mar 12 23:44 libisprdx.so -> > libisprdx.so.4.1 > lrwxrwxrwx 1 root root 16 Mar 12 23:19 libisprdx.so.4 -> > libisprdx.so.4.1 > -rwxr-xr-x 1 root root 18540 Mar 12 23:07 libisprdx.so.4.1 > > ldd ispodrc > libisprdx.so.4 => not found > libIt.so.4 => not found > libm.so.6 => /lib64/tls/libm.so.6 (0x00000036f8000000) > libc.so.6 => /lib64/tls/libc.so.6 (0x00000036f7d00000) > /lib64/ld-linux-x86-64.so.2 (0x00000036f7b00000) > > I have repeated these steps several times, tried both /lib and > /usr/local/lib, etc. Oddly, at one point I did get to a point where > ldd reported knowing where libisprdx.so.4 was, but I could never get > the other library linked properly. Eventually, I lost the assocation > so am back to the drawing board. > > Any help solving this problem would be greatly appreciated! > > Thanks, > -Steve > > _______________________________________________ > Redhat-devel-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/redhat-devel-list Why not try doing ldconfig after creating the link! -- Thanks Ashok Shankar Das RedHat, Pune +91-9373695832