Gentoo Archives: gentoo-user

From: Mervyn Hammer <mrhammer@×××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] netcat and curiosity
Date: Mon, 23 Jan 2012 15:58:53
1 Would anyone be able to help me understand the following curiosity?
3 I installed =net-analyzer/netcat-110-r8 (USE="crypt ipv6 -static")
4 without apparent problem but running it produced:
6 "nc: error while loading shared libraries: cannot open
7 shared object file: No such file or directory."
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/ -> /usr/lib/
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.
24 Have I missed something?
26 Some unscientific and not-at-all-thorough tests seem to show that netcat
27 is happy with the symlink.
29 Your thoughts/guidance would be much appreciated.
31 --
32 Merv Hammer


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