Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

make all 报错找不到-lplist++ #3

Open
LeXwDeX opened this issue Jul 13, 2020 · 4 comments
Open

make all 报错找不到-lplist++ #3

LeXwDeX opened this issue Jul 13, 2020 · 4 comments

Comments

@LeXwDeX
Copy link

LeXwDeX commented Jul 13, 2020

MAC分支内容进行MAKE报错

make all   

g++ -std=c++17 -O2 \
-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib \
  \
  \
  \
-lcrypto -lcapstone -lkeystone -lplist++ ./navicat-patcher/CapstoneDisassembler.cpp ./navicat-patcher/KeystoneAssembler.cpp ./navicat-patcher/X64ImageInterpreter.cpp ./navicat-patcher/HelperIsResolvedTo.cpp ./navicat-patcher/HelperPrintMemory.cpp ./navicat-patcher/PatchSolution0.cpp ./navicat-patcher/PatchSolution1.cpp ./navicat-patcher/PatchSolution2.cpp ./navicat-patcher/main.cpp -o ./bin/navicat-patcher
ld: library not found for -lplist++
@yuansongming
Copy link

最新版本已经失效,旧版本还可以用,就不提交代码了;
问题原因:libplist最新版本2.2.0修改了包名,“Rename library and all related files by adding an API version resulting in libplist-2.0 and libplist++-2.0”,
参考地址:https://github.com/libimobiledevice/libplist/releases/2.2.0
解决方案:修改Makefile文件,将“-lplist++”改为“-lplist++-2.0”。

@21307369
Copy link

66行
-lcrypto -lcapstone -lkeystone -lplist++-2.0 $(PATCHER_SOURCE) -o $(PATCHER_BINARY)

我编译后 ./navicat-keygen ./RegPrivateKey.pem
[-] ./navicat-keygen/../common/RSACipher.hpp:167 ->
BIO_new_file failed.
不知道是什么问题

@uxff
Copy link

uxff commented Mar 17, 2021

最新版本已经失效,旧版本还可以用,就不提交代码了;
问题原因:libplist最新版本2.2.0修改了包名,“Rename library and all related files by adding an API version resulting in libplist-2.0 and libplist++-2.0”,
参考地址:https://github.com/libimobiledevice/libplist/releases/2.2.0
解决方案:修改Makefile文件,将“-lplist++”改为“-lplist++-2.0”。

验证,此方法生效。intel cpu下,mac版本10.15.7编译通过。谢谢。

@dogia
Copy link

dogia commented May 22, 2022

./navicat-patcher /Applications/Navicat\ Premium.app


  •   Navicat Patcher (macOS) by @DoubleLabyrinth      *
    
  •              Version: 5.0                          *
    

Press Enter to continue or Ctrl + C to abort.

[+] Try to open "Contents/MacOS/Navicat Premium" ... Ok!
[+] Try to open "Contents/Frameworks/libcc-premium.dylib" ... Ok!

[-] PatchSolution0 ...... Omitted.
[-] PatchSolution1 ...... Omitted.
[-] PatchSolution2 ...... Omitted.
[-] PatchSolution3 ...... Omitted.

[*] Your Navicat version: 15.0.35

[-] Patch abort. None of PatchSolutions will be applied.
Are you sure your Navicat has not been patched/modified before?
user@MacBook-Air-de-User bin % ./navicat-patcher /Applications/Navicat\ Premium.app

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants