what ever is going on it appears to be related to my local install of
openssl. After compiling and linking to openssl built from source
everything is fine.

On Thu, Sep 28, 2017 at 12:33 PM, Cory Mickelson <mickelsonc...@gmail.com>
wrote:

> Hello, I found the previous thread for the exact same error with version
> 0.9.4. I am using openssl 1.1.0 on linux and get the following error:
>
> /home/skyslope/CMakeProjects/podofo/build/src/libpodofo.a(PdfEncrypt.cpp.o):
> In function `PoDoFo::PdfEncryptSHABase::ComputeUserKey(unsigned char
> const*, int)':
> PdfEncrypt.cpp:(.text+0x651d): undefined reference to
> `EVP_CIPHER_CTX_init'
> PdfEncrypt.cpp:(.text+0x6718): undefined reference to
> `EVP_CIPHER_CTX_cleanup'
> /home/skyslope/CMakeProjects/podofo/build/src/libpodofo.a(PdfEncrypt.cpp.o):
> In function `PoDoFo::PdfEncryptSHABase::ComputeOwnerKey(unsigned char
> const*, int)':
> PdfEncrypt.cpp:(.text+0x69c2): undefined reference to
> `EVP_CIPHER_CTX_init'
> PdfEncrypt.cpp:(.text+0x6bbd): undefined reference to
> `EVP_CIPHER_CTX_cleanup'
> /home/skyslope/CMakeProjects/podofo/build/src/libpodofo.a(PdfEncrypt.cpp.o):
> In function `PoDoFo::PdfEncryptAESV3::GenerateEncryptionKey(PoDoFo::PdfString
> const&)':
> PdfEncrypt.cpp:(.text+0x7e91): undefined reference to
> `EVP_CIPHER_CTX_init'
> PdfEncrypt.cpp:(.text+0x8088): undefined reference to
> `EVP_CIPHER_CTX_cleanup'
> /home/skyslope/CMakeProjects/podofo/build/src/libpodofo.a(PdfEncrypt.cpp.o):
> In function `PoDoFo::AESCryptoEngine::AESCryptoEngine()':
> PdfEncrypt.cpp:(.text._ZN6PoDoFo15AESCryptoEngineC2Ev[_
> ZN6PoDoFo15AESCryptoEngineC5Ev]+0x14): undefined reference to
> `EVP_CIPHER_CTX_init'
> /home/skyslope/CMakeProjects/podofo/build/src/libpodofo.a(PdfEncrypt.cpp.o):
> In function `PoDoFo::AESCryptoEngine::~AESCryptoEngine()':
> PdfEncrypt.cpp:(.text._ZN6PoDoFo15AESCryptoEngineD2Ev[_
> ZN6PoDoFo15AESCryptoEngineD5Ev]+0x14): undefined reference to
> `EVP_CIPHER_CTX_cleanup'
> /home/skyslope/CMakeProjects/podofo/build/src/libpodofo.a(PdfEncrypt.cpp.o):
> In function `PoDoFo::RC4CryptoEngine::RC4CryptoEngine()':
> PdfEncrypt.cpp:(.text._ZN6PoDoFo15RC4CryptoEngineC2Ev[_
> ZN6PoDoFo15RC4CryptoEngineC5Ev]+0x14): undefined reference to
> `EVP_CIPHER_CTX_init'
> /home/skyslope/CMakeProjects/podofo/build/src/libpodofo.a(PdfEncrypt.cpp.o):
> In function `PoDoFo::RC4CryptoEngine::~RC4CryptoEngine()':
> PdfEncrypt.cpp:(.text._ZN6PoDoFo15RC4CryptoEngineD2Ev[_
> ZN6PoDoFo15RC4CryptoEngineD5Ev]+0x14): undefined reference to
> `EVP_CIPHER_CTX_cleanup'
> collect2: error: ld returned 1 exit status
> make[2]: *** [test/ContentParser/CMakeFiles/ContentParser.dir/build.make:111:
> test/ContentParser/ContentParser] Error 1
> make[1]: *** [CMakeFiles/Makefile2:224: 
> test/ContentParser/CMakeFiles/ContentParser.dir/all]
> Error 2
> make: *** [Makefile:130: all] Error 2
>
> Any suggestions?
> What's interesting is that I can install podofo and the podofo utilities
> (podofosign) with the AUR package and this builds and runs fine. It's only
> when I try and build podofo from svn that I get this error.
> Thanks, Cory
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to