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

tcalexander
2005-01-19T18:15:20Z

Added /usr/local/bluez/lib (even tried /usr/local/bluez), ran ldconfig as root.
ldconfig -p | grep bluetooth
libbluetooth.so.1 (libc6) => /usr/local/bluez/lib/libbluetooth.so.1
libbluetooth.so (libc6) => /usr/local/bluez/lib/libbluetooth.so
Same thing gets spat out during make. :((
bluez-libs...I had that installed first...at least that's what I
presume I did. :)
I've even turned religous - started praying, that is. :P

On Wed, 19 Jan 2005 13:55:30 +0100, Sebastian Roth
<sebastian.roth@esk.fhg.de> wrote:
> 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

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl