json-c/json-c — Issue #5: json-c's libjson.so library conflicts with other json libraries
Author: hawicz
Created: 2011-10-13 16:36:56+00:00
State: open

The use of "libjson.so" (and symlinks libjson.so.0, etc...) for the json-c library can lead to conflicts because other people have used the same, rather generic name for their libraries.
The solution for this is fairly obvious, rename it to something like libjson-c.so.
In addition to renaming the library we probably want to rename the include directory:
include/json/json.h ==> include/json-c/json.h

Of course, there still might be conflicts if you try to use two json libraries in the same program, but that's a considerably more difficult fix.