func-e icon indicating copy to clipboard operation
func-e copied to clipboard

Symbol not found using OSX Monterey 12.6.9

Open robahtou opened this issue 2 years ago • 5 comments

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):

  • OS: Mac OSX Monterey 12.6.9
  • Envoy Version: 1.28.0
  • func-e Vrersion: 1.1.4

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'

robahtou avatar Oct 24 '23 15:10 robahtou

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.

dio avatar Oct 25 '23 01:10 dio

brew install envoy and running the envoy command directly works

robahtou avatar Oct 25 '23 10:10 robahtou

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'

adamSplendex avatar Apr 24 '24 09:04 adamSplendex

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--

codefromthecrypt avatar Apr 29 '24 00:04 codefromthecrypt

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'

chenrui333 avatar Aug 18 '24 15:08 chenrui333