Re: [cryptopp-users] Failed to compile shared with error: undefined symbol: _ZTIN8CryptoPP21SimpleKeyingInterfaceE

2022-08-18 Thread Cristian Rolando Reyes Chapoñan
Hello Jeff, thanks for the answer, I solved it by also importing the library when compiling the shared one, I put my codes so that someone wants to try to do the same as me. Make file.o === g++ -c -g3 -Wall -Werror -Wextra -fpic file.cpp -l:libcryptopp.a Make file.so g++ -shared -o

Re: [cryptopp-users] Failed to compile shared with error: undefined symbol: _ZTIN8CryptoPP21SimpleKeyingInterfaceE

2022-08-16 Thread Jeffrey Walton
On Tue, Aug 16, 2022 at 1:54 PM Cristian Rolando Reyes Chapoñan wrote: > > Hello everyone, a question when I try to use the package and compile it in > shared form (.so) > and I want to read it I get this: > undefined symbol: > _ZN8CryptoPP21SimpleKeyingInterface6SetKeyEPKhmRKNS_14NameValuePairs