> ---test.c > > char rpmReadConfigFiles(); > > int main() { > rpmReadConfigFiles(); > return 0; > } > > --------- > > When I try to compile it I obtain the next errors: > > seamus@sidhome:~/debian/rpm2html-1.7$ gcc -o test -g -O2 test.c -lrpm > -lrpmio -lrpmdb -lz -lbz2 -ldb -lpopt > /usr/lib/librpmio.a(base64.o)(.text+0x277): In function `b64dec': > : reference to `__ctype_b' undefinied > /usr/lib/librpmio.a(base64.o)(.text+0x373): In function `b64dec': > : referencia to `__ctype_b' undefinied > collect2: ld returned 1 exit status > > The same problem happens with other important functions.
Not a problem in rpm-4.2-0.54, compiling as cc -o test test.c -lrpm