[Bluez-users] Re: bluez-utils-2.14 compile error: make returns "cannot find -lbluetooth"

Sebastian Roth
2005-01-19T12:55:30Z

Hello!

I guess your linker just can't find the bluetooth library because you
have installed it into a non-standard path.
> ./configure --prefix=/usr/local/bluez

make install runs the command `ldconfig -n /usr/local/bluez/lib' but the
option -n forces ldconfig just to create the library links and not to
update the cache. (man ldconfig)
Add this path to your /etc/ld.so.conf and re-run ldconfig as root.

`ldconfig -p | grep bluetooth' should show libbluetooth now!

Best regards,
Sebastian