- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Compiling mnogosearch with mysql
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
тАО04-08-2005 01:05 AM
тАО04-08-2005 01:05 AM
mnogosearch will be linked against a mysql-datebase. The libs are 64bit.
Unfortunately gcc tries to build a elf-32 binary which fails of an ABI-mismatch as soon as a mysql-lib is involved.
How do I tell gcc to build 64bit binaries?
Kind regards
Markus
Solved! Go to Solution.
- Tags:
- gcc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2005 01:31 AM
тАО04-08-2005 01:31 AM
Re: Compiling mnogosearch with mysql
I thought elf-64 gcc can only generate elf-64 binaries.
Are you sure your gcc is 64?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2005 01:34 AM
тАО04-08-2005 01:34 AM
Re: Compiling mnogosearch with mysql
I thought it is able to build 64bit binaries.
Do I need a 64bit gcc? Where can I get it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2005 01:42 AM
тАО04-08-2005 01:42 AM
Re: Compiling mnogosearch with mysql
http://www.cmve.net/~merijn/
or http://gcc.gnu.org/
would be a start.
But if you can wait a while, perhaps somebody has another idea/solution.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2005 02:05 AM
тАО04-08-2005 02:05 AM
Solutionhad a another look around and found:
32 bit gcc can apparently be told to compile to 64 bit, but 64bit can not generate 32 bit.
Sonme of the options I found refer to:
CFLAGS="-O2 -mlp64" LDFLAGS="-mlp64 -lm"
and
+DA2.0W
and variants thereof.
Unless comes up with a clear answer, it may be a case of trial and error.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2005 07:10 AM
тАО04-08-2005 07:10 AM
Re: Compiling mnogosearch with mysql
many thanks, I will have a try at wednesday!
Markus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2005 08:45 PM
тАО04-13-2005 08:45 PM
Re: Compiling mnogosearch with mysql
any update on this thread?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2005 09:42 PM
тАО04-13-2005 09:42 PM
Re: Compiling mnogosearch with mysql
sorry.. I was trying to write a post all morning long;-)
OK, I managed to compile it with the suggested options and voil├Г┬б: 64bit ELF!
The only thing left is zlib-support which fails within configure. But this problem is solved with "--without-zlib".
Thanks alot!
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2005 09:55 PM
тАО04-13-2005 09:55 PM
Re: Compiling mnogosearch with mysql
also funtioniert jetzt alles.
Grossartig!
Kannst Du bitte Punkte geben und then Thread schliessen.
Herzlichen Dank und viel Glueck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2005 10:12 PM
тАО04-13-2005 10:12 PM