Emanuele Leomanni wrote:
> Dear all,
>   I compiled geoclue on my Ubuntu and I have installed libgeoclue.so into
> /usr/local/lib
>   Then, I tried to compile a simple program by using geoclue API including
> geoclue library with -lgeoclue and this is what I have.
>
> /usr/local/lib/libgeoclue.so: undefined reference to `xmlBufferAdd'
> /usr/local/lib/libgeoclue.so: undefined reference to `dbus_g_proxy_call'

...

> How should I have to configure paths and libraries to make things working?

You're not linking the dependency libs, I'm guessing: "pkg-config --libs
geoclue" outputs them, currently the list is
  -lgeoclue -ldbus-glib-1 -lxml2 -ldbus-1 -lgobject-2.0 -lglib-2.0

Jussi


-- 
Jussi Kukkonen <[EMAIL PROTECTED]>
OpenedHand Ltd <http://o-hand.com>


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
GeoClue mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/geoclue

Reply via email to