Gentoo Archives: gentoo-user

From: Mervyn Hammer <mrhammer@×××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] netcat and libmix.so.0 curiosity
Date: Mon, 23 Jan 2012 15:58:53
Message-Id: 20120123132552.GA27323@devbox1.at.home
1 Would anyone be able to help me understand the following curiosity?
2
3 I installed =net-analyzer/netcat-110-r8 (USE="crypt ipv6 -static")
4 without apparent problem but running it produced:
5
6 "nc: error while loading shared libraries: libmix.so.0: cannot open
7 shared object file: No such file or directory."
8
9 A quick check of emerge.log showed dev-libs/libmix-2.05-r5 installed
10 without error, so I ran a deep world update followed by a --depclean
11 and revdep-debuild: revdep-rebuild identified a broken dependency
12 for netcat and reinstalled it automatically (same version), stating
13 that the breakage had been rectified. Re-running revdep-rebuild,
14 however, revealed that the problem still existed. I unmerged both
15 libmix and netcat and re-emerged them (libmix first). Neither
16 complained and logs show nothing of note. After unmerging and
17 re-emerging both libmix and netcat (libmix first) revdep-rebuild no
18 longer found a broken dependency for netcat. Still, however, netcat
19 gave the same error (above). I temporarily "fixed" the problem by
20 creating a symlink (/usr/lib/libmix.so.0 -> /usr/lib/libmix.so)
21 to give netcat what it says it is looking for but this feels like a hack
22 for some that I would presume should work cleanly by design.
23
24 Have I missed something?
25
26 Some unscientific and not-at-all-thorough tests seem to show that netcat
27 is happy with the symlink.
28
29 Your thoughts/guidance would be much appreciated.
30
31 --
32 Merv Hammer

Replies

Subject Author
[gentoo-user] Re: netcat and libmix.so.0 curiosity walt <w41ter@×××××.com>