[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Right way to link in librpm...
- From: James Olin Oden <joden lee k12 nc us>
- To: rpm-list redhat com
- Subject: Right way to link in librpm...
- Date: Mon, 20 Jan 2003 09:46:32 -0500 (EST)
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]
[]