Public bug reported:

Looks like xmlrpc-c-config scripts returns incorrect linker flags.

I create a simple C++ source file foo.cc:

int main(int argc, char **argv) { return 0; }

I want to compile it and link to xmlrpc-c. I have libxmlrpc-c3-dev
package installed using apt-get, so I execute the following command and
get an error:

(10:40) [EMAIL PROTECTED]:~/tmp/xmlrpc %> g++ `xmlrpc-c-config c++2 client 
--libs --cflags --ldadd` foo.cc          
/usr/bin/ld: cannot find -lcurl
collect2: ld returned 1 exit status
(10:40) [EMAIL PROTECTED]:~/tmp/xmlrpc %>

** Affects: xmlrpc-c (Ubuntu)
     Importance: Undecided
         Status: New

-- 
xmlrpc-c-config prints out incorrect linker flags
https://bugs.launchpad.net/bugs/284515
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to