Created attachment 649682 [details] output of emerge --info I installed dev-libs/rapidjson-1.1.0-r1 and file /usr/lib/pkgconfig/RapidJSON.pc got installed as part of the package. However the build system for my own project is still unable to detect RapidJSON on my system. The reason is that pkg-config --list-all doesn't find it either. As they suggested on IRC, I created a symlink to that file in my /usr/lib64/pkgconfig directory and that fixes the problem. Is this something that should be addressed in the ebuild or upstream? If it's the ebuild I can have a look and see if I can come up with a patch, or I can report this upstream if needed.
How do you want to use the library in your project? Do you have an MWE?
I don't have anything pushed right now since my project is still work in progress. I'm using Meson as the build system, and the command that fails is: rapidjson_dep = dependency('RapidJSON') which, as I understand, relies on pkg-config and cmake, if the first fails. I can write a short Meson script that reproduces the issue, but I think in general this command should work: pkg-config --list-all | ag RapidJSON I hope this answers your question.
This issue was fixed in bug 696978 Please use dev-libs/rapidjson-1.1.0-r2. I've requested stabilization of that version in bug 734100 *** This bug has been marked as a duplicate of bug 696978 ***