<br><br><div class="gmail_quote">On Wed, Aug 18, 2010 at 7:23 AM, Vincent Torri <span dir="ltr"><<a href="mailto:vincent.torri@gmail.com">vincent.torri@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hey,<br><br>We have written a wrapper around dbus (a library that is called edbus). In the edbus.pc file, I just added to Requires.private dbus-1 (the name of dbus pc file), so our .pc file contains:<br><br>
Requires.private: dbus-1<br>
Libs: -L${libdir} -ledbus<br><br>That wrapper has an exported header file which contains dbus calls. For example:<br><br>DBusPendingCall *edbus_message_send(EDBus_Connection *conn, DBusMessage *msg, EDBus_Method_Return_Cb cb_return, int timeout, void *data);<br>
<br>A guy from mandriva told us about a DSO problem in that case (I don't know much about DSO), and gave a fix by adding also (that is Requires.private still contains dbus-1) in Libs the result of pkg-config --libs dbus-1, that is:<br>
<br>Requires.private: dbus-1<br>Libs: -L${libdir} -ledbus -L/lib -ldbus-1 -lpthread -lrt<br><br>Is it correct ?<br><br>Thank you<br></blockquote><div><br>Another thing I forget to mention: edbus is used in a program, and that program uses directyly some dbus calls. Which is certainly the problem.<br>
<br>Vincent Torri <br></div></div>