[MacPorts] #64822: wireguard-go @0.0.20220117: Undefined symbols _clock_gettime _getentropy

MacPorts noreply at macports.org
Thu Apr 14 17:22:07 UTC 2022


#64822: wireguard-go @0.0.20220117: Undefined symbols _clock_gettime _getentropy
---------------------------+----------------------
  Reporter:  juhnhooo      |      Owner:  cardi
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:  yosemite
      Port:  wireguard-go  |
---------------------------+----------------------

Comment (by snowflake):

 I've taken the advice in "port notes go" and put the environment text into
 my profile.

 All I get when I run the profile is "bad substitution"

 Here's the text of the port note:

 {{{
 It likely won't work out of the box when building other projects, so make
 sure
   change your environment to use the following variables:
     * GO_EXTLINK_ENABLED="1"
   to always force go to use the external gcc or clang linker and
     * GO_LDFLAGS="\"-extldflags=${configure.ldflags}\""
     * CGO_LDFLAGS="-g -O2 ${configure.ldflags}"
   to force-link any binary against the legacy support library. Use exactly
 the
   quoting provided here, even if it may look odd, or compilation will
 fail.
 }}}

 configure.ldflags is not set anywhere in the Portfile.  What exactly
 should I put in my profile?

-- 
Ticket URL: <https://trac.macports.org/ticket/64822#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list