Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: tcFan on December 03, 2018, 02:30:09 PM

Title: libffi.so.5 needed by bluetooth
Post by: tcFan 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.
Title: Re: libffi.so.5 needed by bluetooth
Post by: Rich on December 03, 2018, 02:49:44 PM
Hi tcFan
Did you try loading  libffi5.tcz?

Title: Re: libffi.so.5 needed by bluetooth
Post by: Juanito 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..
Title: Re: bluetooth needs libffi.so.5 , dbus
Post by: tcFan 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
Title: Re: libffi.so.5 needed by bluetooth
Post by: Juanito 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.
Title: Re: libffi.so.5 needed by bluetooth
Post by: tcFan 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?
Title: Re: libffi.so.5 needed by bluetooth
Post by: Juanito 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.