Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v 1.1.145 breaks postgis on M1 Mac #2632

Closed
dbinetti opened this issue Aug 20, 2023 · 9 comments
Closed

v 1.1.145 breaks postgis on M1 Mac #2632

dbinetti opened this issue Aug 20, 2023 · 9 comments
Assignees
Labels
bug This issue is a bug. p1 This is a high priority issue pending-release This issue will be fixed by an approved PR that hasn't been released yet.

Comments

@dbinetti
Copy link

Describe the bug

I'm way out of my league here, but basically I use Homebrew as my package manager on my M1 Mac. I use postgis which depends on aws-sdk-cpp. In the most recent Homebrew update, this bumped the version from 1.1.140 -> 1.1.145, which broke my installation with a cryptic error. I eventually tracked things down to this package which, after downgrading to 1.1.140, restored my environment.

I can not possibly help to debug the error itself; again, I'm out of my depth. However, I am very happy to answer any questions that might potentially help diagnose the problem.

Expected Behavior

postgis to work

Current Behavior

postgis breaks

Reproduction Steps

update to 1.1.145 as dependency for postgis

Possible Solution

No response

Additional Information/Context

Current packages:

"""
√ ~ % brew list --versions
abseil 20230125.3
aom 3.6.1
apache-arrow 12.0.1_4 12.0.1_3
aws-sdk-cpp 1.11.140
boost 1.82.0_1
brotli 1.0.9
bzip2 1.0.8
c-ares 1.19.1
ca-certificates 2023-05-30
cairo 1.16.0_5
cfitsio 4.3.0
cgal 5.6
double-conversion 3.3.0
edencommon 2023.08.14.00
eigen 3.4.0_1
epsilon 0.9.2
expat 2.5.0
fb303 2023.08.14.00
fbthrift 2023.08.14.00
fizz 2023.08.14.00
fmt 10.1.0
folly 2023.08.14.00
fontconfig 2.14.2
freetype 2.13.1
freexl 2.0.0
gcc 13.1.0
gdal 3.7.1_1
geoip 1.6.12
geos 3.12.0
gettext 0.21.1
gflags 2.2.2
giflib 5.2.1
git 2.41.0_2
glib 2.76.4
glog 0.6.0
gmp 6.2.1_1
grpc 1.56.2
hdf5 1.14.1
heroku 8.3.1
highway 1.0.6
hugo 0.117.0
icu4c 73.2
imath 3.1.9
isl 0.26
jpeg-turbo 3.0.0
jpeg-xl 0.8.2
json-c 0.17
krb5 1.21.1
libaec 1.0.6
libarchive 3.7.1
libb2 0.98.1
libde265 1.0.12
libevent 2.1.12_1
libgeotiff 1.7.1_3
libheif 1.16.2
libkml 1.3.0_1
liblerc 4.0.0
libmpc 1.3.1
libnghttp2 1.55.1
libpng 1.6.40
libpq 15.4
librttopo 1.1.0
libsodium 1.0.18_1
libspatialite 5.1.0
libtiff 4.5.1
libtool 2.4.7
libuv 1.46.0
libvmaf 2.3.1
libx11 1.8.6
libxau 1.0.11
libxcb 1.15_1
libxdmcp 1.1.4
libxext 1.3.5
libxml2 2.11.5
libxrender 0.9.11
little-cms2 2.15
lz4 1.9.4
lzo 2.10
m4 1.4.19
mailhog 1.0.1
minizip 1.2.13
mpdecimal 2.5.1
mpfr 4.2.0-p12
netcdf 4.9.2_1
node 20.5.1
nspr 4.35
nss 3.92
numpy 1.25.2
openblas 0.3.23
openexr 3.1.11
openjpeg 2.5.0_1
openssl@3 3.1.2
pcre2 10.42
pipenv 2023.8.20
pixman 0.42.2
poppler 23.08.0
popt 1.19
postgis 3.3.4_1
postgresql@14 14.9
proj 9.2.1
protobuf 23.4
protobuf-c 1.4.1_4
python-certifi 2023.7.22
python@3.11 3.11.4_1
qhull 2020.2
rapidjson 1.1.0
re2 20230801
readline 8.2.1
redis 7.2.0
sfcgal 1.4.1_5
shared-mime-info 2.2
snappy 1.1.10
sqlite 3.42.0
thrift 0.18.1_1
unixodbc 2.3.12
uriparser 0.9.7
utf8proc 2.8.0
wangle 2023.08.14.00
watchman 2023.08.14.00
webp 1.3.1
x265 3.5
xerces-c 3.2.4_1
xorgproto 2023.2
xz 5.4.4
yarn 1.22.19
zstd 1.5.5
wkhtmltopdf 0.12.6-2
"""

