50ButtonsEach / fliclib-linux-dist

114 stars 19 forks source link

Daemon error #18

Open logicallysynced opened 8 years ago

logicallysynced commented 8 years ago

I'm not really well versed on linux but when trying to run the ./daemon command I am getting the following error:

./daemon: relocation error: ./daemon: symbol _ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference

Not really sure what this means or what the problem is so any help would be appreciated.

fabianbergmark commented 8 years ago

It seems like your libstdc++ version is to old. I would suggest a system update or to install the latest Raspbian Jessie.

logicallysynced commented 8 years ago

I'm running the recommended build of Ubuntu Server and a locate libstdc++.so reveals:

/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so /usr/lib/x86_64-linux-gnu/libstdc++.so. /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 /usr/share/gdb/auto-load/usr/lib.x86_64-linux-gnu/libstdc++.so.6.0.21-gdb.py

I have also run the following commands:

sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade

which don't seem to resolve the issue.

fabianbergmark commented 8 years ago

This beta has been built for the latest Ubuntu Desktop 5.10 and Raspbian Jessie.

logicallysynced commented 8 years ago

Okay I re-installed using Ubuntu Desktop and got everything installed okay and running, however even though all three consoles are running, when i use the startScan and push my flic button, nothing happens.

I don't see any errors in any of the output windows, just no response.

fabianbergmark commented 8 years ago

Hm did you run bluetoothd with the -nEd switches, and made sure no other bluetoothd instance was running? If so, can you post the output from the daemon?