[Bug 263265] The port audio/dexed fails to build: error: undefined symbol: environ - when a shared library using environ is linked with -Wl,--no-undefined

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 17 Sep 2025 11:01:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263265

Gleb Popov <arrowd@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arrowd@FreeBSD.org

--- Comment #15 from Gleb Popov <arrowd@FreeBSD.org> ---
With issue can be fixed by replacing environ usage with

*dlsym(RTLD_DEFAULT, "environ")

I already did this to multiple ports.

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