WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: libffi.so.5 needed by bluetooth  (Read 2734 times)

Offline tcFan

  • Newbie
  • *
  • Posts: 36
libffi.so.5 needed by bluetooth
« on: December 03, 2018, 02:30:09 PM »
.. but system has libffi.so.6.

-- tried to follow the instructions as per the sticky in this forum (update  .deps etc), didnt work.

-- tried to use LD_LIBRARY_PATH with a symlink from .5 to .6, didnt work either. (the variable doesnt exist btw, is that how TC does things?)

using Tinycore Plus 9.0 iso.

any suggestions?

thanks.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: libffi.so.5 needed by bluetooth
« Reply #1 on: December 03, 2018, 02:49:44 PM »
Hi tcFan
Did you try loading  libffi5.tcz?


Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: libffi.so.5 needed by bluetooth
« Reply #2 on: December 05, 2018, 01:19:48 AM »
I cannot find anything in the bluez extension that depends on libffi.so.5

What command are you using when you get the error?

Edit: I just used the tc-9.x x86 blueman extension to scan for bluetooth devices and it worked without libffi5..
« Last Edit: December 05, 2018, 02:04:21 AM by Juanito »

Offline tcFan

  • Newbie
  • *
  • Posts: 36
Re: bluetooth needs libffi.so.5 , dbus
« Reply #3 on: December 05, 2018, 09:32:41 AM »
hi
it worked but now it cannot connect to dbus (G_IS_DBUS_CONNECTION)

the command is bluetooth-wizard .. sounds like im missing some update for pkg listings or the right repo?

I was using gnome-bluetooth 'cause that's what showed up when searching for bluetooth. Trying blueman shortly...

Blueman has same dBus issue now. IIRC, when Firefox moved to pulseaudio, this also occured. (Cant remember the solution though

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: libffi.so.5 needed by bluetooth
« Reply #4 on: December 06, 2018, 12:01:55 AM »
gnome-bluetooth was missing a dep on libffi5 - now added.

gnome-bluetooth works, but as it is old and it is not possible to update it (recent versions require a newer version of udev than that in tinycore), I would suggest using blueman instead.

Offline tcFan

  • Newbie
  • *
  • Posts: 36
Re: libffi.so.5 needed by bluetooth
« Reply #5 on: December 30, 2018, 04:14:24 PM »
Thanks.

Yes, tried blueman but it also cannot connect to dBus. Even with sudo.

Could it be a read-only issue, since I'm running from the CD?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: libffi.so.5 needed by bluetooth
« Reply #6 on: December 31, 2018, 02:14:16 AM »
I just tested blueman on tc-9.x x86 and it paired successfully with bluetooth headphones.

To troubleshoot, reboot to the console prompt and:

* tce-load -i blueman
* sudo /usr/local/etc/init.d/dbus start
* startx
* open a terminal window and "sudo bluetoothd -nd"
* open a second terminal window and "blueman-manager"

You should see the blueman applet window open ready to scan for devices - if not, post the error messages you get.