mguentner / cannelloni

a SocketCAN over Ethernet tunnel
332 stars 84 forks source link

Library symlink missing on Raspberry #47

Closed pompushko closed 1 year ago

pompushko commented 1 year ago

Seems like library should be copied to /lib on Pi, not to /usr/lib/

pi@tag:~ $ ldd /usr/local/bin/cannelloni
        /usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => /usr/lib/arm-linux-gnueabihf/libarmmem-v6l.so (0xb6f49000)
        libcannelloni-common.so.0 => not found
        libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb6f1d000)
        libstdc++.so.6 => /lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb6d95000)
        libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb6d68000)
        libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6c14000)
        /lib/ld-linux-armhf.so.3 (0xb6f5c000)
        libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6ba5000)

After creating symlink to /lib - all works fine :)

thank you :)

mguentner commented 1 year ago

Which Linux distribution are you using? What is the content of your LD_LIBRARY_PATH?

pompushko commented 1 year ago

Which Linux distribution are you using? What is the content of your LD_LIBRARY_PATH?

Debian Bullseye for Pi LD_LIBRARY_PATH is empty.

mguentner commented 1 year ago

closed with #54