You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/06/08 13:59:03 UTC

[GitHub] [pulsar] boatrainlsz commented on issue #15935: Compiling pulsar-client-cpp on Ubuntu Server 20.04 did not work as intended

boatrainlsz commented on issue #15935:
URL: https://github.com/apache/pulsar/issues/15935#issuecomment-1149956595

   > > the second and third step reports a error: cp: cannot stat '*.a': No such file or directory
   > 
   > Please note that the command `sudo cp *.a /usr/lib` only intends to copy the libs `*.a` (you just built) to the path `/usr/lib` so that you can use them in pulsar.
   > 
   > From your log, I kown that in your local env, the libs `*.a` after linking were put into path `/usr/src/gtest/lib` and `/usr/src/gmock/lib` instead of the source code root path `/usr/src/gtest` and `/usr/src/gmock`. So you need to use command `sudo cp lib/*.a /usr/lib` instead of `sudo cp *.a /usr/lib`.
   > 
   > Maybe the compile instructions need to be adjusted to meet such situation. I will submit a patch to fix the document.
   
   Thanks


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org