{"id":6716,"date":"2026-11-17T09:00:00","date_gmt":"2026-11-17T07:00:00","guid":{"rendered":"https:\/\/skeletor.org.ua\/?p=6716"},"modified":"2026-03-19T16:04:01","modified_gmt":"2026-03-19T14:04:01","slug":"solaris-%d0%b4%d0%b5%d1%8f%d0%ba%d1%96-%d0%bd%d1%8e%d0%b0%d0%bd%d1%81%d0%b8-%d0%b7%d0%b1%d1%96%d1%80%d0%ba%d0%b8-%d0%b2-rust","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=6716","title":{"rendered":"[Solaris] \u0414\u0435\u044f\u043a\u0456 \u043d\u044e\u0430\u043d\u0441\u0438 \u0437\u0431\u0456\u0440\u043a\u0438 \u0432 rust"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u042f\u043a\u043e\u0441\u044c \u043c\u0435\u043d\u0456 \u0442\u0440\u0435\u0431\u0430 \u0431\u0443\u043b\u043e \u0437\u0456\u0431\u0440\u0430\u0442\u0438 <strong>maturin<\/strong>, \u0430\u043b\u0435 \u0432\u0456\u043d \u0447\u043e\u043c\u0443\u0441\u044c \u043d\u0435 \u043c\u0456\u0433 \u0437\u0456\u0431\u0440\u0430\u0442\u0438\u0441\u044f \u0437 <strong>openssl-3<\/strong>, \u043f\u043e\u0441\u0442\u0456\u0439\u043d\u043e \u0437\u0431\u0438\u0440\u0430\u0432\u0441\u044f \u043b\u0438\u0448\u0435 \u0437 <strong>openssl-1<\/strong>. \u041e\u0441\u044c \u044f\u043a\u0456 <strong>ENV <\/strong>\u043f\u0440\u043e\u0431\u0443\u0432\u0430\u0432<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>export OPENSSL_DIR=\/usr\/openssl\/3\nexport OPENSSL_LIB_DIR=\/usr\/openssl\/3\/lib\nexport OPENSSL_INCLUDE_DIR=\/usr\/openssl\/3\/include\nexport PKG_CONFIG_PATH=\/usr\/openssl\/3\/lib\/pkgconfig\nexport LD_LIBRARY_PATH=\/usr\/openssl\/3\/lib:$LD_LIBRARY_PATH\nexport OPENSSL_NO_PKG_CONFIG=1\nexport CFLAGS=\"-I\/usr\/openssl\/3\/include\"\nexport LDFLAGS=\"-L\/usr\/openssl\/3\/lib\"\nexport OPENSSL_LIBS=\/usr\/openssl\/3\/lib\nexport OPENSSL_LIBS=\/usr\/openssl\/3\/lib\/amd64\/\nexport OPENSSL_LIBS=\/usr\/openssl\/3\/\nexport OPENSSL_LIBS=\"-L\/usr\/openssl\/3\/64 -lssl -lcrypto\"\nexport OPENSSL_NO_VENDOR=yes<\/code><\/pre>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">\u0422\u043e\u0431\u0442\u043e, <strong>ENV<\/strong> \u043f\u0440\u0438\u0441\u0443\u0442\u043d\u0456\u0439 \u0432 <strong>Makefile<\/strong>, \u0430\u043b\u0435 \u043d\u0430 \u0435\u0442\u0430\u043f\u0456 \u043a\u043e\u043c\u043f\u0456\u043b\u044f\u0446\u0456\u0457 \u0432\u043e\u043d\u043e \u0456\u0433\u043d\u043e\u0440\u0443\u0454\u0442\u044c\u0441\u044f.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0414\u043e\u0432\u0435\u043b\u043e\u0441\u044f \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u0438 <strong>dtrace <\/strong>\u0456 \u0434\u0438\u0432\u0438\u0442\u0438\u0441\u044f, \u0434\u0435 \u0432\u043e\u043d\u043e \u0448\u0443\u043a\u0430\u0454 <strong>openssl<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  1503 996167 ld             4 \/usr\/openssl\/3\/lib\/libssl.so\n  1503 996167 ld            -1 \/usr\/lib\/amd64\/rustlib\/x86_64-pc-solaris\/lib\/libssl.so\n  1503 996167 ld            -1 \/usr\/lib\/amd64\/rustlib\/x86_64-pc-solaris\/lib\/libssl.so\n  1503 996167 ld            -1 \/usr\/gcc\/14\/lib\/gcc\/x86_64-pc-solaris2.11\/14.2.0\/libssl.so\n  1503 996167 ld            -1 \/usr\/gcc\/14\/lib\/gcc\/x86_64-pc-solaris2.11\/14.2.0\/..\/..\/..\/amd64\/libssl.so\n  1503 996167 ld             4 \/lib\/amd64\/libssl.so<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0404\u0434\u0438\u043d\u0438\u0439 <strong>workaround <\/strong>&#8211; \u0446\u0435 \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u043d\u0438\u0439 <strong>symlink<\/strong>, \u0431\u043e \u0454 \u043f\u0440\u0438\u043f\u0443\u0449\u0435\u043d\u043d\u044f, \u0449\u043e \u0446\u0435 <strong>hardcode <\/strong>\u0430\u0431\u043e <strong>bug <\/strong>\u0432\u0438\u043a\u043b\u044e\u0447\u043d\u043e \u043f\u0456\u0434 <strong>Solaris<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># cd \/usr\/lib\/amd64\/rustlib\/x86_64-pc-solaris\/lib\n# ln -s ..\/..\/..\/..\/..\/openssl\/3\/lib\/amd64\/libcrypto.so\n# ln -s ..\/..\/..\/..\/..\/openssl\/3\/lib\/amd64\/libssl.so\n# ln -s ..\/..\/..\/..\/..\/openssl\/3\/lib\/amd64\/libssl.a<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u042f\u043a\u043e\u0441\u044c \u043c\u0435\u043d\u0456 \u0442\u0440\u0435\u0431\u0430 \u0431\u0443\u043b\u043e \u0437\u0456\u0431\u0440\u0430\u0442\u0438 maturin, \u0430\u043b\u0435 \u0432\u0456\u043d \u0447\u043e\u043c\u0443\u0441\u044c \u043d\u0435 \u043c\u0456\u0433 \u0437\u0456\u0431\u0440\u0430\u0442\u0438\u0441\u044f \u0437 openssl-3, \u043f\u043e\u0441\u0442\u0456\u0439\u043d\u043e \u0437\u0431\u0438\u0440\u0430\u0432\u0441\u044f \u043b\u0438\u0448\u0435 \u0437 openssl-1. \u041e\u0441\u044c \u044f\u043a\u0456 ENV \u043f\u0440\u043e\u0431\u0443\u0432\u0430\u0432<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,14,24],"tags":[],"class_list":["post-6716","post","type-post","status-publish","format-standard","hentry","category-others","category-programming","category-solaris"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/6716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6716"}],"version-history":[{"count":1,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/6716\/revisions"}],"predecessor-version":[{"id":6717,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/6716\/revisions\/6717"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6716"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6716"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}