Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire] ooo-build problem...

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Hamish Greig <hgreig AT bigpond.net.au>
  • To: sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire] ooo-build problem...
  • Date: Fri, 12 Mar 2004 13:53:07 +1100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 10 Mar 2004 01:08, Robin Cook wrote:
> If I comment out this line "export LD_ASSUME_KERNEL="2.2.5";" then
> failure to fine libc.so.6 and libcrypt.so.1 doesn't occure.  What would
> cause the setting of that LD_ASSUME_KERNEL cause the system to loose the
> ability to find libraries?
>
> I have submitted a bug to ximian but the Novell developer answering it
> is basically saying that my system is screwed up....
>
> Thanks
> CuZnDragon
> Robin Cook

Robin I found this in the NVIDIA readme, I think it is relevant here.
Ignore the reference to valgrind I think the basic problem is this.

Q: I want to use Valgrind with OpenGL applications, but my
distribution uses ELF TLS, and Valgrind cannot yet deal with NVIDIA's
ELF TLS OpenGL.

A: You can set the environment variable LD_ASSUME_KERNEL to something
below "2.3.99" (for example: `export LD_ASSUME_KERNEL 2.3.98`).

NVIDIA's OpenGL libraries contain an OS ABI ELF note that indicates
the minimum kernel version that is required to use the library.
The ELF TLS OpenGL libraries have an OS ABI of 2.3.99 (the first
Linux kernel that contained the necessary LDT support for ELF TLS),
while the non ELF TLS OpenGL libraries contain an OS ABI of 2.2.5.

The run-time loader will not load libraries with an OS ABI greater
than the current kernel version. The LD_ASSUME_KERNEL environment
variable can be used to override the kernel version that the run-time
loader uses in this test.

By setting LD_ASSUME_KERNEL to any kernel version below 2.3.99,
you can force the loader to not use the ELF TLS OpenGL libraries,
and fall back to the regular OpenGL libraries.

If, for some reason, you need to remove this OS ABI note from the
NVIDIA OpenGL libraries, you can do so by passing the .run file the
"--no-abi-note" option during installation.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAUSYZ8fSufZR6424RAqGBAJ9H2YkYO8l6zlVvi+faxZwh8tTM7gCfZvrZ
Iw0omaLlNrNxS97VNP5mcQw=
=S2jL
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.24.

Top of Page