kelvinlong opened a new issue #9731:
URL: https://github.com/apache/pulsar/issues/9731


   **Describe the bug**
   Pulsar C++ Client Library not working on Alpine Linux, not able to run 
example scripts using pulsar-client(npm/yarn) in docker container built based 
on alpine linux image.
   
   hostname # node node_modules/pulsar-client/examples/consumer
   /mars/node_modules/bindings/bindings.js:121
           throw e;
           ^
   
   Error: Error loading shared library ld-linux-x86-64.so.2: No such file or 
directory (needed by /usr/lib/libpulsar.so.2.7.0)
       at Object.Module._extensions..node 
(internal/modules/cjs/loader.js:1122:18)
       at Module.load (internal/modules/cjs/loader.js:928:32)
       at Function.Module._load (internal/modules/cjs/loader.js:769:14)
       at Module.require (internal/modules/cjs/loader.js:952:19)
       at require (internal/modules/cjs/helpers.js:88:18)
       at bindings (/mars/node_modules/bindings/bindings.js:112:48)
       at Object.<anonymous> (/mars/node_modules/pulsar-client/index.js:20:42)
       at Module._compile (internal/modules/cjs/loader.js:1063:30)
       at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
       at Module.load (internal/modules/cjs/loader.js:928:32)
   
   
   **Desktop (please complete the following information):**
    - OS:
    cat /etc/issue 
   Welcome to Alpine Linux 3.11
   Kernel \r on an \m (\l)
   
   ldd
   musl libc (x86_64)
   Version 1.1.24
   Dynamic Program Loader
   Usage: /lib/ld-musl-x86_64.so.1 [options] [--] pathname
   
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to