From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: libvdpau: cannot open shared object Date: Sat, 16 Dec 2017 20:00:04 +0100 Message-ID: <87d13eo5vv.fsf@elephly.net> References: <20171210151453.3a1ad3fe@jasniac.instanton> <20171210200852.GG23558@macbook41> <87mv2nopz8.fsf@gnu.org> <20171212195826.GC1873@macbook41> <876099u187.fsf@gnu.org> <20171215063855.GA1457@macbook41> <876098jlu1.fsf@gnu.org> <20171215121806.GB1457@macbook41> <877etohxku.fsf@gnu.org> <20171216090853.599b7169@jasniac.instanton> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQHh8-0000ez-MT for help-guix@gnu.org; Sat, 16 Dec 2017 14:00:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQHh7-00055E-GH for help-guix@gnu.org; Sat, 16 Dec 2017 14:00:22 -0500 In-reply-to: <20171216090853.599b7169@jasniac.instanton> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Marco van Hulten Cc: help-guix@gnu.org Hi Marco, > Ludovic=E2=80=94 > > Je 15 dec 15:31 skribis Ludovic: >> Efraim Flashner skribis: >> >> > $ VDPAU_DRIVER=3Dva_gl LD_LIBRARY_PATH=3D$(guix build libvdpau-va-gl)/= lib vdpauinfo >> > display: :0.0 screen: 0 >> > Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared obj= ect file: No such file or directory >> > Error creating VDPAU device: 1 >> >> Well the exact line is this: >> >> VDPAU_DRIVER=3Dva_gl \ >> LD_LIBRARY_PATH=3D$(./pre-inst-env guix build libvdpau-va-gl)/lib/vdpa= u \ >> $(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? =E2=80=9Cpre-inst-env=E2=80=9D is a wrapper script that will be created whe= n building Guix from a git checkout. It ensures that the (possibly modified) source directory is used for all operations. If you don=E2=80=99t have a source checkout then you won=E2=80=99t have tha= t script as you don=E2=80=99t 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