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 2021/05/19 06:02:20 UTC

[GitHub] [pulsar] Jennifer88huang opened a new issue #10634: Could not start Pulsar due to MacOS system

Jennifer88huang opened a new issue #10634:
URL: https://github.com/apache/pulsar/issues/10634


   **Describe the bug**
   I could not start Pulsar with `bin/pulsar standalone` command now. It has sth to do with MacOS system.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. [Download Pulsar binary file and then unzip it](http://pulsar.apache.org/docs/en/next/standalone/#install-pulsar-using-binary-release).
   2. [Start Pulsar standalone](http://pulsar.apache.org/docs/en/next/standalone/#start-pulsar-standalone) with this command: `bin/pulsar standalone`
   3. Everything goes well until the following error occurs:
   ```
   dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
     Referenced from: /private/var/folders/wx/4bgp_32d7lvd1l6f_qc0f7sm0000gn/T/librocksdbjni15485510628875066614.jnilib (which was built for Mac OS X 10.15)
     Expected in: /usr/lib/libSystem.B.dylib
   
   dyld: Symbol not found: ____chkstk_darwin
     Referenced from: /private/var/folders/wx/4bgp_32d7lvd1l6f_qc0f7sm0000gn/T/librocksdbjni15485510628875066614.jnilib (which was built for Mac OS X 10.15)
     Expected in: /usr/lib/libSystem.B.dylib
   
   Abort trap: 6
   ```
   
   **Expected behavior**
   Start Pulsar standalone successfully.
   
   **Desktop (please complete the following information):**
    - OS: Mac OS high sierra 10.13.6
   
   **Additional context**
   1. Found some similar issues here and tried without fixing it.
   - https://github.com/esy/esy/issues/1169
   - https://stackoverflow.com/questions/63221290/how-to-resolve-missing-symbol-chkstd-darwin-in-libsystem-b-dylib-osx
   2. Compile Pulsar source with `mvn clean install -DskipTests -Pcore-modules` and failed at last.
   
   


-- 
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:
users@infra.apache.org



[GitHub] [pulsar] Jennifer88huang closed issue #10634: Could not start Pulsar due to MacOS system

Posted by GitBox <gi...@apache.org>.
Jennifer88huang closed issue #10634:
URL: https://github.com/apache/pulsar/issues/10634


   


-- 
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:
users@infra.apache.org



[GitHub] [pulsar] Jennifer88huang commented on issue #10634: Could not start Pulsar due to MacOS system

Posted by GitBox <gi...@apache.org>.
Jennifer88huang commented on issue #10634:
URL: https://github.com/apache/pulsar/issues/10634#issuecomment-843894513


   When I use the MacOS Big Sur 11.3.1, Pulsar works well.


-- 
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:
users@infra.apache.org



[GitHub] [pulsar] Jennifer88huang commented on issue #10634: Could not start Pulsar due to MacOS system

Posted by GitBox <gi...@apache.org>.
Jennifer88huang commented on issue #10634:
URL: https://github.com/apache/pulsar/issues/10634#issuecomment-843906948


   You might encounter this error after upgrading your OS
   ```
   xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
   ```
   
   Solution: Reinstall Xcode command line tools `xcode-select --install`
   For details, see https://stackoverflow.com/questions/52522565/git-is-not-working-after-macos-update-xcrun-error-invalid-active-developer-pa


-- 
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:
users@infra.apache.org