My problem looks a bit strange
I have created a library, whose name is libJsonCpp. So, which I used in some programs and now I have just increased the revision number of that library from 2.12 to 2.13.
[enzo @ P0101222 test] $ ls -la / prd / b_bcm / bin / LibJsonCpp.so * lrwxrwxrwx 1 enzo essays 18 Mar 16 16:52 / prd / b_BCm / bin / libJsonCpp. So-> LibJsonCpp.so.2.13 lrwxrwxrwx 1 ANZO essays 18 Mar 16 14:26 /prd/b_BCM/bin/libJsonCpp.so.2 - & gt; LibJsonCpp.so.2.13 lrwxrwxrwx 1 enzo essay22 Mar 16 14:26 /prd/b_BCM/bin/libJsonCpp.so.2.13 - & gt; LibJsonCpp.so.2.13.001-RWXR-XR-X1 Enzo Essays 286939 March 16 14:26 / Prod / B_BCM / Bean / LBJason CPP. SO.2.13.001
Strange thing is that programs which are using this library, try to load it twice, new revisions and old people
When I check the program to see which library is needed, then I have an output like this:
[Enzo @ P010122 MySmem Program] $ Ldd MySampleProgram libJsonCpp.so.2.13 = & gt; /prd/b_BCM/bin/libJsonCpp.so.2.13 (0x4002a000) libxerces-c-3.0.so = & gt; /usr/local/lib/libxerces-c-3.0.so (0x40061000) libnsl.so.1 = & gt; /lib/libnsl.so.1 (0x40438000) libpthread.so.0 = & gt; /lib/libpthread.so.0 (0x4044c000) libstdc ++ So.6 = & gt; /usr/lib/libstdc++.so.6 (0x40461000) ...... /lib/ld-linux.so.2 = & gt; /lib/ld-linux.so.2 (0x40000000) libJsonCpp.so.2.12 = & gt; Not found
As you can see the program for the new library (right)
libJsonCpp.so.2.13 = & gt; /prd/b_BCM/bin/libJsonCpp.so.2.13
But for older people, who had been definitely removed
libJsonCpp.so 2.12 = & gt; Not found
I have found that there is still no room in terms of old amendment, but I have not found anything. I have rebuilt the program and removed the cache files, but the problem is still here.
So I'm asking if there is any suggestion about checking for this strange problem.
Regards, Enzo
I have the following error during the link to the program: It seems that the link /prd/b_BCM/bin/libJsonCpp.so indicates the old revision , But the link is linked to all new people (see above)
G ++ -wast-year-west-work-virtual-dtor -Wno-long-long -Wbad- of function Artists -Wundef \ -Wall -pedantic W -Wpointer-arith -Wmissing-Prototype -Writite-Wire -ansi -D_XOPEN_SOURCE = 500 \ -D_BSD_SOURCE -Wcast Row -Wconversion -fno-Created GO2 -O0 -G3 -Wall I .. -Ibcm_plant -Ibcm_pane l -Ibcm_display -Ibcm_common I ../ bcm_panel I ../ bcm_display I ../ bcm_common \ -fno- exception -fno- Czech-new -fexceptions -rdynamic \ -me MySample program gestconfigbcmmessage.o clsmsgwritestatus.o testcr01.o util_panel .o updatefirmwaredisplay.o main.o \ /prd/b_BCM/bin/libJsonCpp.so./bcm_plant/libbcm_plant.a./bcm_panel/libbcm_panel.a./bcm_display/libbcm_display.a./bcm_common/libbcm_common.a/ usr / Local / lib / libxerces-c.so -lnsl -lpthread /usr/lib/libstdc++.so/l/ usr3/building/gcc/gcc-3.4.6/i686-pc- linux-gnu/lvstdc++-v3 / Src \ l / usr3 / build / gcc / gcc-3.4.6 / i686-pc- linux-gnu / libstdc ++ - v3 / src / .libs L / usr3 / build / gcc / gcc -3.4.6 / gcc \ L / usr / Local / lib L / PRD / b_BCM / src / b_BCM_common / module -leasyzlib -lftplib -Wl, - rpath -Wl, / usr / local / lib -Wl, - rpath -Wl, / usr / local / lib / Usr / bin / ld: warning: libJsonCpp.so.2.12, required by /prd/b_BCM/bin/libJsonCpp.so, not found (try to use -rpath or -rpath-link) [1]: directory `/ home leave
OK, I got the inquiry.
For some strange reasons the new script has a reference to the old people.
$ ldd /prd/b_BCM/bin/libJsonCpp.so 2.13 Libpthread.so.0 = & gt; /lib/libpthread.so.0 (0x4004d000) libJsonCpp.so.2.12 = & gt; Not Found / lib /ld-linux.so.2 = & gt; To / Lib /ld-linux.so.2 (0x80000000)
Fortunately enough for the reconstruction of the new library and went wrong dependency missing
Your Support Thank you to Jonathan.
Rigrds, Anjho
No comments:
Post a Comment