[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Right way to link in librpm...



Hi All,

I have written some tiny code that uses librpm, but I had to add
the following option when compiling:

	-I/usr/include/rpm

The full command is:

	gcc -I/usr/include/rpm -lrpm -lrpmio -lrpmdb -lpopt cmprpm.c -o cmprpM

Is this normal, or am I doing something wrong?

Thanks...james





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []