#5 make all failed

Closed
opened 5 years ago by vinurs · 2 comments
vinurs commented 5 years ago

hello, I failed on the make step.

Information

MacOS Big Sur(11.0 Beta版(20A4299v)) libplist version(2.2.0)

Steps to reproduce

$ git clone -b mac --single-branch https://notabug.org/doublesine/navicat-keygen.git

$ cd navicat-keygen 
$ make all
g++ -std=c++17 -O2 \
-I./common/ \
-I/usr/local/opt/openssl@1.1/include -L/usr/local/opt/openssl@1.1/lib \
  \
  \
-I/usr/local/opt/libplist/include -L/usr/local/opt/libplist/lib \
./navicat-patcher/CapstoneDisassembler.cpp ./navicat-patcher/KeystoneAssembler.cpp ./navicat-patcher/Misc.cpp ./navicat-patcher/X64ImageInterpreter.cpp ./navicat-patcher/PatchSolution0.cpp ./navicat-patcher/PatchSolution1.cpp ./navicat-patcher/PatchSolution2.cpp ./navicat-patcher/PatchSolution3.cpp ./navicat-patcher/main.cpp -o ./bin/navicat-patcher -lcrypto -lcapstone -lkeystone -lplist++
ld: library not found for -lplist++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [patcher] Error 1

but i've set the libplist include and lib

LIBPLIST_INCLUDE_PATH = /usr/local/opt/libplist/include
LIBPLIST_LIB_PATH = /usr/local/opt/libplist/lib
hello, I failed on the make step. # Information MacOS Big Sur(11.0 Beta版(20A4299v)) libplist version(2.2.0) # Steps to reproduce ``` $ git clone -b mac --single-branch https://notabug.org/doublesine/navicat-keygen.git $ cd navicat-keygen $ make all g++ -std=c++17 -O2 \ -I./common/ \ -I/usr/local/opt/openssl@1.1/include -L/usr/local/opt/openssl@1.1/lib \ \ \ -I/usr/local/opt/libplist/include -L/usr/local/opt/libplist/lib \ ./navicat-patcher/CapstoneDisassembler.cpp ./navicat-patcher/KeystoneAssembler.cpp ./navicat-patcher/Misc.cpp ./navicat-patcher/X64ImageInterpreter.cpp ./navicat-patcher/PatchSolution0.cpp ./navicat-patcher/PatchSolution1.cpp ./navicat-patcher/PatchSolution2.cpp ./navicat-patcher/PatchSolution3.cpp ./navicat-patcher/main.cpp -o ./bin/navicat-patcher -lcrypto -lcapstone -lkeystone -lplist++ ld: library not found for -lplist++ clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [patcher] Error 1 ``` but i've set the libplist include and lib ``` LIBPLIST_INCLUDE_PATH = /usr/local/opt/libplist/include LIBPLIST_LIB_PATH = /usr/local/opt/libplist/lib ```
Double Sine commented 5 years ago
Owner

/usr/local/opt/libplist/lib下有libplist++.a这个文件吗

`/usr/local/opt/libplist/lib`下有`libplist++.a`这个文件吗
vinurs commented 5 years ago
Poster

有的,不过好像带了版本号,我修改了一下makefile文件,现在可以了

有的,不过好像带了版本号,我修改了一下makefile文件,现在可以了
Sign in to join this conversation.
No Label
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.