I am using libcurl
ls -l lib*
libcurl.a
libcurl.la -> ../libcurl.la
libcurl.lai
libcurl.so -> libcurl.so.3.0.0
libcurl.so.3 -> libcurl.so.3.0.0
libcurl.so.3.0.0
libcurl3.so -> libcurl.so.3

So we have link for libcurl.so and libcur.so.3

When I complile the code and link it how do I link the libcurl.so.3 (with .3 at the end)?

cc -I/curl/curl-7.15.3/include -L/curl/curl-7.15.3/lib/.libs/ -lcurl -L/curl/curl-7.15.3/lib/.libs/ -lcurl3???? post.c -o post

I am getting post: /sbin/loader: Fatal Error: Cannot map library libcurl.so.3

Thank you

Member Avatar for iamthwee

What is libcurl?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.