JDBC_FDW icon indicating copy to clipboard operation
JDBC_FDW copied to clipboard

build Fails on OSX 10.10 (Yosemite)

Open hubrix opened this issue 10 years ago • 1 comments

make install USE_PGXS=1

clang -I/usr/local/Cellar/ossp-uuid/1.6.2_1/include/ossp -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -arch x86_64 -bundle -multiply_defined suppress -o jdbc_fdw.so jdbc_fdw.o -L/usr/local/Cellar/postgresql/9.3.5_1/lib -L/usr/local/Cellar/ossp-uuid/1.6.2_1/lib -Wl,-dead_strip_dylibs -arch x86_64 -I/System/Library/Frameworks/JavaVM.framework/Headers -L/System/Library/Frameworks/JavaVM.framework/Libraries -ljvm -framework JavaVM -bundle_loader /usr/local/Cellar/postgresql/9.3.5_1/bin/postgres ld: library not found for -ljvm clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [jdbc_fdw.so] Error 1

hubrix avatar Dec 05 '14 17:12 hubrix

This problem may have something todo with libjvm.so, are you sure clang can find it? you can find the location of libjvm.so with the command

locate libjvm.so

0xae avatar Jul 30 '15 09:07 0xae