All pastes #550311 Raw Edit

Someone

public text v1 · immutable
·published 2007-06-08 11:46 UTC
rendered paste body

Hi! I want really to make function my droid but I have this problem. :)

    ~ $ /usr/local/bin/tuxdaemon

    /usr/local/bin/tuxdaemon: error while loading shared libraries:
    libusb-0.1.so.4: cannot open shared object file: No such file or
    directory





    $ uname -a
    Linux 2.6.17-gentoo-r8 #27 Sat Jun 2 12:44:18 CEST 2007 x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux






    ~ $ ls /usr/lib64/ | grep libusb
    libusb-0.1.so.4
    libusb-0.1.so.4.4.4
    libusb.a
    libusb.la
    libusbpp-0.1.so.4
    libusbpp-0.1.so.4.4.4
    libusbpp.a
    libusbpp.la
    libusbpp.so
    libusb.so


   

    $ ls /usr/lib32/ | grep libusb





    $ ldd  /opt/tuxdroid/bin/tuxdaemon
            linux-gate.so.1 =>  (0xffffe000)
            libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf7ea1000)
            libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xf7e9d000)
            libpthread.so.0 => /lib32/libpthread.so.0 (0xf7e86000)
            libusb-0.1.so.4 => not found
            libc.so.6 => /lib32/libc.so.6 (0xf7d5e000)
            librt.so.1 => /lib32/librt.so.1 (0xf7d55000)
            /lib/ld-linux.so.2 (0xf7f58000)




   
then I download the sources  tuxdaemon-0.3.0


     ~/tuxdaemon-0.3.0 $ ls
    AUTHORS  CHANGES  COPYING  Debug  libs  main.c  Makefile  README  TODO  tuxdefs  version.h  version.txt
    wux@wux ~/tuxdaemon-0.3.0 $ make
    ----------Configuration: USBDaemon - Linux Debug----------
    Linking...
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: AVERTISSEMENT: architecture i386 du fichier d'entr?e ? Debug/main.o ? est incompatible avec la sortie i386:x86-64
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: AVERTISSEMENT: architecture i386 du fichier d'entr?e ? Debug/USBDaemon_usb_enum.o ? est incompatible avec la sortie i386:x86-64
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: AVERTISSEMENT: architecture i386 du fichier d'entr?e ? Debug/USBDaemon_usb_readWrite.o ? est incompatible avec la sortie i386:x86-64
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: AVERTISSEMENT: architecture i386 du fichier d'entr?e ? Debug/USBDaemon_status_table.o ? est incompatible avec la sortie i386:x86-64
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: AVERTISSEMENT: architecture i386 du fichier d'entr?e ? Debug/USBDaemon_pidfile.o ? est incompatible avec la sortie i386:x86-64
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: AVERTISSEMENT: architecture i386 du fichier d'entr?e ? Debug/USBDaemon_command_tux.o ? est incompatible avec la sortie i386:x86-64
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: AVERTISSEMENT: architecture i386 du fichier d'entr?e ? Debug/USBDaemon_tcp_server.o ? est incompatible avec la sortie i386:x86-64



I must obligatorily have a chroot 32 bit so that that functions or?


Re: tuxdaemon: error: libusb-0.1.so.4
Posted by David Bourgeois at Thursday 17:44
Another gentoo user :)

I don't have any experience with 64 bits systems but by googling around, it seems there's some people talking about a lib64usb package. I couldn't find it in portage though so I don't know exactly how debian got that. There's maybe a 64 bits development branch.

Other people seems to use emul-libs also.

David