LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 04-03-2007, 07:16 AM   #1
raklo
Member
 
Registered: Apr 2006
Posts: 143

Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
version GLIBC_2.3 not found error when cross compiled executable is run on targert sateeshgalla Programming 3 05-14-2008 10:42 AM
Question regarding running a compiled executable in aterm siraluun Programming 2 07-27-2006 08:15 AM
Run executable file compiled by kylix and mysql in Fedora Core 4 aa_husni Fedora 0 09-15-2005 12:14 AM
Cross compiled kernel-2.6.13 for x86-64 arch stops booting under Slackware-10.1 Basel Slackware 4 09-09-2005 12:57 PM
Executable compiled w/gcc won't run brancheb Programming 5 05-16-2004 01:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration