Gentoo Archives: gentoo-dev

From: hasufell <hasufell@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-gfx/nvidia-cg-toolkit/files: 80cgc-opt-2
Date: Sun, 18 Nov 2012 14:12:42
Message-Id: 50A8ECAD.8080105@gentoo.org
In Reply to: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-gfx/nvidia-cg-toolkit/files: 80cgc-opt-2 by Peter Alfredsen
1 On 11/18/2012 03:08 PM, Peter Alfredsen wrote:
2 > On Fri, Nov 16, 2012 at 10:43 AM, justin <jlec@g.o> wrote:
3 >> On 16/11/12 09:48, Samuli Suominen wrote:
4 >
5 >>> does this mean it puts the binary-only package, nvidia-cg-toolkit, to
6 >>> the default search path when you call the linker (compiler)?
7 >>>
8 >>> please don't do that, it is counterproductive with the purpose of
9 >>> putting libraries to /opt. binary only packages should be isolated.
10 >>>
11 >>> it was already once reverted for the package...
12 >>>
13 >>> it is up the the ebuilds using nvidia-cg-toolkit to append-ldflags
14 >>> -L/opt/... or similar.
15 >>>
16 >>> thanks
17 >>>
18 >>
19 >> +*nvidia-cg-toolkit-3.1.0013-r1 (16 Nov 2012)
20 >> +
21 >> + 16 Nov 2012; Justin Lecher <jlec@g.o> +files/80cgc-opt-3,
22 >> + +nvidia-cg-toolkit-3.1.0013-r1.ebuild, +files/nvidia-cg-toolkit.pc.in,
23 >> + +files/nvidia-cg-toolkit-gl.pc.in:
24 >> + Don't add binary packages to global linker search path; instead using
25 >> + pkg-config. Thanks ssuominen pointing this out
26 >> +
27 >
28 > This is a shared library, used by the plugin google-talkplugin. If there is no
29 > LDPATH set, browsers using that plugin will crash mysteriously and
30 > unpredictably. You can't use chrpath to change the rpath because
31 > lengthof(/opt/nvidia-cg-toolkit/lib64)>lengthof(/opt/google/talkplugin/lib)
32 > and we don't have the sources, so we can't really recompile. And it's
33 > being dl-opened so LD_LIBRARY_PATH is a no-go, unless we want to add
34 > magic to all browser that sets it to the correct path before starting them.
35 >
36 > So please re-add the LDPATH to the env.d file. Pretty please.
37 > Just cause it's binary doesn't mean it has to be cordoned off
38 > and isolated like it's got the spanish flu.
39 >
40 > /Peter
41 >
42 > PS
43 > pkgconfig is irrelevant if it's only gentoo that's shipping them.
44 > HTH. HAND.
45 >
46
47 this is also breaking dev-games/ogre
48
49 linking works fine (since we got proper pkgconfig fils), runtime is broken.

Replies