Skip to content
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

make docker-compose. failing #147

Open
batok opened this issue Sep 13, 2017 · 0 comments
Open

make docker-compose. failing #147

batok opened this issue Sep 13, 2017 · 0 comments

Comments

@batok
Copy link

batok commented Sep 13, 2017

$ make docker-compose

gives me this in Mac OS Sierra 10.12.6 and docker Version 17.06.2-ce-mac27 (19124)
Channel: stable
428bd6ceae....

gcc logger.c -c -std=c99 -D_POSIX_C_SOURCE=200809L -I../client -I../ext -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -I/usr/local/include -DAVRO_1_8 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -Wmissing-format-attribute -Wformat-security -o logger.o
gcc bottledwater.o json.o registry.o table_mapper.o logger.o ../client/libbottledwater.a -o bottledwater -L/usr/lib/x86_64-linux-gnu -lpq -lrdkafka -lz -lpthread -L/usr/local/lib -lavro -L/usr/lib/x86_64-linux-gnu -lcurl -ljansson
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
make[1]: *** [bottledwater] Error 1
Makefile:29: recipe for target 'bottledwater' failed
make[1]: Leaving directory '/root/bottledwater/kafka'
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 2
The command '/bin/sh -c cd /root/bottledwater && make clean && make && make install && cd / && tar czf bottledwater-ext.tar.gz usr/lib/postgresql/${PG_MAJOR}/lib/bottledwater.so usr/share/postgresql/${PG_MAJOR}/extension/bottledwater* && cp /root/bottledwater/kafka/bottledwater /root/bottledwater/client/bwtest /usr/local/bin && tar czf bottledwater-bin.tar.gz usr/local/bin/bottledwater usr/local/bin/bwtest' returned a non-zero code: 2
make: *** [docker-build] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant