[Bug 261760] dlopen asserts instead of returning an error when libGL-NVIDIA.so.1 is present in dependencies

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Feb 2022 20:24:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261760

--- Comment #20 from Yuri Victorovich <yuri@freebsd.org> ---
(In reply to Alex S from comment #19)

When I do handle=dlopen(nullptr) and dlsym(handle, "pthread_create") returns
null.
But after 'patchelf --add-needed libthr.so a.out' dlsym returns the symbol.

It's not clear why doing the same with libGL-NVIDIA.so.1 doesn't make the
symbol available.

-------------

But libGL-NVIDIA.so.1 works in most cases, not clear what triggers this.

-- 
You are receiving this mail because:
You are the assignee for the bug.