Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versioning issue? #45

Open
craigersvt opened this issue Jul 15, 2024 · 0 comments
Open

Versioning issue? #45

craigersvt opened this issue Jul 15, 2024 · 0 comments

Comments

@craigersvt
Copy link

Hi When I try to make CLI I get undefined references. Could this be a versioning issue? Thanks!

licensepp/cli$ make
g++ main.cc licensing/license-manager-key-register.cc -I/usr/local/lib -llicensepp -std=c++11 -O3 -o license-manager
/usr/bin/ld: /usr/local/lib/liblicensepp.so: undefined reference to Ripe::base64Encode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/bin/ld: /usr/local/lib/liblicensepp.so: undefined reference to Ripe::encryptRSA(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'
/usr/bin/ld: /usr/local/lib/liblicensepp.so: undefined reference to Ripe::encryptAES(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/bin/ld: /usr/local/lib/liblicensepp.so: undefined reference to Ripe::decryptRSA(std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool, bool, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'
/usr/bin/ld: /usr/local/lib/liblicensepp.so: undefined reference to Ripe::hexToString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/bin/ld: /usr/local/lib/liblicensepp.so: undefined reference to Ripe::base64Decode(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'
/usr/bin/ld: /usr/local/lib/liblicensepp.so: undefined reference to Ripe::signRSA(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/bin/ld: /usr/local/lib/liblicensepp.so: undefined reference to Ripe::generateNewKeyabi:cxx11'
/usr/bin/ld: /usr/local/lib/liblicensepp.so: undefined reference to Ripe::decryptAES(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool, bool)' /usr/bin/ld: /usr/local/lib/liblicensepp.so: undefined reference to Ripe::stringToHex(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'
/usr/bin/ld: /usr/local/lib/liblicensepp.so: undefined reference to `Ripe::verifyRSA(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'
collect2: error: ld returned 1 exit status
make: *** [Makefile:2: license-manager] Error 1

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

No branches or pull requests

1 participant