-lasound issue
Archives Forums/Linux Discussion/-lasound issue
| ||
Building narf Compiling:narf.bmx flat assembler version 1.64 3 passes, 2622 bytes. Linking:narf.debug /usr/bin/ld: skipping incompatible /usr/lib/libasound.so when searching for -lasound /usr/bin/ld: skipping incompatible /usr/lib/libasound.a when searching for -lasound /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../libasound.so when searching for -lasound /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../libasound.a when searching for -lasound /usr/bin/ld: skipping incompatible /usr/bin/../lib/libasound.so when searching for -lasound /usr/bin/ld: skipping incompatible /usr/bin/../lib/libasound.a when searching for -lasound /usr/bin/ld: skipping incompatible /usr/lib/libasound.so when searching for -lasound /usr/bin/ld: skipping incompatible /usr/lib/libasound.a when searching for -lasound /usr/bin/ld: cannot find -lasound collect2: ld gab 1 als Ende-Status zurück Build Error: Failed to link /home/regaa/BlitzMax112/narf.debug Process complete Alsa is installed, so i do not know what to do. It is my 2nd install of BlitzMax112. The 1st one gave me some other strange errors -> some shared objects not found and so on. I hate Linux for the errors i ALLWAYS get if i want to install some apps. |
| ||
Alsa is installed? You mean alsa-dev? |
| ||
apt-get install alsa-dev fail-> could not find alsa-dev . apt-get install alsa fail -> the newsest version ist already installed. :( |
| ||
try apt searching for "alsa-dev" or "alsa-devel".. I'm sure there's a package out there with your name on it!! ;) |
| ||
apt-get is a crappy piece of software for me: root@Regaa:~/Worm# apt-get update Paketlisten werden gelesen... Fertig root@Regaa:~/Worm# apt-get install alsa-dev Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut... Fertig E: Konnte Paket alsa-dev nicht finden root@Regaa:~/Worm# apt-get install alsa-devel Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut... Fertig E: Konnte Paket alsa-devel nicht finden root@Regaa:~/Worm# apt-get install alsa-dev Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut... Fertig E: Konnte Paket alsa-dev nicht finden PS: All Pakets under Synaptic->search->alsa are installed. |
| ||
I had this problem and searched for 'asound' or 'lasound' with Synaptic, which found the libraries/devs required. |
| ||
I have installed lasound via Synaptic, the installation went fine. But this error still exists: /usr/bin/ld: skipping incompatible /usr/lib/libasound.so when searching for -lasound What version of lasound does BlitzMax await? what else could the error be? |
| ||
Now i have removed all alsa-packets and installed this one (with all needed depencies): http://packages.ubuntu.com/cgi-bin/download.pl?arch=amd64&file=pool%2Fmain%2Fa%2Falsa-lib%2Flibasound2-dev_1.0.5-1ubuntu1_amd64.deb&md5sum=79733d5b7106fdbfad256f3d344007ec&arch=amd64&type=main the installation went fine, but still the same error-> Building narf Compiling:narf.bmx flat assembler version 1.64 3 passes, 2622 bytes. Linking:narf.debug /usr/bin/ld: skipping incompatible /usr/lib/libasound.so when searching for -lasound /usr/bin/ld: skipping incompatible /usr/lib/libasound.a when searching for -lasound /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../libasound.so when searching for -lasound /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../libasound.a when searching for -lasound /usr/bin/ld: skipping incompatible /usr/bin/../lib/libasound.so when searching for -lasound /usr/bin/ld: skipping incompatible /usr/bin/../lib/libasound.a when searching for -lasound /usr/bin/ld: skipping incompatible /usr/lib/libasound.so when searching for -lasound /usr/bin/ld: skipping incompatible /usr/lib/libasound.a when searching for -lasound /usr/bin/ld: cannot find -lasound collect2: ld gab 1 als Ende-Status zurück Build Error: Failed to link /home/regaa/BlitzMax112/narf.debug Process complete |
| ||
On Debian (which Ubuntu is derived from), apt-get install libasound2-devworks for me. |
| ||
Does BlitzMax work with AMD 64 now? I think the problem is that it needs to link on 32-bit libraries and you don't have any for ALSA. On the previous version of Ubuntu we had a lib64 and lib32, but I still needed to install a chroot for a full 32-bit Ubuntu install. This was the only way BlitzMax could compile apps at the time. I'm not sure if this situation has changed. Edit: Just saw another thread - looks like it has a bit. |