Segfault when linking library in glava (OBS plugin ?

This page summarizes the projects mentioned and recommended in the original post on /r/linuxquestions

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • glava

    GLava - OpenGL audio spectrum visualizer

  • I've been trying to gather glava working. It seems like it's not being maintained any more, as there are a few compiling problems, but there are merge requests there that fix those. glava seems to run fine on my desktop, but won't run as an obs plugin. It segfaults when trying to load the‏‏‎‏‏‎‏‏‎‏‏‎­OpenGL libraries. Here's the relevant code from glx_wcb.c: typedef XID GLXFBConfigID; GLXFBConfig* (glXChooseFBConfig) (Display dpy, int screen, const int* attribList, int* nitems); static void* resolve_f(const char* symbol, void* gl) { void* s = NULL; if (gl) s = dlsym(gl, symbol); if (!s) { fprintf(stderr, "Failed to resolve GLX symbol: %s\n", symbol); glava_abort(); } return s; } And then this is in the init function: #define resolve(name) do { name = (typeof(name)) resolve_f(#name, hgl); } while (0) resolve(glXChooseFBConfig); I've only shown the first function that it tries to load, glXChooseFBConfig, since it fails on all of them. The call to dlsym() doesn't fail though (s gets returned), and I find that confusing. All this works just fine when running glava out of a console. I feel like I don't know enough about dynamic library linking to figure out what's going wrong. Any ideas?

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How do I keep glava running after the terminal closes?

    1 project | /r/linux4noobs | 17 Jun 2022
  • Considering Linux and selecting my first distro.

    1 project | /r/linuxmasterrace | 13 Apr 2022
  • :D

    3 projects | /r/bspwm | 3 Feb 2022
  • Audio Visualizers?

    1 project | /r/linux4noobs | 16 Jan 2022
  • Is there any way to put like a terminal widget on my desktop

    2 projects | /r/xfce | 4 Dec 2021