LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   problem with the cross compiled executable??? (https://www.linuxquestions.org/questions/linux-kernel-70/problem-with-the-cross-compiled-executable-542934/)

raklo 04-03-2007 07:16 AM

problem with the cross compiled executable???
 
hi all,
i have cross compiled an antivirus proxy havp,with uclibc libraries using libclamav(which is already uclibc compiled,and necessary for havp) and the final executable,havp, when i do ldd on havp i have the following scenario and the executable doesnt work.

Code:

# ldd havp
        libclamav.so.1 => /lib/libclamav.so.1 (0xb7f9b000)
        libstdc++.so.6 => /lib/libstdc++.so.6 (0xb7f28000)
        libm.so.0 => /lib/libm.so.0 (0xb7f1a000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7f12000)
        libc.so.0 => /lib/libc.so.0 (0xb7ec8000)
        libz.so.1 => /lib/libz.so.1 (0xb7eb9000)
        libclamav.so.1 => /lib/libclamav.so.1 (0x00000000)
        libstdc++.so.6 => /lib/libstdc++.so.6 (0x00000000)
        libm.so.0 => /lib/libm.so.0 (0x00000000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00000000)
        libc.so.0 => /lib/libc.so.0 (0x00000000)
        libz.so.1 => /lib/libz.so.1 (0x00000000)
        libbz2.so.1 => /lib/libbz2.so.1 (0x00000000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00000000)
        libnsl.so.0 => /lib/libnsl.so.0 (0x00000000)
        libc.so.6 => /lib/libc.so.6 (0x00000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)

note that first 6 dependencies are proper,but after that first 6 dependencies are repeated again with 0x00000000 address.
why these dependencies are repeated??

ANY INPUT IS APPRECIATED
rakesh


All times are GMT -5. The time now is 03:42 AM.