[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    kdeinit vs. link order
From:       Thomas_Lübking <thomas.luebking () gmail ! com>
Date:       2013-07-08 9:47:03
Message-ID: e0b22709-5973-41bf-95a7-e7a728b2e0aa () gmail ! com
[Download RAW message or body]

Escalating to the High Council.
-------


KWin needs[1] to set some environment variables before libGL is instantiated.
This used to be done by an extra shared object at the end of the link order.

While i'm not sure whether the current process in CMakeLists is actually correct, not \
even LD_PRELOADing the lib works - the setenv calls have no effect, while setting the \
environment in the shell clearly works.

> A gut feeling and brief google consultation make me "blame" the fact that kwin is \
> "now" a kdeinit executable (for a while...)

So the question is:
-------------------
Is there any (preferred) way to either make kdeinit instatiate the special shared \
object before libGL or eventually just calling setenv directly before doing so?

Or would the only solution be to actually set the environment from a shell, ie. have \
a kwin binary or even shell script that sets the environment and then spawns a \
kwin.bin subprocess?

Thanks for reading and cheers,
Thomas

[1] https://bugs.kde.org/show_bug.cgi?id=322060


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic