HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem compiling DBD::MySQL on HP-UX 11.00
Operating System - HP-UX
1834102
Members
2798
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
06-23-2003 11:44 PM
06-23-2003 11:44 PM
Problem compiling DBD::MySQL on HP-UX 11.00
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2003 04:05 AM
06-24-2003 04:05 AM
Re: Problem compiling DBD::MySQL on HP-UX 11.00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 02:19 PM
06-30-2003 02:19 PM
Re: Problem compiling DBD::MySQL on HP-UX 11.00
Ack! No solution here but I am having the exact same problem. It looks to me like there's a library compatibility problem since the compile bombs at the linker step. I've even tried changing LD_RUN_PATH to include /usr/lib/pa20_64 before /lib and still get the same result.
At this point, I have compiled perl 5.8 and mysql 4.0 from scratch using the ANSI C product and C++ running on HP-UX 11.00 recently patched.
At this point, I have compiled perl 5.8 and mysql 4.0 from scratch using the ANSI C product and C++ running on HP-UX 11.00 recently patched.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 08:03 AM
07-11-2003 08:03 AM
Re: Problem compiling DBD::MySQL on HP-UX 11.00
Eureka!
Perl is normally installed as a 32-bit binary/libraries (you have to explicitly compile it as 64-bit) and it was conflicting with the 64-bit libraries of mysql (that's why the linker step would fail). Chances are you were able to get around it by adding +DA2.0W to the Makefile or mysql_config which would actually link the libraries but they were still having a compatibility problem resulting in the exec format error messages.
Here's the settings I used:
For perl:
1. ./Configure -Ubincompat5005 -Duse64bitall
2. Add the libraries: -lcl -lpthread
before the other libraries.
3. Add "+z +e" to ccflags
I also compiled mysql from scratch:
CC=cc CXX=aCC CFLAGS=+DD64 CXXFLAGS=+DD64 ./configure --prefix=/opt/mysql --with-extra-charsets=complex --enable-thread-safe-client --enable-local-infile --disable-shared
Then I compiled and installed the DBI and DBD with the normal installation instructions.
- Tony
Perl is normally installed as a 32-bit binary/libraries (you have to explicitly compile it as 64-bit) and it was conflicting with the 64-bit libraries of mysql (that's why the linker step would fail). Chances are you were able to get around it by adding +DA2.0W to the Makefile or mysql_config which would actually link the libraries but they were still having a compatibility problem resulting in the exec format error messages.
Here's the settings I used:
For perl:
1. ./Configure -Ubincompat5005 -Duse64bitall
2. Add the libraries: -lcl -lpthread
before the other libraries.
3. Add "+z +e" to ccflags
I also compiled mysql from scratch:
CC=cc CXX=aCC CFLAGS=+DD64 CXXFLAGS=+DD64 ./configure --prefix=/opt/mysql --with-extra-charsets=complex --enable-thread-safe-client --enable-local-infile --disable-shared
Then I compiled and installed the DBI and DBD with the normal installation instructions.
- Tony
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP