-
Notifications
You must be signed in to change notification settings - Fork 38
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
MAC OS: error Make Install | STDLIB.H Fatal Error #14
Comments
Hi @dfirence, After quick googling i see that there were some changes in Mojave regarding location of the standard headers (see release notes and 'Command Line Tools > New features' section particularly). I also see similar issues on github for other software. The common recommendation i found is to run:
I don't have Mojave so can't really verify the issue and the solution. Please let me know it that helps. |
Hey @zilder What versions of PgSQL you support. I have a debian box and can try to install there again. Yesterday I was able to compile it in Debian Stretch with PGSQL 11.5. However in step #2 CREATE EXTENSION .... Here's the output of Debian 9 Stretch with PGSQL 12 mvtest=# CREATE EXTENSION parquet_fdw;
ERROR: could not load library "/usr/lib/postgresql/12/lib/parquet_fdw.so": /usr/lib/x86_64-linux-gnu/libarrow.so.15: undefined symbol: _ZN6google8protobuf8internal17AssignDescriptorsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKNS1_15MigrationSchemaEPKPKNS0_7MessageEPKjPNS0_8MetadataEPPKNS0_14EnumDescriptorEPPKNS0_17ServiceDescriptorE
mvtest=# It fails by throwing a SYMBOL ERROR Not Found. |
I then installed PGSQL 11.6 on Debian Stretch Compiled FDW for 11.6> sudo make install
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -fPIC -shared -o parquet_fdw.so parquet.o parquet_fdw.o -L/usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -L/usr/lib/llvm-6.0/lib -L/usr/lib/x86_64-linux-gnu/mit-krb5 -Wl,--as-needed -lm -lstdc++ -lparquet -larrow
/bin/mkdir -p '/usr/lib/postgresql/11/lib'
/bin/mkdir -p '/usr/share/postgresql/11/extension'
/bin/mkdir -p '/usr/share/postgresql/11/extension'
/usr/bin/install -c -m 755 parquet_fdw.so '/usr/lib/postgresql/11/lib/parquet_fdw.so'
/usr/bin/install -c -m 644 .//parquet_fdw.control '/usr/share/postgresql/11/extension/'
/usr/bin/install -c -m 644 .//parquet_fdw--0.1.sql '/usr/share/postgresql/11/extension/'
/bin/mkdir -p '/usr/lib/postgresql/11/lib/bitcode/parquet_fdw'
/bin/mkdir -p '/usr/lib/postgresql/11/lib/bitcode'/parquet_fdw/
/usr/bin/install -c -m 644 parquet.bc '/usr/lib/postgresql/11/lib/bitcode'/parquet_fdw/./
/usr/bin/install -c -m 644 parquet_fdw.bc '/usr/lib/postgresql/11/lib/bitcode'/parquet_fdw/./
cd '/usr/lib/postgresql/11/lib/bitcode' && /usr/lib/llvm-6.0/bin/llvm-lto -thinlto -thinlto-action=thinlink -o parquet_fdw.index.bc parquet_fdw/parquet.bc parquet_fdw/parquet_fdw.bc Attempted to CREATE EXTENSION in PGSQL 11.6mvtest=# CREATE EXTENSION parquet_fdw;
ERROR: could not load library "/usr/lib/postgresql/11/lib/parquet_fdw.so": /usr/lib/x86_64-linux-gnu/libarrow.so.15: undefined symbol: _ZN6google8protobuf8internal17AssignDescriptorsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKNS1_15MigrationSchemaEPKPKNS0_7MessageEPKjPNS0_8MetadataEPPKNS0_14EnumDescriptorEPPKNS0_17ServiceDescriptorE |
Any update on this one? |
I'm on Ventura, 13.3.1, I installed arrow through homebrew, and this is the output from make:
Any advice on how to proceed? |
Hello, I want to use your extensions but am unable to get past the #1 step - make install.
I have Mojave 10.14, all XCODE tools are installed
Here's what I get
The text was updated successfully, but these errors were encountered: