PhantomJS: getting “Killed: 9” for anything I'm trying

后端 未结 6 1339
旧巷少年郎
旧巷少年郎 2020-12-07 23:46

Just installed phantomjs, mac os x yosemite. Whenever I run /bin/phantomjs, with any parameter, I get Killed: 9. Any idea?

6条回答
  •  伪装坚强ぢ
    2020-12-08 00:22

    1. Install UPX. UPX is an executable packer and unpacker

      $ brew install upx
      
    2. Unpack the phantomjs executable

      $ upx -d phantomjs-2.0.0-macosx/bin/phantomjs
      
    3. Run the phantomjs executable

      $ ./phantomjs-2.0.0-macosx/bin/phantomjs
      

提交回复
热议问题