Gentoo Archives: gentoo-user

From: "Bo Ørsted Andresen" <bo.andresen@××××.dk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Emerge Tomcat Problem
Date: Thu, 26 Oct 2006 22:29:05
Message-Id: 200610270021.03719.bo.andresen@zlin.dk
In Reply to: Re: [gentoo-user] Emerge Tomcat Problem by Rafael Barrera Oro
1 On Thursday 26 October 2006 17:12, Rafael Barrera Oro wrote:
2 > >>and i checked and yes, nss is installed in /usr/lib64/nss, should i make
3 > >>a symlink (/usr/lib/nss -> /usr/lib64/nss) ?
4 > >[SNIP]
5 > >
6 > > That will solve the immediate issue, yes. The bigger issue, however, is
7 > > that on that profile /usr/lib should have been a symlink to /usr/lib64.
8 > >
9 > >$ ls -ld /usr/lib
10 > >lrwxrwxrwx 1 root root 5 2006-02-22 23:12 /usr/lib -> lib64
11 >
12 > even with symlink manually created it wont work! this is a tough one!
13 >
14 > gentoo64 lib # ls -al
15 > lrwxrwxrwx 1 root root 14 Oct 26 14:10 nss -> /usr/lib64/nss
16
17 It still gives the same error?
18
19 > Any other idea?
20
21 Well, you could replace /usr/lib/nss with /usr/lib64/nss in the ebuild. The
22 symlink should work though.
23
24 $ grep "use amd64" -A 1 `portageq portdir`/dev-java/jss/jss-3.4-r1.ebuild
25 elif use amd64; then
26 sed -e 's:-L$(DIST)/lib:-L/usr/lib/nspr -L/usr/lib/nss -L$(JAVA_HOME)/jre/lib/amd64 -L$(JAVA_HOME)/jre/lib/amd64/server -L$(DIST)/lib:' \
27
28 > how about replacing lib with a symlink to lib64 ?
29
30 You mean replace /usr/lib with a symlink like it's supposed to be? I certainly
31 would do that if it was my system but I guess you'd need to move the contents
32 of /usr/lib to lib64 first. I certainly would take a good look at what /usr/lib
33 and /usr/lib64 contains first. Would like to make sure I didn't overwrite
34 something unintentionally...
35
36 --
37 Bo Andresen