{"action":"created","issue":{"url":"https://api.github.com/repos/edenhill/librdkafka/issues/701","repository_url":"https://api.github.com/repos/edenhill/librdkafka","labels_url":"https://api.github.com/repos/edenhill/librdkafka/issues/701/labels{/name}","comments_url":"https://api.github.com/repos/edenhill/librdkafka/issues/701/comments","events_url":"https://api.github.com/repos/edenhill/librdkafka/issues/701/events","html_url":"https://github.com/edenhill/librdkafka/issues/701","id":162070213,"number":701,"title":"install: Unable to get \"librdkafka.a\" file status (stat): No such file or directory","user":{"login":"bencen","id":2912611,"avatar_url":"https://avatars.githubusercontent.com/u/2912611?v=3","gravatar_id":"","url":"https://api.github.com/users/bencen","html_url":"https://github.com/bencen","followers_url":"https://api.github.com/users/bencen/followers","following_url":"https://api.github.com/users/bencen/following{/other_user}","gists_url":"https://api.github.com/users/bencen/gists{/gist_id}","starred_url":"https://api.github.com/users/bencen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bencen/subscriptions","organizations_url":"https://api.github.com/users/bencen/orgs","repos_url":"https://api.github.com/users/bencen/repos","events_url":"https://api.github.com/users/bencen/events{/privacy}","received_events_url":"https://api.github.com/users/bencen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-06-24T03:40:32Z","updated_at":"2016-06-24T10:47:43Z","closed_at":null,"body":"HI,Edenhill,please help me,thank you\r\n\r\nusing cache file config.cache\r\nchecking for OS or distribution... ok (Linux)\r\nchecking for C compiler from CC env... failed\r\nchecking for gcc (by command)... ok (cached)\r\nchecking for C++ compiler from CXX env... failed\r\nchecking for C++ compiler (g++)... ok (cached)\r\nchecking executable ld... ok (cached)\r\nchecking executable nm... ok (cached)\r\nchecking executable objdump... ok (cached)\r\nchecking executable strip... ok (cached)\r\nchecking for pkgconfig (by command)... ok (cached)\r\nchecking for install (by command)... ok (cached)\r\nchecking for PIC (by compile)... ok (cached)\r\nchecking for GNU-compatible linker options... ok (cached)\r\nchecking for GNU linker-script ld flag... ok (cached)\r\nchecking for __atomic_32 (by compile)... failed\r\nchecking for __atomic_32_lib (by compile)... failed\r\nchecking for __sync_32 (by compile)... ok (cached)\r\nchecking for __atomic_64 (by compile)... failed\r\nchecking for __atomic_64_lib (by compile)... failed\r\nchecking for __sync_64 (by compile)... ok (cached)\r\nchecking for socket (by compile)... ok (cached)\r\nparsing version '0x000901ff'... ok (0.9.1)\r\nchecking for libpthread (by pkg-config)... failed\r\nchecking for libpthread (by compile)... ok\r\nchecking for zlib (by pkg-config)... ok\r\nchecking for libcrypto (by pkg-config)... ok\r\nchecking for liblz4 (by pkg-config)... failed\r\nchecking for liblz4 (by compile)... failed (disable)\r\nchecking for libssl (by pkg-config)... ok\r\nchecking for libsasl2 (by pkg-config)... failed\r\nchecking for libsasl2 (by compile)... ok\r\nchecking for regex (by compile)... ok (cached)\r\nchecking for librt (by pkg-config)... failed\r\nchecking for librt (by compile)... ok\r\nchecking for strndup (by compile)... ok (cached)\r\nchecking for nm (by env NM)... ok (cached)\r\nchecking for python (by command)... ok (cached)\r\nGenerated Makefile.config\r\nGenerated config.h\r\n\r\nConfiguration summary:\r\n  prefix                   /usr\r\n  ARCH                     x86_64\r\n  CPU                      generic\r\n  GEN_PKG_CONFIG           y\r\n  ENABLE_DEVEL             n\r\n  ENABLE_VALGRIND          n\r\n  ENABLE_REFCNT_DEBUG      n\r\n  ENABLE_SHAREDPTR_DEBUG   n\r\n  ENABLE_SSL               y\r\n  ENABLE_SASL              y\r\n  MKL_APP_NAME             librdkafka\r\n  MKL_APP_DESC_ONELINE     The Apache Kafka C/C++ library\r\n  MKL_DISTRO               Linux\r\n  CC                       gcc\r\n  CXX                      g++\r\n  LD                       ld\r\n  NM                       nm\r\n  OBJDUMP                  objdump\r\n  STRIP                    strip\r\n  CPPFLAGS                 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith\r\n  PKG_CONFIG               pkg-config\r\n  INSTALL                  install\r\n  LIB_LDFLAGS              -shared -Wl,-soname,$(LIBFILENAME)\r\n  LDFLAG_LINKERSCRIPT      -Wl,--version-script=\r\n  RDKAFKA_VERSION_STR      0.9.1\r\n  MKL_APP_VERSION          0.9.1\r\n  LIBS                     -lpthread -lz   -lcrypto   -lssl -lcrypto   -lsasl2 -lrt\r\n  CFLAGS                        \r\n  CXXFLAGS                 -Wno-non-virtual-dtor\r\n  SYMDUMPER                $(NM) -D\r\n  exec_prefix              /usr\r\n  bindir                   /usr/bin\r\n  sbindir                  /usr/sbin\r\n  libexecdir               /usr/libexec\r\n  datadir                  /usr/share\r\n  sysconfdir               /usr/etc\r\n  sharedstatedir           /usr/com\r\n  localstatedir            /usr/var\r\n  libdir                   /usr/lib\r\n  includedir               /usr/include\r\n  infodir                  /usr/info\r\n  mandir                   /usr/man\r\nGenerated config.cache\r\n\r\nNow type 'make' to build\r\n\r\n\r\n\r\n=================\r\n\r\n\r\nmake[1]: Entering directory `/root/librdkafka-master/src'\r\nInstall librdkafka to /usr\r\ninstall -d $DESTDIR/usr/include/librdkafka ; \\\r\n\tinstall -d $DESTDIR/usr/lib ; \\\r\n\tinstall rdkafka.h $DESTDIR/usr/include/librdkafka ; \\\r\n\tinstall librdkafka.a $DESTDIR/usr/lib ; \\\r\n\tinstall librdkafka.so.1 $DESTDIR/usr/lib ; \\\r\n\t[ -f \"rdkafka.pc\" ] && ( \\\r\n\t\tinstall -d $DESTDIR/usr/lib/pkgconfig ; \\\r\n\t\tinstall -m 0644 rdkafka.pc $DESTDIR/usr/lib/pkgconfig \\\r\n\t) ; \\\r\n\t(cd $DESTDIR/usr/lib && ln -sf librdkafka.so.1 librdkafka.so)\r\ninstall: Unable to get \"librdkafka.a\" file status (stat): No such file or directory\r\ninstall: Unable to get \"librdkafka.so.1\" file status (stat): No such file or directory\r\nmake[1]: Leaving directory `/root/librdkafka-master/src'\r\nmake[1]: Entering directory `/root/librdkafka-master/src-cpp'\r\nInstall librdkafka++ to /usr\r\ninstall -d $DESTDIR/usr/include/librdkafka ; \\\r\n\tinstall -d $DESTDIR/usr/lib ; \\\r\n\tinstall rdkafkacpp.h $DESTDIR/usr/include/librdkafka ; \\\r\n\tinstall librdkafka++.a $DESTDIR/usr/lib ; \\\r\n\tinstall librdkafka++.so.1 $DESTDIR/usr/lib ; \\\r\n\t[ -f \"rdkafka++.pc\" ] && ( \\\r\n\t\tinstall -d $DESTDIR/usr/lib/pkgconfig ; \\\r\n\t\tinstall -m 0644 rdkafka++.pc $DESTDIR/usr/lib/pkgconfig \\\r\n\t) ; \\\r\n\t(cd $DESTDIR/usr/lib && ln -sf librdkafka++.so.1 librdkafka++.so)\r\ninstall: Unable to get \"librdkafka++.a\" file status (stat): No such file or directory\r\ninstall: Unable to get \"librdkafka.so.1\" file status (stat): No such file or directory\r\nmake[1]: Leaving directory `/root/librdkafka-master/src-cpp'\r\n=============================\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/edenhill/librdkafka/issues/comments/228315044","html_url":"https://github.com/edenhill/librdkafka/issues/701#issuecomment-228315044","issue_url":"https://api.github.com/repos/edenhill/librdkafka/issues/701","id":228315044,"user":{"login":"nasava","id":20043696,"avatar_url":"https://avatars.githubusercontent.com/u/20043696?v=3","gravatar_id":"","url":"https://api.github.com/users/nasava","html_url":"https://github.com/nasava","followers_url":"https://api.github.com/users/nasava/followers","following_url":"https://api.github.com/users/nasava/following{/other_user}","gists_url":"https://api.github.com/users/nasava/gists{/gist_id}","starred_url":"https://api.github.com/users/nasava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nasava/subscriptions","organizations_url":"https://api.github.com/users/nasava/orgs","repos_url":"https://api.github.com/users/nasava/repos","events_url":"https://api.github.com/users/nasava/events{/privacy}","received_events_url":"https://api.github.com/users/nasava/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T10:47:43Z","updated_at":"2016-06-24T10:47:43Z","body":"I do not know for the php variant, but for rdkafka lib itself building goes like this:\r\n\r\n```\r\n./configure\r\nmake\r\nmake install\r\n```\r\n\r\nthe second command will create the files which the error messages say are missing. The last one has to be run as root, if you use prefix /usr. Then make install copies the libs created by make into the path into your root file system, hopefully where the php wrapper looks for it."}}
{"actor":{"display_login":"nasava"}}