pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [pulsar] wolfstudy commented on issue #3680: go static build error
Date Mon, 04 Mar 2019 01:13:59 GMT
wolfstudy commented on issue #3680: go static build error
URL: https://github.com/apache/pulsar/issues/3680#issuecomment-469087146
   > 4.build your go code use command like this:
   > ```
   > CGO_CPPFLAGS="-I/usr/local/include -I/usr/include" CGO_LDFLAGS="-L/usr/local/lib -L/usr/lib
-lcurl -lssl -lcrypto -lcrypto -lz -lpulsar -lstdc++ -lboost_system -lboost_regex -lprotobuf
-ldl" go build -ldflags '-extldflags "-static"' hello.go
   > ```
   > It is quite complex and is there any simple method?
   In my local area, I only need to build cpp-client, I have not run this step, and it can
also run normally.

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

View raw message