[SOLVED] Compilation error
#1
I'm trying to compile AC v1.2.0.2 for Debian GNU/Linux 8 (Jessie), and I ran into an error while compiling.
lvorbisfile -lcurl
/usr/bin/ld: cannot find -lcurl
/usr/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:159: recipe for target 'client' failed
make: *** [client] Error 1

I'm sorry, I'm not too knowledgeable in C/C++ (I do Java), and I have no idea what's wrong with this command. It gives me the impression that the command the Makefile is trying to use has updated and now has a different argument. But I don't know.

Any suggestions?

Thanks!
Thanks given by:
#2
Well, my first guess is

1) You don't have the proper packages installed
2) You don't have the proper version of packages installed (okay this is really 1 too)

ld is the GNU linker btw: http://linux.die.net/man/1/ld
Thanks given by:
#3
sudo apt-get install libcurl4-openssl-dev
Thanks given by: Million
#4
sudo apt-get install libcurl4-openssl-dev

That is what fixed the problem. Thanks a ton to all!
Thanks given by: