<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум Рутокен &mdash; Ошибка wrong ELF class: ELFCLASS32]]></title>
		<link>https://forum.rutoken.ru/topic/1991/</link>
		<atom:link href="https://forum.rutoken.ru/feed/rss/topic/1991/" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Ошибка wrong ELF class: ELFCLASS32».]]></description>
		<lastBuildDate>Wed, 11 Dec 2013 13:31:30 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Ошибка wrong ELF class: ELFCLASS32]]></title>
			<link>https://forum.rutoken.ru/post/6810/#p6810</link>
			<description><![CDATA[<p>А вы вообще по ГОСТ хотите подписывать? Тогда причем здесь libsst.so?</p>]]></description>
			<author><![CDATA[null@example.com (Виктор Ткаченко)]]></author>
			<pubDate>Wed, 11 Dec 2013 13:31:30 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/6810/#p6810</guid>
		</item>
		<item>
			<title><![CDATA[Ошибка wrong ELF class: ELFCLASS32]]></title>
			<link>https://forum.rutoken.ru/post/6800/#p6800</link>
			<description><![CDATA[<p>При попытке подписать файл, получаю ошибку.<br /><em>./openssl cms -engine pkcs11_gost -sign -in ./file.xml -out ./file.xml.sign&nbsp; -nodetach -binary -signer ./cert.crt -inkey 50 -keyform engine -outform PEM</em><br /></p><div class="codebox"><pre><code>Error configuring OpenSSL
140718954862272:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(/usr/local/openssl/lib/engines/libpkcs11_gost.so): /usr/local/openssl/lib/engines/libpkcs11_gost.so: wrong ELF class: ELFCLASS32
140718954862272:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
140718954862272:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:450:
140718954862272:error:260BC066:engine routines:INT_ENGINE_CONFIGURE:engine configuration error:eng_cnf.c:204:section=pkcs11_section, name=dynamic_path, value=/usr/local/openssl/lib/engines/libpkcs11_gost.so
140718954862272:error:0E07606D:configuration file routines:MODULE_RUN:module initialization error:conf_mod.c:235:module=engines, value=engine_section, retcode=-1</code></pre></div><p>или<br /><em>./openssl<br />OpenSSL&gt; engine -t dynamic -pre SO_PATH:/usr/local/openssl/lib/engines/libpkcs11_gost.so -pre ID:pkcs11 -pre LIST_ADD:1 -pre LOAD -pre MODULE_PATH:/usr/local/lib/libsst.so</em></p><div class="codebox"><pre><code>Error configuring OpenSSL
140557581141696:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(/usr/local/openssl/lib/engines/libpkcs11_gost.so): /usr/local/openssl/lib/engines/libpkcs11_gost.so: wrong ELF class: ELFCLASS32
140557581141696:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
140557581141696:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:450:
140557581141696:error:260BC066:engine routines:INT_ENGINE_CONFIGURE:engine configuration error:eng_cnf.c:204:section=pkcs11_section, name=dynamic_path, value=/usr/local/openssl/lib/engines/libpkcs11_gost.so
140557581141696:error:0E07606D:configuration file routines:MODULE_RUN:module initialization error:conf_mod.c:235:module=engines, value=engine_section, retcode=-1      
error in engine</code></pre></div><p>потом снова<br /><em>OpenSSL&gt; engine -t dynamic -pre SO_PATH:/usr/local/openssl/lib/engines/libpkcs11_gost.so -pre ID:pkcs11 -pre LIST_ADD:1 -pre LOAD -pre MODULE_PATH:/usr/local/lib/libsst.so</em><br /></p><div class="codebox"><pre><code>(dynamic) Dynamic engine loading support
[Success]: SO_PATH:/usr/local/openssl/lib/engines/libpkcs11_gost.so
[Success]: ID:pkcs11
[Success]: LIST_ADD:1
[Failure]: LOAD
140237170341568:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(/usr/local/openssl/lib/engines/libpkcs11_gost.so): /usr/local/openssl/lib/engines/libpkcs11_gost.so: wrong ELF class: ELFCLASS32
140237170341568:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
140237170341568:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:450:
[Failure]: MODULE_PATH:/usr/local/lib/libsst.so
140237170341568:error:260AC089:engine routines:INT_CTRL_HELPER:invalid cmd name:eng_ctrl.c:134:
140237170341568:error:260AB089:engine routines:ENGINE_ctrl_cmd_string:invalid cmd name:eng_ctrl.c:316:
     [ unavailable ]</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (willrock)]]></author>
			<pubDate>Mon, 09 Dec 2013 12:47:33 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/6800/#p6800</guid>
		</item>
	</channel>
</rss>
