2

I have an application in C++ under Linux (kdevelop). I want to build it statically, and I am using CMake. The application is using the curl library and I am getting lots of errors and warnings. I think that is because of the dependencies of curl.

Is it true that curl has a lot of dependencies? Which are they? Do you know a way to find them all fast?

niklasfi
  • 15,245
  • 7
  • 40
  • 54
thedarkside ofthemoon
  • 2,251
  • 6
  • 31
  • 48

1 Answers1

0

I know it has been a long time since this question was asked, but I am having the same problem and I am stuck on it too. First, regarding libcurl, if you download the source, it is possible to configure it such that it only contains the features you want, reducing the number of libraries it depends on. This is done passing options to the configure script. For example,

./configure --disable-ldap

would remove ldap features and thus remove its dependency.

I created another question explaining my whole problem, maybe some of the work I did can help you!

Mickaël C. Guimarães
  • 1,020
  • 2
  • 14
  • 32