tsuzu / twitcurl

Automatically exported from code.google.com/p/twitcurl
0 stars 0 forks source link

Twitcurl invalid Makefile for Ubuntu Oniric Ocelot #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download, make and make install twitcurl on Ubuntu Oninit Ocelot
2. Try to compile a consumer of twitcurl using g++ source.cpp -o output 
-ltwitcurl provides an error stating that libtwitcurl can't link against curl

What is the expected output? What do you see instead?
The make / make install should work on ubuntu

What version of the product are you using? On what operating system?
latest libtwitcurl on latest Ubuntu

Please provide any additional information below.
I resolved this issue by changing to G++ call in your Makefile to:

        $(CC) -shared -Wl,-soname,lib$(LIBNAME).so.1 $(LDFLAGS)  -o lib$(LIBNAME).so.1.0 *.o -L$(LIBRARY_DIR) -lcurl

Original issue reported on code.google.com by p...@paulswilliams.me.uk on 23 Apr 2012 at 9:45

GoogleCodeExporter commented 9 years ago
Thanks a lot. Fixed it :)

Original comment by swatkat....@gmail.com on 3 Jun 2012 at 8:51