Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

BerkeleyDB 2.4.5 on HP-UX 11 64-Bit?

P. Law
Occasional Visitor

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
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