Opened 21 months ago
Closed 21 months ago
#69909 closed defect (fixed)
bear fails to run with Symbol not found error
| Reported by: | derekschrock (Derek Schrock) | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | judaew (Vadym-Valdis Yudaiev) | |
| Port: | grpc abseil |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
What appears to maybe be a grpc++ or abseil issue after updating port to the latest try and using a binary install bear no longer runs with the following error:
$ bear dyld[42187]: Symbol not found: __ZN4absl12lts_2024011613InternalErrorENS0_11string_viewE Referenced from: <13EC8A9B-493A-30E3-92DA-1166F3FA3019> /opt/local/lib/libgrpc++.1.48.4.dylib Expected in: <EAA4BA92-2C31-3821-A7E4-7746B408D337> /opt/local/lib/libabsl_status.2401.0.0.dylib Abort trap: 6
Could this be related to recent abeil change found here comment:ticket:69578:6?
Change History (8)
comment:1 Changed 21 months ago by derekschrock (Derek Schrock)
comment:2 Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)
| Cc: | judaew added |
|---|---|
| Description: | modified (diff) |
| Port: | grpc abseil added |
comment:3 Changed 21 months ago by jowens (John Owens)
Perhaps this is related too? #69932
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pyarrow/lib.cpython-312-darwin.so, 0x0002): Symbol not found: __ZN4absl12lts_2024011610FormatTimeENS0_11string_viewENS0_4TimeENS0_8TimeZoneE Referenced from: <CD063FAB-C5F0-3295-AA51-ECE6EE9CDBA1> /opt/local/lib/libarrow.1300.0.0.dylib Expected in: <42921224-0959-3E0D-BA2B-099ADB608AA7> /opt/local/lib/libabsl_time.2401.0.0.dylib
comment:4 Changed 21 months ago by FlyingSamson
I think these and other dependants of abseil require a rev-bump. I also observed linking errors when building ports that depend on re2 (another dependant of abseil) when abseil was updated but re2 was already installed and not updated due to no rev-bump.
comment:5 Changed 21 months ago by FlyingSamson
I can provide a PR updating the same ports as this previous one, which had the same goal of updating dependants of abseil.
comment:6 Changed 21 months ago by FlyingSamson
comment:8 Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.

Also, I can't rebuild grpc due to linking errors.