Code attempting to use the library will not compile; cannot find -lprimegen Reproducible: Always Steps to Reproduce: 1.add "~sci-libs/primegen-0.97 ~*" to /etc/portage/package.keywords 2.emerge primegen 3.write simple primes.c code to use library functions: #include <stdio.h> #include <primegen.h> primegen pg; uint64 Bound; int main(int j, char **v) { Bound = atoll(*++v); primegen_init(&pg); do printf("%ld\n",primegen_next(&pg)); while (1); return 0; } 4. gcc -g -o primes primes.c -I /usr/local/include -lprimegen Actual Results: gcc -g -o primes primes.c -I /usr/local/include -lprimegen /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lprimegen collect2: ld returned 1 exit status Expected Results: successful compile Maybe the emerge did not install libraries correctly? If somehow libraries are ok, then the main page should be modified to contain a working example which specifies exactly how one can successfully compile (it gives no clue).
Stupid bugzilla, how did this get resolved...
The library is OK, but only a statically linked version of it is provided. I updated the manpage so that it includes a note about it.