moneroexamples / transactions-export

Searches blockchain for your outputs and ring members using given address and view key.
BSD 3-Clause "New" or "Revised" License
26 stars 14 forks source link

/usr/bin/ld: cannot find -lpcsclite #22

Closed ACK-J closed 2 years ago

ACK-J commented 2 years ago

While compiling I'm getting the following error...

[  8%] Building CXX object src/CMakeFiles/myxrm.dir/MicroCore.cpp.o
[ 16%] Building CXX object src/CMakeFiles/myxrm.dir/tools.cpp.o
[ 25%] Building CXX object src/CMakeFiles/myxrm.dir/CmdLineOptions.cpp.o
[ 33%] Building CXX object src/CMakeFiles/myxrm.dir/tx_details.cpp.o
[ 41%] Linking CXX static library libmyxrm.a
[ 41%] Built target myxrm
[ 50%] Building CXX object ext/CMakeFiles/myext.dir/dateparser.cpp.o
[ 58%] Linking CXX static library libmyext.a
[ 58%] Built target myext
[ 66%] Building CXX object CMakeFiles/xmr2csv.dir/main.cpp.o
[ 75%] Linking CXX executable xmr2csv
/usr/bin/ld: cannot find -lpcsclite
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/xmr2csv.dir/build.make:120: xmr2csv] Error 1
make[1]: *** [CMakeFiles/Makefile2:139: CMakeFiles/xmr2csv.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

I've been troubleshooting this for a while but cannot find a fix.

https://stackoverflow.com/questions/16710047/usr-bin-ld-cannot-find-lnameofthelibrary

I've also tried sudo apt install pcscd

moneroexamples commented 2 years ago

Can you please try again after the changes.

ACK-J commented 2 years ago

Worked Thank you!