From: lyle at lcrcomputer.net (Lyle) Date: Tue, 26 Sep 2006 07:46:01 -0500 Subject: [Pljava-dev] JNI_CreateJavaVM In-Reply-To: <4518ED55.9000600@logix-tt.com> References: <450EA703.5080106@lcrcomputer.net> <450EC3EC.1030409@tada.se> <450EFD9E.6080103@lcrcomputer.net> <45182933.6020507@lcrcomputer.net> <45183911.2020205@logix-tt.com> <45184D68.60602@lcrcomputer.net> <4518ED55.9000600@logix-tt.com> Message-ID: <45192109.7020500@lcrcomputer.net> 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?!? 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: