confluentinc / bottledwater-pg

Change data capture from PostgreSQL into Kafka
http://blog.confluent.io/2015/04/23/bottled-water-real-time-integration-of-postgresql-and-kafka/
Apache License 2.0
2 stars 0 forks source link

make docker-compose. failing #147

Open batok opened 6 years ago

batok commented 6 years ago
$ 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