unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Josselin Poiret <dev@jpoiret.xyz>
To: "Théo Maxime Tyburn" <theo.tyburn@gmail.com>, guix-devel@gnu.org
Cc: dev@jpoiret.xyz
Subject: Re: julia: packaging GLFW.jl: No GLXFBConfigs returned
Date: Sat, 13 Nov 2021 10:52:40 +0000	[thread overview]
Message-ID: <87o86o9vk7.fsf@jpoiret.xyz> (raw)
In-Reply-To: <87r1bmkzn7.fsf@gmail.com>

Hello Théo,

Théo Maxime Tyburn <theo.tyburn@gmail.com> writes:

> Hello Guixs,
>
> I am trying to package GLFW.jl.
> If I skip the tests the package gets compiled.
> However running:
>
> julia> using GLFW
> julia> GLFW.CreateWindow(30,30,"hey")
>
> outputs:
>>GLFWError (API_UNAVAILABLE): GLX: No GLXFBConfigs returned
>
> Running GLFW from a C program just works fine though.

It would be better if you sent a snippet of your package definition so
we could all test out the problem.

> By running strace I found out that at lot of .so.0 files are not
> found. They are expected to be found in
> /gnu/store/hzvvsg9yw1ik57p5xs2mq88cpwnfpbys-libglvnd-1.3.4/lib/libGLX_mesa.so.0
> for example.
>
> Is there a way to make these libraries accessible ? What would be the
> right guixy way to do this ?

Are you using the guix-packaged julia-glfw-jll?  If so, it should be
built using a patched julia-jllwrappers that overrides the library
search path with the right one, and so the error shouldn't come from
there.  I can't say much more without the package definition though.

Best,
Josselin Poiret


      reply	other threads:[~2021-11-13 13:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-11 23:34 julia: packaging GLFW.jl: No GLXFBConfigs returned Théo Maxime Tyburn
2021-11-13 10:52 ` Josselin Poiret [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o86o9vk7.fsf@jpoiret.xyz \
    --to=dev@jpoiret.xyz \
    --cc=guix-devel@gnu.org \
    --cc=theo.tyburn@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).