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

Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to