Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Feb 2023 12:53:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 269370] environ(7) isn't found: /lib/libc.so.7: Undefined symbol "environ"
Message-ID:  <bug-269370-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269370

            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 t=
he
ghdl project (VHDL simulator).

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

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

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269370-227>