<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум Рутокен &mdash; Ошибка wrong ELF class: ELFCLASS32]]></title>
	<link rel="self" href="https://forum.rutoken.ru/feed/atom/topic/1991/" />
	<updated>2013-12-11T13:31:30Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.rutoken.ru/topic/1991/</id>
		<entry>
			<title type="html"><![CDATA[Re: Ошибка wrong ELF class: ELFCLASS32]]></title>
			<link rel="alternate" href="https://forum.rutoken.ru/post/6810/#p6810" />
			<content type="html"><![CDATA[<p>А вы вообще по ГОСТ хотите подписывать? Тогда причем здесь libsst.so?</p>]]></content>
			<author>
				<name><![CDATA[Виктор Ткаченко]]></name>
				<uri>https://forum.rutoken.ru/user/8327/</uri>
			</author>
			<updated>2013-12-11T13:31:30Z</updated>
			<id>https://forum.rutoken.ru/post/6810/#p6810</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Ошибка wrong ELF class: ELFCLASS32]]></title>
			<link rel="alternate" href="https://forum.rutoken.ru/post/6800/#p6800" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[willrock]]></name>
				<uri>https://forum.rutoken.ru/user/9246/</uri>
			</author>
			<updated>2013-12-09T12:47:33Z</updated>
			<id>https://forum.rutoken.ru/post/6800/#p6800</id>
		</entry>
</feed>
