hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Goden Yao <goden...@apache.org>
Subject See a build error
Date Fri, 24 Jun 2016 22:37:31 GMT
I was trying to build from 2.0.0-incubating branch before I start releasing
process.
I followed wiki page for Open source build steps.
Got this error:
But I’ve installed json-c with —universal and I’m on Mac OS El Capitan

Error

gcc -O3 -std=gnu99  -Wall -Wmissing-prototypes -Wpointer-arith
-Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2
-O1 zic.o ialloc.o scheck.o localtime.o -L../../src/port
-L../../src/port -Wl,-dead_strip_dylibs
-L/Users/tyao/source/asf/incubator-hawq/depends/libhdfs3/build/install/Users/tyao/hawq/2.0.0-incubating/lib
-L/Users/tyao/source/asf/incubator-hawq/depends/libyarn/build/install/Users/tyao/hawq/2.0.0-incubating/lib
  -lpgport -ljson-c -levent -lyaml -lsnappy -lbz2 -lz -ledit -lm
-lcurl -lyarn -lkrb5 -o zic*ld: library not found for -ljson-c
*clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [zic] Error 1
make[1]: *** [all] Error 2

Symlinks:

lrwxr-xr-x  1 tyao  admin    43B Jun 24 14:26
/usr/local/lib/libjson-c.2.dylib ->
../Cellar/json-c/0.12/lib/libjson-c.2.dylib
lrwxr-xr-x  1 tyao  admin    37B Jun 24 14:26
/usr/local/lib/libjson-c.a -> ../Cellar/json-c/0.12/lib/libjson-c.a
lrwxr-xr-x  1 tyao  admin    41B Jun 24 14:26
/usr/local/lib/libjson-c.dylib ->
../Cellar/json-c/0.12/lib/libjson-c.dylib

​

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message