From: | lyle at lcrcomputer(dot)net (Lyle) |
---|---|
To: | |
Subject: | [Pljava-dev] JNI_CreateJavaVM |
Date: | 2006-09-26 12:46:01 |
Message-ID: | 45192109.7020500@lcrcomputer.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pljava-dev |
Guess I was tired when I wrote that last.
I had found another cpu specific 'error' in line 102 of that same
Makefile. I edited that line and then tried to run make. So there are
issues with the Makefile as you suggested.
As far as mixing 32 with 64 bit code, I installed Java and Java libs
from the SuSE distro dvd. I installed no Java source from anywhere else.
I suspect this is an issue with the distro in regard to the lib error.
Maybe if I back off and try installing on one of our old Proliant
3000's(PII 400MHz), it might work<GRIN>?!? Or install the 32 bit kernel
on the Xeon? (but then I have issues with our tape drive. I may have
to just eat that and fix the tape drive issue another way.) At least if
I put a 32 bit kernel on the Xeon, I still have a possibility of finding
an answer within a day. On the Proliant3000 it might take a week (or two?)?
Lyle
Markus Schaber wrote:
> Hi, Lyle,
>
> Lyle Giese wrote:
>
>> I am sorta getting the same errors you are. I have an HP ML350 with a
>> XEON processor and installed SuSE 9.2 (64 bit kernel). It came up
>> identified as x86_64 and tried to find amd64 in the Java lib
>> directories, which doesn't exist of course. I changed the x86_64 to be
>> identified as i386 and it still did not make correctly.
>>
>> At that point, I get an gcc 64 bit lib error related to an incompatible
>> libjvm.so(in the i386 directory). But since I installed java & jvm from
>> the SuSE 9.2 distribution dvd, I don't know if I can fix this issue. I
>> may try re-installing SuSE 9.2 minus java from the dvd(if I can) and
>> install java from source afterwords. Not sure how difficult that will be.
>>
>
> Is it possible that you mixed 32-bit and 64-bit user space code?
>
> You cannot mix 32-bit and 64-bit code in the same executable. As pljava
> and the jdk get loaded as dynamically libraries into the postmaster, all
> of PostgreSQL, pljava, the jdk/jre and all other needed libs (e. G.
> zlib) need to be compiled for the same platform.
>
> HTH,
> Markus
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20060926/5aa7e745/attachment.html>
From | Date | Subject | |
---|---|---|---|
Next Message | Markus Schaber | 2006-09-26 13:41:44 | [Pljava-dev] JNI_CreateJavaVM |
Previous Message | Markus Schaber | 2006-09-26 09:05:25 | [Pljava-dev] JNI_CreateJavaVM |