- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- General
- >
- dld.sl: Bad magic number for shared library
-
- Forums
-
Blogs
- Hybrid Cloud
- Edge
- Data & AI
- Working in Tech
- AI Insights
- Alliances
- Around the Storage Block
- Behind the scenes at Labs
- Careers in Tech
- HPE Storage Tech Insiders
- Inspiring Progress
- IoT at the Edge
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Russia
- HPE Blog, UK & Ireland
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-06-2010 11:41 PM
01-06-2010 11:41 PM
Re: dld.sl: Bad magic number for shared library
make -d gives pages of output which so far has not given much insight but I will continue to search through the details.
Perl version:
$ file /usr/local/perl2exe/perl5/bin/perl5.10.0
/usr/local/perl2exe/perl5/bin/perl5.10.0: PA-RISC2.0 shared executable dynamically linked -not stripped
What is tusc, this is not installed on our system.
Are you available for remote support and able to assist us resolving this issue?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-07-2010 12:54 AM
01-07-2010 12:54 AM
Re: dld.sl: Bad magic number for shared library
>/usr/local/perl2exe/perl5/bin/perl5.10.0: PA-RISC2.0 shared executable dynamically linked -not stripped
This is 32 bit.
>What is tusc, this is not installed on our system.
You can download it from here:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.10/
>Are you available for remote support
No.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-07-2010 01:07 AM
01-07-2010 01:07 AM
Re: dld.sl: Bad magic number for shared library
>Perl version:
>/usr/local/perl2exe/perl5/bin/perl5.10.0: PA-RISC2.0 shared executable dynamically linked -not stripped
I thought PA-RISC1.1 was 32bit and PA-RISC2.0 is 64bit.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-07-2010 01:20 AM
01-07-2010 01:20 AM
Re: dld.sl: Bad magic number for shared library
Yes, 1.0 and 1.1 are 32 bit only.
>PA-RISC2.0 is 64bit.
It can be 32 or 64 bit.
This is 64 bit for PA (LP64):
ELF-64 shared object file - PA-RISC 2.0 (LP64)
For IPF it's much simpler:
ELF-32 executable object file - IA64
ELF-64 executable object file - IA64
>Thank you.
If you are happy with the answers you got, please read the following on how to assign points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-07-2010 03:53 PM
01-07-2010 03:53 PM
Re: dld.sl: Bad magic number for shared library
Do I need to download the 32bit gcc compiler (HP-GCC 4.3.3 PA-RISC ILP32) or can I use the current 64bit compiler to compile the module with the 32bit perl?
What flags do I need to set to force the 64bit gcc compiler to compile for 32bit?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-07-2010 11:29 PM
01-07-2010 11:29 PM
Re: dld.sl: Bad magic number for shared library
So the issues was that the Perl executable was 32bit and not 64bit.
Thanks Dennis!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-08-2010 01:00 AM
01-08-2010 01:00 AM
Re: dld.sl: Bad magic number for shared library
For PA, the foreign devil compiler only has one data model. You have to install both to switch to the other model.
On Integrity, the models are similar, so there is -mlp64 and -milp32.
- Tags:
- foreign devil tools
- « Previous
-
- 1
- 2
- Next »
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP