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

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 06 Feb 2023 12:53:01 UTC

            Bug ID: 269370
           Summary: environ(7) isn't found: /lib/libc.so.7: Undefined
                    symbol "environ"
           Product: Base System
           Version: 13.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

This executable https://people.freebsd.org/~yuri/hello_world was built by the
ghdl project (VHDL simulator).

Based on its manpage environ(7) it doesn't require any shared libraries. This
symbol should be just available.

But it looks for 'environ' in /lib/libc.so.7 and fails:

> $ ./hello_world 
> ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"

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