libscrypt icon indicating copy to clipboard operation
libscrypt copied to clipboard

How to install this library to project in ubuntu?

Open hobbydev71 opened this issue 3 years ago • 6 comments

I'm working on open source project. there is a statement #include <libscrypt.h>. If this repository supports libscrypt, please let me know the solution.

hobbydev71 avatar Dec 22 '21 16:12 hobbydev71

Try apt install libscrypt-dev

Kixunil avatar Dec 22 '21 18:12 Kixunil

I tried that, but still getting error. /usr/bin/ld: cannot find -llibscrypt::scrypt

Could you check that also? Thanks.

hobbydev71 avatar Dec 22 '21 19:12 hobbydev71

No clue then, I don't use this library for a long time. Just random guess maybe you forgot to add -lscrypt argument.

Kixunil avatar Dec 23 '21 12:12 Kixunil

Sorry, could you tell me in details? How can I update the cmakelist to compile this on project?

hobbydev71 avatar Dec 23 '21 18:12 hobbydev71

I can't really comment on any package Ubuntu has delivered, and I can't offer much regarding an unnamed project's cmakelist.

In general I recommend pulling this repo as a subrepo of your own project, then you can link against it and avoid assumptions about end user distributions and their packages.

technion avatar Dec 24 '21 05:12 technion

@hobbydev71 I don't know anything about cmakelists unfortunately.

Kixunil avatar Dec 24 '21 09:12 Kixunil