Re: Problem in library compiled on MinGW-w64: feature is not implemented - crypto
Aleksey Sanin <[email protected]> Sun, 22 Jan 2017 14:04:05 -0800
| Newsgroups | gmane.text.xml.xmlsec |
|---|---|
| Message-ID | <[email protected]> |
Looks like you are not compiling dynamic linking support correctly. Unfortunately, I have no experience with mingw so I don't know what is going on here. Aleksey On 1/21/17 8:49 AM, silvioprog wrote: > Hello, > > This was my all steps before compiling the library: > > # upgrade pacman & repos > pacman -Sy pacman > pacman -Syu > pacman -Su > > # install my development tools (I use CLion and it requires an old GDB > version) > pacman -S mingw-w64-i686-make > pacman -S mingw-w64-i686-gcc > pacman -S mingw-w64-i686-pkg-config > pacman -S mingw-w64-i686-libtool > pacman -S mingw-w64-i686-diffutils > pacman -S libtool > pacman -S autoconf > pacman -S automake-wrapper > pacman -S man-db > pacman -U > http://repo.msys2.org/mingw/i686/mingw-w64-i686-gdb-7.11.1-4-any.pkg.tar.xz > # unfortunatelly it it necessary > cp /mingw32/bin/mingw32-make.exe /mingw32/bin/make.exe > > # openssl > pacman -S mingw-w64-i686-openssl > pkg-config openssl --modversion > 1.0.2j > > cd ~ && cd libxml2-2.9.4 > ./configure --disable-maintainer-mode --enable-rebuild-docs=no > --enable-ipv6=no --without-html --without-ftp --without-http > --without-icu --without-python --without-lzma > make install > pkg-config libxml-2.0 --modversion > 2.9.4 > > cd ~ && cd xmlsec1-1.2.23 > ./configure --with-openssl=/mingw32 --with-libxml=/mingw32 > --disable-maintainer-mode --disable-manpages-build --disable-docs-build > --without-libxslt --without-nss --without-nspr --without-gcrypt > --without-gnutls --enable-crypto-dl --enable-apps-crypto-dl > # just to check if it really compiles > make CFLAGS='-DXMLSEC_CRYPTO_DYNAMIC_LOADING=1' LIBS='-lssl -lcrypto' > make install > > OK, now I have the `libxmlsec1.dll` and `libxmlsec1-openssl.dll` > libraries, however, when I try to use it in an external application > written in Pascal (Delphi): > > func=xmlSecCryptoAppInit:file=app.c:line=1423:obj=unknown:subj=cryptoAppInit:error=9:feature > is not implemented: > func=xmlSecCryptoShutdown:file=app.c:line=69:obj=unknown:subj=cryptoShutdown:error=9:feature > is not implemented: > func=xmlSecCryptoAppShutdown:file=app.c:line=1447:obj=unknown:subj=cryptoAppShutdown:error=9:feature > is not implemented: > > Why?! D: > > I'm trying to compile xmlsec from scratch because its official available > binaries for Windows is a little bit outdated. > > -- > Silvio Clécio > > > _______________________________________________ > xmlsec mailing list > [email protected] > http://www.aleksey.com/mailman/listinfo/xmlsec > _______________________________________________ xmlsec mailing list [email protected] http://www.aleksey.com/mailman/listinfo/xmlsec