{"id":5832,"date":"2022-05-16T18:48:05","date_gmt":"2022-05-16T10:48:05","guid":{"rendered":"https:\/\/blog.iyatt.com\/?p=5832"},"modified":"2024-05-05T14:19:06","modified_gmt":"2024-05-05T06:19:06","slug":"linux-%e4%b8%8b%e7%a8%8b%e5%ba%8f%e4%be%9d%e8%b5%96%e5%ba%93%e6%89%93%e5%8c%85","status":"publish","type":"post","link":"https:\/\/blog.iyatt.com\/?p=5832","title":{"rendered":"Linux \u4e0b\u7a0b\u5e8f\u4f9d\u8d56\u5e93\u6253\u5305"},"content":{"rendered":"\n<p>\u5728\u5f00\u53d1\u4e2d\uff0c\u7ecf\u5e38\u4f1a\u4f7f\u7528\u5230\u7b2c\u4e09\u65b9\u5e93\uff0c\u6709\u4e9b\u662f\u9759\u6001\u5e93\uff0c\u5728\u7f16\u8bd1\u6210\u53ef\u6267\u884c\u6587\u4ef6\u7684\u65f6\u5019\u5c31\u590d\u5236\u4e86\u4e00\u4efd\uff0c\u800c\u53e6\u5916\u4e00\u4e9b\u5219\u662f\u52a8\u6001\u5e93\uff0c\u53ea\u5728\u6267\u884c\u7684\u65f6\u5019\u624d\u4ece\u7cfb\u7edf\u4e2d\u5bfb\u627e\u5e76\u52a0\u8f7d\u3002<\/p>\n\n\n\n<p>\u9ed8\u8ba4\u5bfb\u627e\u52a8\u6001\u5e93\u7684\u8def\u5f84\u5982 \/lib\u3001\/lib32\u3001\/lib64\u3001\/usr\/lib\u3001\/usr\/lib32\u3001\/usr\/lib64 \u4ee5\u53ca LD_LIBRARY_PATH \u73af\u5883\u53d8\u91cf\u4e2d\u6307\u5b9a\u7684\u8def\u5f84\u548c\u7a0b\u5e8f\u6587\u4ef6\u81ea\u5df1\u6240\u5728\u7684\u76ee\u5f55\u4e0b\uff0c\u5982\u679c\u5c06\u7f16\u8bd1\u597d\u7684\u53ef\u6267\u884c\u7a0b\u5e8f\u590d\u5236\u5230\u53e6\u5916\u4e00\u53f0\u6ca1\u6709\u914d\u7f6e\u5f00\u53d1\u73af\u5883\u7684\u8ba1\u7b97\u673a\u4e0a\uff0c\u90a3\u4e48\u5c31\u53ef\u80fd\u56e0\u4e3a\u6ca1\u6709\u5bf9\u5e94\u9700\u8981\u7684\u52a8\u6001\u5e93\u800c\u65e0\u6cd5\u8fd0\u884c\u3002\u89e3\u51b3\u65b9\u6cd5\u5c31\u662f\u5c06\u7a0b\u5e8f\u4f9d\u8d56\u7684\u52a8\u6001\u5e93\u6587\u4ef6\u4e00\u8d77\u590d\u5236\u5e76\u653e\u7f6e\u5230\u7a0b\u5e8f\u6587\u4ef6\u6240\u5728\u76ee\u5f55\u4e0b\uff0c\u518d\u6574\u4e2a\u4e00\u8d77\u53d1\u5e03\u7ed9\u522b\u7684\u8ba1\u7b97\u673a\u4f7f\u7528\u3002<\/p>\n\n\n\n<p>\u4f7f\u7528 ldd \u547d\u4ee4\u53ef\u4ee5\u67e5\u8be2\u7a0b\u5e8f\u6587\u4ef6\u4f9d\u8d56\u7684\u52a8\u6001\u5e93\u6587\u4ef6\u8def\u5f84<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"822\" height=\"218\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-26.png\" alt=\"\" class=\"wp-image-5833 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-26.png 822w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-26-300x80.png 300w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-26-768x204.png 768w\" data-sizes=\"(max-width: 822px) 100vw, 822px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 822px; --smush-placeholder-aspect-ratio: 822\/218;\" \/><\/figure>\n\n\n\n<p>\u7136\u540e\u7ed3\u5408\u4e00\u7cfb\u5217\u6307\u4ee4\u5b8c\u6210\u590d\u5236\uff0c\u4e00\u822c\u5c31\u62f7\u8d1d\u5230\u53ef\u6267\u884c\u6587\u4ef6\u6240\u5728\u7684\u8def\u5f84\u4e0b<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ldd [\u4e8c\u8fdb\u5236\u6587\u4ef6] | awk '{print $3}' | xargs -i cp -L {} [\u76ee\u6807\u8def\u5f84]<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"618\" height=\"212\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-27.png\" alt=\"\" class=\"wp-image-5834 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-27.png 618w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-27-300x103.png 300w\" data-sizes=\"(max-width: 618px) 100vw, 618px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 618px; --smush-placeholder-aspect-ratio: 618\/212;\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u5f00\u53d1\u4e2d\uff0c\u7ecf\u5e38\u4f1a\u4f7f\u7528\u5230\u7b2c\u4e09\u65b9\u5e93\uff0c\u6709\u4e9b\u662f\u9759\u6001\u5e93\uff0c\u5728\u7f16\u8bd1\u6210\u53ef\u6267\u884c\u6587\u4ef6\u7684\u65f6\u5019\u5c31\u590d\u5236\u4e86\u4e00\u4efd\uff0c\u800c\u53e6\u5916\u4e00\u4e9b\u5219\u662f\u52a8\u6001\u5e93\uff0c\u53ea\u5728 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"zakra_page_container_layout":"customizer","zakra_page_sidebar_layout":"customizer","zakra_remove_content_margin":false,"zakra_sidebar":"customizer","zakra_transparent_header":"customizer","zakra_logo":0,"zakra_main_header_style":"default","zakra_menu_item_color":"","zakra_menu_item_hover_color":"","zakra_menu_item_active_color":"","zakra_menu_active_style":"","zakra_page_header":true,"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[1,607],"tags":[],"class_list":["post-5832","post","type-post","status-publish","format-standard","hentry","category-all","category-linux-"],"modified_by":"IYATT-yx","_links":{"self":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/5832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5832"}],"version-history":[{"count":0,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/5832\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}