Re: bluetooth obex not working

"Xi Ruoyao" ([email protected] via blfs-support Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <[email protected]>
On Sat, 2025-06-21 at 19:51 +0100, Eduardo Batalha wrote:
> Dear all,
> 
> I have a full BLFS XFCE desktop running on my computer.
> At the time I installed it, BLFS was transitioning from 11.0 to 11.1, I 
> based myself on the svn at the time, so some of the packages are from 
> either 11.0 or 11.1.

We really don't have much time to support such an old release.

/* snip */

> 1st problem: obexd was complaining that it was unable to convert from 
> UTF-16LE to UTF-8.
> The solution was to download and install libiconv-1.18
> https://www.gnu.org/software/libiconv/

It does not make sense.  libiconv is only intended to be used if the
libc does not support iconv.  But in LFS the libc (glibc) supports iconv
and it supports UTF-16LE.

Does your /usr/lib/gconv/gconv-modules contain UTF-16LE?  If not it's
most likely the file is mistakenly overwritten when you install some
rogue package.

Note that we have an example of such an rogue package in the BLFS book:
the recent v4l-utils would overwriteen /usr/lib/gconv/gconv-modules if
we didn't pass -D gconv=disabled when building it.

Anyway if this file is broken you need to reinstall it from a fresh
glibc build.

/* snip */


> 2nd problem: the org.bluez.obex.service file installed in 
> /usr/share/dbus-1/services/ by bluez was not correct. I had to manually 
> change the 3rd line to Exec=/usr/libexec/bluetooth/obexd .

On my system (BLFS development) the 3rd line is already this.

-- 
Xi Ruoyao <[email protected]>

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.