Hi, when trying to compile pghashlib on an Apple M1 Silicon chip with the newer arm64 architecture, I get the following error:
clang -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -bundle -multiply_defined suppress -o hashlib.so src/pghashlib.o src/crc32.o src/lookup2.o src/lookup3.o src/inthash.o src/murmur3.o src/pgsql84.o src/city.o src/spooky.o src/md5.o src/siphash.o -L/usr/local/lib -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/readline/lib -Wl,-dead_strip_dylibs -bundle_loader /usr/local/Cellar/postgresql/13.4/bin/postgres ld: can't link with a main executable file '/usr/local/Cellar/postgresql/13.4/bin/postgres' for architecture arm64
Is there any workaround for this issue? Or could we update pghashlib to work on arm64 architecture?
Hi, when trying to compile pghashlib on an Apple M1 Silicon chip with the newer arm64 architecture, I get the following error:
clang -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -bundle -multiply_defined suppress -o hashlib.so src/pghashlib.o src/crc32.o src/lookup2.o src/lookup3.o src/inthash.o src/murmur3.o src/pgsql84.o src/city.o src/spooky.o src/md5.o src/siphash.o -L/usr/local/lib -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/readline/lib -Wl,-dead_strip_dylibs -bundle_loader /usr/local/Cellar/postgresql/13.4/bin/postgres ld: can't link with a main executable file '/usr/local/Cellar/postgresql/13.4/bin/postgres' for architecture arm64Is there any workaround for this issue? Or could we update pghashlib to work on arm64 architecture?