U-Wei Khew

Greenhorn
+ Follow
since Nov 24, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by U-Wei Khew

Yes, it is a 64 bit OS... being a newbie, had quite a hard time finding out the environment properties...

Thanks once again!
14 years ago
Hi Jesper!

I got my problem sorted out!
Apparently, my JVM was a 32 bit JVM.. which was unable to run with a 64bit native lib...

Downloaded a 64 bit JVM from java and eveything settled!
14 years ago
Hi Jesper,

Thanks for the help.

Totally forgot that I change from a Solaris to a Linux.. thus the error.

Back to the error of wrong ELF class. I am trying to build the library for DBXML and that was the error. I understand that my OS is a 32 bit which I am unable to do anything about (because its a server Im running on). However I cant find the method to build this native library on 32 bits.
I tried using ./buildall.sh -b 32 as the argument ( as stated in the buildall.sh file) but the build is still in 64 bits:


From the Oracle forum, I gathered that we have to set the CFLAGS/CXXFLAGS/LDFLAGS in order to build a 32bit version by gcc...a method which he doesnt know too... Any idea how do we do that?

Thanks for your time!

14 years ago
Hi Jesper,

Thanks!

Apologize for the miscommunication. I build the buildall.sh file on another Linux machine and this was the error:



Do you have any idea on how to build this properly?

THanks!
14 years ago
Hi,

I am trying to run a Java program consisting of Berkeley XML librarys on a Linux system. After building the library, and running the program, I encounter this error:



This is the system that I am working on:



Any idea how do I resolve this?

Appreciate any help!

THanks!
14 years ago