Ubuntu 5.10 AMD64
Miscellaneous Forums/Linux Discussion/Ubuntu 5.10 AMD64
Hi,
I've some problems with BlitzMax 1.10 on Ubuntu 5.10 AMD64.
My first problem is that I cannot synchonize modules ... on Windows x64 this works just fine.
Output:
Synchronize Modules
Error connecting to server: Unknown error
Process complete
My second problem is that I'am not able to compile anything. A simple Print "Hello World" don't work.
I've installed all packages written here on the Linux threads. My 3D card works properly with fglrx.
I also tried: export LD_LIBRARY_PATH="/lib32:/usr/lib32:$LD_LIBRARY_PATH" && ./BlitzMax
Output:
Building fireworks
Linking:fireworks.debug
/usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL
/usr/bin/ld: skipping incompatible /usr/lib/libGL.a when searching for -lGL
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../libGL.so when searching for -lGL
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../libGL.a when searching for -lGL
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libGL.so when searching for -lGL
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libGL.a when searching for -lGL
/usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL
/usr/bin/ld: skipping incompatible /usr/lib/libGL.a when searching for -lGL
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
Process complete
Any suggestion?
AMD Athlon 64 3700+ San Diego
2048MB DDR Infinion
ATI X850XT Platinum Edition (fglrx)
SoundBlaster Audigy 2 ZS
My first problem is that I cannot synchonize modules ...
the module synchronization server is currently locked it seemed, in anticipation of BMax 1.12 -- expected to come out on Monday.
I can't help you with your compile problem though.
try searching this forum section for your other problems.. several others have had the same problem, and you need to install a package or two..
(can't remember which they were, so try searching)
When last I tried running BlitzMax on AMD64, it WAS possible to get things to build and compile under a 32 bit environment, but then to run you'd have to launch it under the 64 bit environment.
I'm not sure if the lib64 mess has been cleaned up with the newer versions of the distros, and frankly I decided the slight speed improvement wasn't worth it for me.
I had BlitzMax installed under a chroot 32 bit environment. To install a 32 bit chroot isn't that hard, but it's a lot of fuss and you might have problems, and I doubt anyone will be able to help you much.
You may also have some luck with the linux32 command, although AFAIK the basic 32 bit default install under AMD64 doesn't contain everything required for building BMax apps, so it probably won't work.
Thanks for the answers.
I've properly installed the new BlitzMax 1.12 release.
My problem is that the MaxIDE don't start. The following error occurs:
./MaxIDE: error while loading shared libraries: libXxf86vm.so.1: cannot open shared object file: No such file or directory
I tried all hints and tips on the english and german BlitzMax forums, installed all packages written on the BlitzMax forums and searched the internet on this error message.
I also tried the linux32 command, tried to set a new LD_LIBRARY_PATH, copied the libXxf86vm.so.1.0.0 in the /lib32 and /usr/lib32 directories. Then I've created some links (ln -s) in the /lib, /lib32 and /usr/lib32 directories: libXxf86vm.so.1 -> /usr/lib64/libXxf86vm.so.1
Output:
BlitzMax$ ldd MaxIDE
linux-gate.so.1 => (0xffffe000)
libGL.so.1 => /usr/lib32/libGL.so.1 (0x55580000)
libGLU.so.1 => /usr/lib32/libGLU.so.1 (0x5561f000)
libX11.so.6 => /usr/lib32/libX11.so.6 (0x55695000)
libXxf86vm.so.1 => not found
libstdc++.so.5 => /usr/lib32/libstdc++.so.5 (0x55755000)
libm.so.6 => /lib32/tls/libm.so.6 (0x5580f000)
libpthread.so.0 => /lib32/tls/libpthread.so.0 (0x55831000)
libc.so.6 => /lib32/tls/libc.so.6 (0x55843000)
libXext.so.6 => /usr/lib32/libXext.so.6 (0x55971000)
libdl.so.2 => /lib32/tls/libdl.so.2 (0x5597e000)
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0x55981000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0x55a65000)
libXau.so.6 => /usr/lib32/libXau.so.6 (0x55a70000)
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0x55a74000)
/lib/ld-linux.so.2 (0x55555000)
Output:
/usr/lib# ls -la libXxf86vm*
-rw-r--r-- 1 root root 21810 2005-07-24 14:46 libXxf86vm.a
lrwxrwxrwx 1 root root 19 2005-11-07 20:32 libXxf86vm.so -> libXxf86vm.so.1.0.0
lrwxrwxrwx 1 root root 19 2005-11-07 20:32 libXxf86vm.so.1 -> libXxf86vm.so.1.0.0
-rw-r--r-- 1 root root 20032 2005-07-24 14:46 libXxf86vm.so.1.0.0
Output:
/usr/lib32# ls -la libXxf86vm*
lrwxrwxrwx 1 root root 26 2005-11-17 00:10 libXxf86vm.so.1 -> /usr/lib64/libXxf86vm.so.1
Output:
/usr/lib64# ls -la libXxf86vm*
-rw-r--r-- 1 root root 21810 2005-07-24 14:46 libXxf86vm.a
lrwxrwxrwx 1 root root 19 2005-11-07 20:32 libXxf86vm.so -> libXxf86vm.so.1.0.0
lrwxrwxrwx 1 root root 19 2005-11-07 20:32 libXxf86vm.so.1 -> libXxf86vm.so.1.0.0
-rw-r--r-- 1 root root 20032 2005-07-24 14:46 libXxf86vm.so.1.0.0
Any suggestion?
Notice: BlitzMax 1.12 works fine on Windows x64, the function "Synchronize Modules" shows no errors.
BlitzMax 1.12 works on my AMD64 box!
Solution:
1) Download libxxf86vm1_7.0.0-2_i386.deb:
http://packages.ubuntu.com/breezy/libs/libxxf86vm12) Unpack package: ar -x libxxf86vm1_7.0.0-2_i386.deb
3) Unpack data: tar -zxf data.tar.gz
4) Copy files: sudo cp -p usr/lib/* /usr/lib32 (There is no forward slash at the beginning of the first path.)
5) Fix symbolic links: sudo ln -s /usr/lib32/libXxf86vm.so.1.0.0 /usr/lib32/libXxf86vm.so.1
6) Update ldd cache: sudo libconfig (Optional!)
Awesome HexFex!
Are these extra steps likely to be addressed by Ubuntu themselves do you think?
It would be nice to dynamically link with libxxf86vm so BlitzMax doesn't have to fail (could just use desktop video mode instead) but I have no idea how to deal with runtime libs in Linux unfortunately.
Heyfex, I've done everything you said and also looked up if the files are really in the /usr/lib folder and they are,, but ./MaxIDE gives me only an ./MaxIDE: error while loading shared libraries: libXxf86vm.so.1: cannot open shared object file: No such file or directory
error :(
What now?
Doh! Wrong chmod :)