- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- HPE 9000 and HPE e3000 Servers
- >
- Re: Problems building DBD::mysql modules for Perl ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2005 07:07 AM
тАО03-03-2005 07:07 AM
Problems building DBD::mysql modules for Perl on HP-UX 11.11
Hello,
I am trying to install the DBD::mysql Perl module using CPAN on HP-UX 11.11 and I receive the following build error ..
/usr/bin/ld: /opt/mysql/lib/libmysqlclient.a: Not a valid library (invalid magic number). Possibly a 64-bit PA archive library (Mismatched ABI).
I have attached a file with the Perl CPAN command output and other server specific details. Please let me know if you need any further information.
Any help is greatly apprecited!
thank you,
-Sudheer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2005 11:11 PM
тАО03-03-2005 11:11 PM
Re: Problems building DBD::mysql modules for Perl on HP-UX 11.11
all previous threads point to a problem with 32/64bit libraries.
Can you check:
1. file /opt/mysql/lib/libmysqlclient.a
2. Does gcc compile at 64 bit (couldn't see anything on the comamnd line)
3. Have you got the correct download 11.11 != 11.23
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2005 05:31 AM
тАО03-04-2005 05:31 AM
Re: Problems building DBD::mysql modules for Perl on HP-UX 11.11
Thank you for your response.
1. I am positive that the libmysqlclient.a file is 64 bit - as I downloaded the 64 bit version of mysql from mysql.com.
2. How do I make sure that gcc compiles 64 bit? - with the -m64 option?
3. I am trying to download the Perl modules from CPAN - how do I make sure that they are 64 bit compatible?
Thanks again,
-Sudheer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2005 03:47 AM
тАО03-07-2005 03:47 AM
Re: Problems building DBD::mysql modules for Perl on HP-UX 11.11
all I can suggest is that you try to work the fault from the log.
mysql.sl can not be chmoded (prob. does not exist), but double check and reset permissions.
Doing a "file" command should show you whether its 32 or 64 bit.
Also check the 32/64 issue in the /usr/local/lib directory.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2005 08:21 PM
тАО03-08-2005 08:21 PM
Re: Problems building DBD::mysql modules for Perl on HP-UX 11.11
if this is still a problem, can I suggest you widen the audience by closing this thread and post it in UNIX/Sytem Admin.
There are quite a few Perl/UNIX experts, who may have more background in building the module than me.
Sorry my answers didn't help.
Regards