Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed the librsync library using:

sudo apt-get install librsync-dev librsync-dbg.

But then how do I link this library statically? I Tried:

gcc -o my_prog my_prog.c pkg-config --libs --cflags (librsync rsync etc).

But pkg-config can't find it.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.