AWS CPP SDK version used

1.1.145

Compiler and Version used

Apple clang version 14.0.3 (clang-1403.0.22.14.1) Target: arm64-apple-darwin22.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Operating System and version

M1 Max, 13.5.1

@dbinetti dbinetti added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Aug 20, 2023
@yasminetalby
Copy link
Contributor

Hello @dbinetti ,

Thank you very much for your submission.

First of all, Thank you very much for documenting a work around for other potential users encountering this issue.
Could you please provide more information on the error received?

Best regards,

Yasmine

@yasminetalby yasminetalby added response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 10 days. p3 This is a minor priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Aug 21, 2023
@yasminetalby yasminetalby self-assigned this Aug 21, 2023
@rowanseymour
Copy link

I just updated brew this morning, and I think I'm seeing the same problem. The error message is:

OSError: dlopen(/opt/homebrew/lib/libgdal.dylib, 0x0006): Symbol not found: __ZN3Aws6Client19ClientConfigurationC1Ev
  Referenced from: <FA8C3295-2793-3C69-A419-16C41753696B> /opt/homebrew/Cellar/apache-arrow/12.0.1_4/lib/libarrow.1200.1.0.dylib
  Expected in:     <BDB1F1E3-0BE9-3D7D-A57E-9D9F8CAD197A> /opt/homebrew/Cellar/aws-sdk-cpp/1.11.145/lib/libaws-cpp-sdk-core.dylib

@buffpojken
Copy link

I second this, this broke for me earlier today - exact same error message.

@yasminetalby yasminetalby added investigating This issue is being investigated and/or work is in progress to resolve the issue. p2 This is a standard priority issue p1 This is a high priority issue and removed response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 10 days. p3 This is a minor priority issue p2 This is a standard priority issue labels Aug 21, 2023
@yasminetalby
Copy link
Contributor

Hello @rowanseymour ,

Thank you very much for providing the error message and thanks to all of you for reaching out.
The latest version has an ABI incompatible change.
We are working on a fix right now. I will keep you updated on here.

Thank you very much for bringing this up to our attention.

Best regards,

Yasmine

@sbiscigl sbiscigl mentioned this issue Aug 21, 2023
11 tasks
@yasminetalby yasminetalby added pending-release This issue will be fixed by an approved PR that hasn't been released yet. and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. pending-release This issue will be fixed by an approved PR that hasn't been released yet. labels Aug 21, 2023
@5tefan
Copy link

5tefan commented Aug 21, 2023

We ran into this issue:

Solution, downgrade to aws-sdk-cpp v1.11.140. Based on recommendations here for downgrading brew versions, these commands fixed our issue:

wget https://raw.githubusercontent.com/Homebrew/homebrew-core/0faa586d8415cd2ced33345aa3e13c664c92aeda/Formula/a/aws-sdk-cpp.rb -O aws-sdk-cpp.rb
brew install aws-sdk-cpp.rb

@sbiscigl
Copy link
Contributor

sbiscigl commented Aug 22, 2023

A fix has been merged, and is currently releasing, once done releasing it will be tagged 1.11.147

@sbiscigl
Copy link
Contributor

1.11.147 should now be published

@yasminetalby yasminetalby added the pending-release This issue will be fixed by an approved PR that hasn't been released yet. label Aug 22, 2023
@yasminetalby
Copy link
Contributor

Hello all,

I will mark this issue as resolved as v1.11.147.
If you are still encountering issue or need support please let us know.

Best regards,

Yasmine

@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. p1 This is a high priority issue pending-release This issue will be fixed by an approved PR that hasn't been released yet.
Projects
None yet
Development

No branches or pull requests

6 participants