help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libvdpau: cannot open shared object


From: Ricardo Wurmus
Subject: Re: libvdpau: cannot open shared object
Date: Sat, 16 Dec 2017 20:00:04 +0100
User-agent: mu4e 0.9.18; emacs 25.3.1

Hi Marco,

> Ludovic—
>
> Je 15 dec 15:31 skribis Ludovic:
>> Efraim Flashner <address@hidden> 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:
>
>     address@hidden ~$ guix build libvdpau-va-gl
>     guix build: error: libvdpau-va-gl: unknown package
>     address@hidden ~$ 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

[Prev in Thread] Current Thread [Next in Thread]