David Thompson <dthomps...@worcester.edu> writes:

> Ludovic Courtès <l...@gnu.org> writes:
>
>> David Thompson <dthomps...@worcester.edu> skribis:
>>
>>> I use the following crude command to test, run from a git checkout of 
>>> Sly[0].
>>>
>>>     guix environment -l package.scm -E "guile -c \"(use-modules ((sdl sdl) 
>>> #:prefix sdl:)) (sdl:init 'video) (pk 'window (sdl:set-video-mode 320 240 
>>> 24 'opengl))\""
>>
>> Do you run it on GuixSD or on an FHS distro?  In the latter case, it
>> might end up loading a shared object from the host distro, which could
>> fail for a variety of reasons.
>
> This is on Debian.  I haven't had the opportunity to try on GuixSD
> yet.
Sorry for the late reply.

I got it work with Sly on GuixSD by set LD_LIBRARY_PATH to
/gnu/store/xxx-mesa/lib. So IMO this should fix the regression.

To avoid loading a GL driver from the host distro, we can
link sdl with mesa explicitly.


Updated patches sent to ML.



>
> -- 
> David Thompson
> Web Developer - Free Software Foundation - http://fsf.org
> GPG Key: 0FF1D807
> Support the FSF: https://fsf.org/donate

Reply via email to