How to install on 10.15 with deployment target as 10.13?
Sandeep Thakkar
sandeep.thakkar at enterprisedb.com
Fri Jun 26 04:15:03 UTC 2020
Hi,
I'm compiling postgres with LLVM support on macOS 10.15 Catalina. The
binaries are supported on 10.13+. On target machine (10.13), the library
fails to load with the following error:
*dlopen(/Library/PostgreSQL/13/lib/postgresql/llvmjit.so, 10): Symbol not
found: ____chkstk_darwin*
I guess this is because:
$ otool -l /opt/local/libexec/llvm-8.0/lib/*.dylib | grep -B1 -A3 minos
sdk 10.15
minos 10.15
Before I installed LLVM-8.0 using macports on 10.15, I appended
/opt/local/etc/macports/macports.conf file with "macosx_deployment_target
10.13"
and also did "export MACOSX_DEPLOYMENT_TARGET=10.13" on the terminal where
I executed port install clang-8.0
--
Sandeep Thakkar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20200626/4703d333/attachment.htm>
More information about the macports-users
mailing list