tetratelabs / func-e

func-e (pronounced funky) makes running Envoy® easy
https://func-e.io
Apache License 2.0
355 stars 42 forks source link

Symbol not found using OSX Monterey 12.6.9 #448

Open robahtou opened 1 year ago

robahtou commented 1 year ago

Describe the bug Unable to run envoy on OSX Monterey

To Reproduce On MAC OSX Monterey, run the following: func-e run

Expected behavior Envoy to start

Environment (please complete the relevant information):

Additional context This has been reported in the past and stated that mac-11 is no longer supported. I'm running on mac-12

Here is the output:

> func-e run
1.28.0 is already downloaded
starting: /Users/cheese/.func-e/versions/1.28.0/bin/envoy --admin-address-path /Users/cheese/.func-e/runs/1698160720031589000/admin-address.txt
dyld[30500]: Symbol not found: (__ZNSt3__18to_charsEPcS0_d)
  Referenced from: '/Users/cheese/.func-e/versions/1.28.0/bin/envoy'
  Expected in: '/usr/lib/libc++.1.dylib'
dio commented 1 year ago

Could you try to install envoy using brew?

brew install envoy

Probably we need to check our scraper to get envoy for the lowest os.

robahtou commented 1 year ago

brew install envoy and running the envoy command directly works

adamSplendex commented 6 months ago

i did try it out but did not work - still receiving the same error. Also m1max & monterey

func-e run --config-yaml "admin: {address: {socket_address: {address: '127.0.0.1', port_value: 9901}}}"
looking up the latest patch for Envoy version 1.29
1.29.3 is already downloaded
starting: /Users/user/.func-e/versions/1.29.3/bin/envoy --config-yaml admin: {address: {socket_address: {address: '127.0.0.1', port_value: 9901}}} --admin-address-path /Users/erekhron/.func-e/runs/1713950572982785000/admin-address.txt
dyld[15209]: Symbol not found: (__ZNSt3__18to_charsEPcS0_d)
  Referenced from: '/Users/user/.func-e/versions/1.29.3/bin/envoy'
  Expected in: '/usr/lib/libc++.1.dylib'
codefromthecrypt commented 6 months ago

We don't have builds for different versions of os/x, and it is possible that the one we are using no longer supports monterey. Can you verify that's the version of OS/x you are using? I tried on sonoma and had no issues:

$ uname -a
Darwin MacBook-Pro.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:49 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6020 arm64

$ sw_vers -productVersion
14.4.1

$ func-e run --config-yaml "admin: {address: {socket_address: {address: '127.0.0.1', port_value: 9901}}}"
looking up the latest patch for Envoy version 1.29
1.29.3 is already downloaded
starting: /Users/adrian/.func-e/versions/1.29.3/bin/envoy --config-yaml admin: {address: {socket_address: {address: '127.0.0.1', port_value: 9901}}} --admin-address-path /Users/adrian/.func-e/runs/1714349420928367000/admin-address.txt
--snip--
chenrui333 commented 2 months ago

yeah, I can confirm I am seeing the same in the regression build, any idea where does 1.29.3 comes from? (latest envoy is 1.31.0)

https://github.com/Homebrew/homebrew-core/actions/runs/10441704006/job/28913177524

  ==> /opt/homebrew/Cellar/func-e/1.1.4/bin/func-e run --version
  dyld[7763]: Symbol not found: (__ZNSt3__18to_charsEPcS0_d)
    Referenced from: '/private/tmp/func-e-test-20240818-7747-6z0sev/.func-e/versions/1.29.3/bin/envoy'
    Expected in: '/usr/lib/libc++.1.dylib'