You are not logged in.
Pages: 1
hello,
im a new Arch Linux user, and learning C language. i'm trying to incorporate libcurl library into my c program. is there a dev package (with headers and static lib .a) available? because i can't find either by pacman or search in repository. or do i just have to compile it myself? problem is what options should i compile with because im afraid if i do 'make' then 'make install' it might conflict another (future) program that using the lib.
thanks.
Offline
Welcome to the forums karmal.
Arch doesn't split things into dev packages, so all you need is curl to get libcurl.
Offline
sorry, im totally still learning linux, by dev packages, do you mean if i compile curl to get libcurl it won't affect another program?
Offline
If you have curl installed you should have both the dynamic and static libs installed. To check use:
$ pacman -Ql curl | grep /usr/lib/libcurl
curl /usr/lib/libcurl.a
curl /usr/lib/libcurl.so
curl /usr/lib/libcurl.so.4
curl /usr/lib/libcurl.so.4.1.1
Offline
sorry, im totally still learning linux, by dev packages, do you mean if i compile curl to get libcurl it won't affect another program?
You don't have to compile curl to get libcurl. All you have to do is:
pacman -S curl
This is a partial list of what's in the curl package:
pacman -Ql curl | grep libcurl
curl /usr/lib/libcurl.a
curl /usr/lib/libcurl.so
curl /usr/lib/libcurl.so.4
curl /usr/lib/libcurl.so.4.1.1
curl /usr/lib/pkgconfig/libcurl.pc
curl /usr/share/aclocal/libcurl.m4
curl /usr/share/man/man3/libcurl-easy.3.gz
curl /usr/share/man/man3/libcurl-errors.3.gz
curl /usr/share/man/man3/libcurl-multi.3.gz
curl /usr/share/man/man3/libcurl-share.3.gz
curl /usr/share/man/man3/libcurl-tutorial.3.gz
curl /usr/share/man/man3/libcurl.3.gz
--EDIT--
Damn! I got beaten again!
Offline
okay, thank you very much.
Offline
It's Arch policy to try not to change packages from upstream. Since libcurl and curl are packed together, Arch does the same.
Arch does not 'split' their packages into -dev and -common as Debian does.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Pages: 1