LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-05-2013, 08:44 AM   #1
madhav.kulkarni1986
LQ Newbie
 
Registered: Jul 2011
Posts: 7

Rep: Reputation: Disabled
ldd for different processor/architecture


When "ldd -s" is executed on a compiled binary on different systems with same arch type it produces different results. To eleborate, if they binary is using a rpath while compiling, on a system this is shown when we run "ldd -s" and on other it doesn ot show up.

My question:
- does ldd depend on system processor and/or what other aspects?
- Is it possible to list the RPATH even though ldd depends on some system paramters when run on the system other than the one it was built for.

Thanks
madhav
 
Old 09-05-2013, 02:57 PM   #2
rm2629
LQ Newbie
 
Registered: May 2013
Location: USA
Distribution: Android, Mint, Ubuntu
Posts: 12

Rep: Reputation: 4
It's different on different hardware because the dependent libraries for your particular case are different on each system.

A suggestion would be to post the two different ldd results you are seeing and describe the systems and kernel versions which are on each system. Use "uname -a" to get the kernel version.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Processor architecture shivanrathore Linux - Newbie 3 10-01-2008 11:09 AM
Processor architecture confusion NoahT1BM Linux - Hardware 4 02-16-2008 07:32 AM
Getting architecture/processor info.. PeterDowling Linux - Newbie 5 07-06-2006 02:55 AM
Processor Architecture bladepdx Debian 2 01-23-2005 09:05 PM
processor architecture? pyropenguin Linux - Hardware 3 02-08-2003 08:36 PM


All times are GMT -5. The time now is 04:55 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration