I actually had the same problem, but a different symptom. Trying to run
some programs (like chromium, for example) yielded the following error:

Inconsistency detected by ld.so: dl-open.c: 684: _dl_open: Assertion
`_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!

Doing an strace suggested the problem might lie in libjson, and that it
would not find it. Here is a snippet of strace's output:

stat("/usr/lib/x86_64-linux-gnu/pulseaudio", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
open("/usr/lib/chromium/libjson.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
directory)
open("/lib64/tls/x86_64/libjson.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
stat("/lib64/tls/x86_64", 0x7fff3d26f830) = -1 ENOENT (No such file or
directory)
open("/lib64/tls/libjson.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)
stat("/lib64/tls", 0x7fff3d26f830)      = -1 ENOENT (No such file or
directory)
open("/lib64/x86_64/libjson.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)
stat("/lib64/x86_64", 0x7fff3d26f830)   = -1 ENOENT (No such file or
directory)
open("/lib64/libjson.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file
or directory)
stat("/lib64", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib64/tls/x86_64/libjson.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT
(No such file or directory)
stat("/usr/lib64/tls/x86_64", 0x7fff3d26f830) = -1 ENOENT (No such file or
directory)
open("/usr/lib64/tls/libjson.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
stat("/usr/lib64/tls", 0x7fff3d26f830)  = -1 ENOENT (No such file or
directory)
open("/usr/lib64/x86_64/libjson.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
stat("/usr/lib64/x86_64", 0x7fff3d26f830) = -1 ENOENT (No such file or
directory)
open("/usr/lib64/libjson.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)
stat("/usr/lib64", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/lib/tls/x86_64/libjson.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
stat("/lib/tls/x86_64", 0x7fff3d26f830) = -1 ENOENT (No such file or
directory)
open("/lib/tls/libjson.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file
or directory)
stat("/lib/tls", 0x7fff3d26f830)        = -1 ENOENT (No such file or
directory)
open("/lib/x86_64/libjson.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)
stat("/lib/x86_64", 0x7fff3d26f830)     = -1 ENOENT (No such file or
directory)
open("/lib/libjson.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
stat("/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/tls/x86_64/libjson.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT
(No such file or directory)
stat("/usr/lib/tls/x86_64", 0x7fff3d26f830) = -1 ENOENT (No such file or
directory)
open("/usr/lib/tls/libjson.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)
stat("/usr/lib/tls", 0x7fff3d26f830)    = -1 ENOENT (No such file or
directory)
open("/usr/lib/x86_64/libjson.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
stat("/usr/lib/x86_64", 0x7fff3d26f830) = -1 ENOENT (No such file or
directory)
open("/usr/lib/libjson.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file
or directory)
stat("/usr/lib", {st_mode=S_IFDIR|0755, st_size=69632, ...}) = 0
munmap(0x7fd8c563e000, 144992)          = 0
writev(2, [{"Inconsistency detected by ld.so:"..., 33}, {"dl-open.c", 9},
{": ", 2}, {"684", 3}, {": ", 2}, {"_dl_open", 8}, {": ", 2}, {"Assertion
`", 11}, {"_dl_debug_initialize (0, args.ns"..., 61}, {"' failed!\n", 10}],
10Inconsistency detected by ld.so: dl-open.c: 684: _dl_open: Assertion
`_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!
) = 141
exit_group(127)                         = ?

I did a dirty fix by making a symlink to the library I found on
/lib/x86_64-linux-gnu/libjson.so.0
 to /usr/lib, but I'm pretty sure that's not the way to go on the long run.

Reply via email to