Artix Linux Forum

Artix Linux => System => Topic started by: CustomerServiceRobot on 28 March 2018, 12:28:26

Title: bind named service fails to start
Post by: CustomerServiceRobot on 28 March 2018, 12:28:26
Code: [Select]
named: error while loading shared libaries: libjson-c.so.3: cannot open shared object file: No such file or directory.

libjson-c.so.4 is present, however, which tells me that bind is outdated. There does not appear to be a discrepancy between the artix and arch versions, so it could also be an arch problem as well.
Title: Re: bind named service fails to start
Post by: gavin17 on 28 March 2018, 16:38:15
Code: [Select]
named: error while loading shared libaries: libjson-c.so.3: cannot open shared object file: No such file or directory.

libjson-c.so.4 is present, however, which tells me that bind is outdated. There does not appear to be a discrepancy between the artix and arch versions, so it could also be an arch problem as well.
https://forum.artixlinux.org/index.php/topic,487.msg3829/topicseen.html#msg3829  if that or updating doesn't work, symlink libjson-c.so.4 as libjson-c.so.3
Title: Re: bind named service fails to start
Post by: Chris Cromer on 28 March 2018, 19:39:42
Code: [Select]
named: error while loading shared libaries: libjson-c.so.3: cannot open shared object file: No such file or directory.

libjson-c.so.4 is present, however, which tells me that bind is outdated. There does not appear to be a discrepancy between the artix and arch versions, so it could also be an arch problem as well.
Fixed in 9.12.1-1.1.

https://forum.artixlinux.org/index.php/topic,487.msg3829/topicseen.html#msg3829  if that or updating doesn't work, symlink libjson-c.so.4 as libjson-c.so.3
In general it is a bad idea to make symlinks to libs like that. Only do so if a developer instructs you to do so specifically. File conflicts and library conflicts can happen when that is done.