Hi Marco,

> Ludovic—
>
> Je 15 dec 15:31 skribis Ludovic:
>> Efraim Flashner <[email protected]> skribis:
>>
>> > $ VDPAU_DRIVER=va_gl LD_LIBRARY_PATH=$(guix build libvdpau-va-gl)/lib 
>> > vdpauinfo
>> > display: :0.0   screen: 0
>> > Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object 
>> > file: No such file or directory
>> > Error creating VDPAU device: 1
>>
>> Well the exact line is this:
>>
>>   VDPAU_DRIVER=va_gl \
>>   LD_LIBRARY_PATH=$(./pre-inst-env guix build libvdpau-va-gl)/lib/vdpau \
>>   $(guix build vdpauinfo)/bin/vdpauinfo
>>
>> Works for me!  It displays lots of things.  :-)
>> [...]
>
> It does not work for me, still cannot find 'libvdpau_va_gl.so'.
> I am trying to understand the commands that you use to define
> LD_LIBRARY_PATH:
>
>     kodi@watson ~$ guix build libvdpau-va-gl
>     guix build: error: libvdpau-va-gl: unknown package
>     kodi@watson ~$ guix build vdpauinfo
>     /gnu/store/46x8ba3q11zgq8qygqpgkv41ws9km9b1-vdpauinfo-1.0p
>
> Where can I find 'pre-inst-env'?  Does this make guix aware of the
> libvdpau-va-gl package?

“pre-inst-env” is a wrapper script that will be created when building
Guix from a git checkout.  It ensures that the (possibly modified)
source directory is used for all operations.

If you don’t have a source checkout then you won’t have that script as
you don’t have a need for it.

This discussion is about a change that is not yet part of Guix.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net



Reply via email to