[Bug 269370] environ(7) isn't found: /lib/libc.so.7: Undefined symbol "environ"

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Feb 2023 00:35:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269370

Xin LI <delphij@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|bugs@FreeBSD.org            |yuri@freebsd.org
                 CC|                            |delphij@FreeBSD.org,
                   |                            |kib@FreeBSD.org

--- Comment #2 from Xin LI <delphij@FreeBSD.org> ---
How was the binary built?

It appears like you might be using a non-standard linking option like
-nostdlib, which prevented the standard C runtime (crt1.o, built from lib/csu)
from getting linked.  (there are some other options that can inhibit the use of
standard C runtime startup routines, but you would want to look at how the
binary was linked)

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