LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 07: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, 01: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:34 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
Open Source Consulting | Domain Registration