Here's my situation: $ file /emul/linux/x86/usr/lib/libOSMesa.so* /emul/linux/x86/usr/lib/libOSMesa.so: symbolic link to `libOSMesa.so.4.0' /emul/linux/x86/usr/lib/libOSMesa.so.4: symbolic link to `libOSMesa.so.4.0' /emul/linux/x86/usr/lib/libOSMesa.so.4.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped $ file /usr/lib/libOSMesa.so* /usr/lib/libOSMesa.so: symbolic link to `libOSMesa.so.4.0' /usr/lib/libOSMesa.so.4: symbolic link to `libOSMesa.so.4.0' /usr/lib/libOSMesa.so.4.0: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), not stripped $
cd is using /usr/lib, and I want it to be using /emul/linux/x86/usr/lib I could use chroot to accomplish this, but I want to avoid that if I can. Any suggestions? Thanks, -- Raul -----Original Message----- From: Eric Iverson Normally the 64 bit libs would be in /usr/lib64. It is likely that you have a 32 bit mesa, but for some reason it doesn't like our calls. The development was done with mesa 6.4.1 and I plan to switch to 6.4.2. My current guess is that 6.4 doesn't work with the kind of off screen buffer we require and that it will work when you install 6.4.2. ----- Original Message ----- From: "Miller, Raul D" <[EMAIL PROTECTED]> To: "Beta forum" <[email protected]> Sent: Friday, April 14, 2006 1:58 PM Subject: RE: [Jbeta] k beta and amd64 My install isn't quite normal, because I copy the .so files to /usr/local/lib/ and then run ldconfig. Other than that... everything is normal. I have the j files under a user's account in a j601 directory. jconsole and jw work fine. I'm using a 32 bit sun jdk (version 1.4.2.10, if I recall correctly). opengl doesn't work from J (though it works fine running glxgears), but I believe that's because /lib/libOSMesa.so.4.0 (which is what /lib/libOSMesa.so.4 is a symlink to) is a 64 bit library. cd doesn't support passing 64 bit arguments from a 32 bit system, and basically opengl doesn't work for me. Once I get more time, I'll try building a 32 bit version of libOSMesa, and then I'll see if I can figure out how to get J to find that in preference to the 64 bit copy I'm using. Worst comes to worse, I'll make a chroot system to run J from (but that's unpleasant for other reasons). I don't have access to the machine right now, but tomorrow I'll look at Mesa 6.4.2. Thanks, -- Raul -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Iverson Sent: Friday, April 14, 2006 12:26 PM To: Beta forum Subject: Re: [Jbeta] k beta and amd64 I run the linux k beta on a Suse 9.1 64 bit system. It runs as a 32 bit app. We have not done the builds and beta release yet of the 64 bit J Engine and related bits and pieces. Did you do a normal install of the linux k beta? If so, does jconsole run properly? If not, sort that out first. Do you have a 32 bit Java installed for running the j.jar? Note you need a 32 bit Java (not the new 64 bit versions) as j.jar uses the the 32 bit libjnative.so and libj601.so. Building the 6.4.1 Mesa for 32 bit opengl had a number of rough edges. There is a newer 6.4.2 that claims to have a smoother build and install. If you are not already comitted to a certain path I suggest getting 6.4.2. Comments back to the forum on build problems and workarounds would be appreciated. ----- Original Message ----- From: "Miller, Raul D" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, April 14, 2006 9:55 AM Subject: [Jbeta] k beta and amd64 Any recommendations on getting the k beta to work on a 64 bit system? (At the moment, I'm trying to figure out how to build 32 bit opengl support for this system.) Thanks, -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
