ld-elf.so.1: Shared object "%%LIBCUSE%%" not found

Hello,

I noticed this error message which shows up seven times at boot:

Code:
[...]
Starting devd.
em0: link state changed to UP
ld-elf.so.1: Shared object "%%LIBCUSE%%" not found
ld-elf.so.1: Shared object "%%LIBCUSE%%" not found
ld-elf.so.1: Shared object "%%LIBCUSE%%" not found
ld-elf.so.1: Shared object "%%LIBCUSE%%" not found
ld-elf.so.1: Shared object "%%LIBCUSE%%" not found
ld-elf.so.1: Shared object "%%LIBCUSE%%" not found
Configuring vt: keymap.
Autoloading module: uhid
Autoloading module: usbhid
Autoloading module: wmt
ld-elf.so.1: Shared object "%%LIBCUSE%%" not found
usbhid0 on uhub3
usbhid0: <USB Keyboard> on usbus1
hidbus0: <HID bus> on usbhid0
[...]

What does this mean? Any idea how to fix?

I do have cuse_load="YES" in /boot/loader.conf and the module is loaded properly.
 
Check the contents of /usr/local/etc/libmap.d. It looks like some port/package wrote a file there without translating the %%LIBCUSE%% macro/placeholder.
 
The only file in that directory is mesa.conf with the following content:
Code:
libGLX_indirect.so.0 libGLX_mesa.so.0
 
Maybe it got added to /etc/libmap.conf (it shouldn't but the error has to come from somewhere).
 
Nothing special there:

/etc/libmap.conf
Code:
# $FreeBSD$
includedir /usr/local/etc/libmap.d
 
Check the contents of /usr/local/etc/libmap.d. It looks like some port/package wrote a file there without translating the %%LIBCUSE%% macro/placeholder.

# cat /usr/local/etc/devd/uhidd-devd.conf
notify 0 {
match "subsystem" "DEVICE";
match "type" "ATTACH";
match "cdev" "ugen[0-9]+.[0-9]+";
action "env LD_PRELOAD=%%LIBCUSE%% /usr/local/etc/rc.d/uhidd start /dev/$cdev";
};
#

How to translate this %%LIBCUSE%% macr/placeholder in the case of this uhidd-devd.conf file?
 
That depends. What does pkg which /usr/local/etc/devd/uhidd-devd.conf say?
I have to apologize for re-opening this old thread... actually, nothing, what made me recapitulate of an attempt I have done a while ago to set a bluetooth mouse that happened to have its clicks to work but not its finger-touching scrolling, which made me to forget this file in its abandoned 'shelf'.

After removing it, my system no longer shows the same 'ld-elf.so.1: Shared object "%%LIBCUSE%%" not found' message that drove me to this old post.

Thank you
 
Back
Top