Operating System - HP-UX
1748149 Members
3488 Online
108758 Solutions
New Discussion

BerkeleyDB 2.4.5 on HP-UX 11 64-Bit?

 
P. Law
New Member

BerkeleyDB 2.4.5 on HP-UX 11 64-Bit?

I have a test application written in C, using Berkeley data store 2.4.5, which works on our PA RISC machine under HP-UX 11 in 32-bit mode. But when I rebuild the application as a 64-bit binary, it fails on a database create/open attempt.
The binary is a 64-bit ELF module, created with the cc compiler. The database being created is new; no other process is using it.
I have a query out on this to the Sleepycat Berkeley people, but thought I would try the HP angle as well.
Has anyone succeeded in this before? Any info would be helpful. Thanks. I have lots more information but there's no room for it here...
1 REPLY 1
Steven E. Protter
Exalted Contributor

Re: BerkeleyDB 2.4.5 on HP-UX 11 64-Bit?

More information is required.

Thats what the attachment feature of itrc is.

Your best bet is to start out with the 32 bit binaries. These should without recompiling run normally on 11i, even on a 64 bit machine.

It is no surprise that the source code has troubles when compiled in 64 bit mode.

There are different, larger resource limits and adjustments that need to be made to the source code prior to compiling in 64 bit mode.

Does the author even support this?

Best you consider running the 32 bit binaries for now, if they work.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com