You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello there,
I wanted to install m2crypto on my macOS 12.1.
There is python 3.8.9 installed by default.
So I built openssl (twice to get a universal binary) as static libs.
I installed swig from brew.
Then I do this:
/usr/bin/pip3 install --global-option=build_ext --global-option="--openssl=/usr/local/.fw3rdparty/toto-MacOS" m2crypto
This fails to link with:
clang -bundle -undefined dynamic_lookup -arch arm64 -arch x86_64 -Wl,-headerpad,0x1000 build/temp.macosx-10.14-x86_64-3.8/src/SWIG/_m2crypto_wrap.o -L/usr/local/.fw3rdparty/toto-MacOS/lib -lssl -lcrypto -o build/lib.macosx-10.14-x86_64-3.8/M2Crypto/_m2crypto.cpython-38-darwin.so
duplicate symbol '_tlsv1_method' in:
build/temp.macosx-10.14-x86_64-3.8/src/SWIG/_m2crypto_wrap.o
/usr/local/.fw3rdparty/toto-MacOS/lib/libssl.a(methods.o)
ld: 1 duplicate symbol for architecture arm64
Any help would be appreciated.
The text was updated successfully, but these errors were encountered:
Hello there,
I wanted to install m2crypto on my macOS 12.1.
There is python 3.8.9 installed by default.
So I built openssl (twice to get a universal binary) as static libs.
I installed swig from brew.
Then I do this:
/usr/bin/pip3 install --global-option=build_ext --global-option="--openssl=/usr/local/.fw3rdparty/toto-MacOS" m2crypto
This fails to link with:
clang -bundle -undefined dynamic_lookup -arch arm64 -arch x86_64 -Wl,-headerpad,0x1000 build/temp.macosx-10.14-x86_64-3.8/src/SWIG/_m2crypto_wrap.o -L/usr/local/.fw3rdparty/toto-MacOS/lib -lssl -lcrypto -o build/lib.macosx-10.14-x86_64-3.8/M2Crypto/_m2crypto.cpython-38-darwin.so
duplicate symbol '_tlsv1_method' in:
build/temp.macosx-10.14-x86_64-3.8/src/SWIG/_m2crypto_wrap.o
/usr/local/.fw3rdparty/toto-MacOS/lib/libssl.a(methods.o)
ld: 1 duplicate symbol for architecture arm64
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: