atris / JDBC_FDW

FDW that wraps JDBC for PostgreSQL.It can be used to connect and fetch data from any data source that supports JDBC
Other
66 stars 38 forks source link

build Fails on OSX 10.10 (Yosemite) #16

Open hubrix opened 9 years ago

hubrix commented 9 years ago

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

0xae commented 8 years ago

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