{"id":8293,"date":"2023-08-08T09:55:15","date_gmt":"2023-08-08T00:55:15","guid":{"rendered":"https:\/\/gunmagisgeek.com\/blog\/?p=8293"},"modified":"2023-08-09T18:06:38","modified_gmt":"2023-08-09T09:06:38","slug":"import-pdal%e3%81%a7%e3%80%8clibpdal_base-so%e3%80%8d%e3%81%8c%e8%a6%8b%e3%81%a4%e3%81%8b%e3%82%89%e3%81%aa%e3%81%84%e3%81%a8%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%8c%e3%81%a7%e3%82%8b%e5%a0%b4%e5%90%88","status":"publish","type":"post","link":"https:\/\/gunmagisgeek.com\/blog\/troubleshooting\/8293","title":{"rendered":"import pdal\u3067\u300clibpdal_base.so\u300d\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u3068\u30a8\u30e9\u30fc\u304c\u3067\u308b\u5834\u5408\u306e\u5bfe\u7b56"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u73fe\u8c61<\/h2>\n\n\n\n<p>pdal\u3092conda\u3092\u4f7f\u308f\u305a\u3001\u30ea\u30ea\u30fc\u30b9\u30d0\u30f3\u30c9\u30eb\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u306b\u8d77\u3053\u308b\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/pdal.io\/en\/latest\/development\/compilation\/unix.html\" data-type=\"URL\" data-id=\"https:\/\/pdal.io\/en\/latest\/development\/compilation\/unix.html\">Unix Compilation<\/a><\/p>\n\n\n\n<p>pdal\u30b3\u30de\u30f3\u30c9\u81ea\u4f53\u306f\u554f\u984c\u306a\u304f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u554f\u984c\u306a\u304f\u3064\u304b\u3048\u308b\u304c\u3001pip\u3067python\u7528\u306epdal\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001python\u30b3\u30fc\u30c9\u3067&#8221;import pdal&#8221;\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u300clibpdal_base.so\u300d\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u3068\u30a8\u30e9\u30fc\u304c\u3067\u3066Ptython\u304b\u3089pdal\u304c\u4f7f\u3048\u306a\u3044\u3068\u3044\u3046\u73fe\u8c61\u3002<\/p>\n\n\n\n<p>\u30b0\u30b0\u308b\u3068\u540c\u69d8\u306e\u4e8b\u4f8b\u304c\u3044\u304f\u3064\u304b\u307f\u304b\u3051\u308b\u304c\u3001\u81ea\u5206\u304c\u691c\u7d22\u3057\u305f\u7bc4\u56f2\u3067\u306f\u89e3\u6c7a\u7b56\u304c\u63d0\u793a\u3055\u308c\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u8a18\u8f09\u3057\u3066\u304a\u304f\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>File \"\/usr\/local\/lib\/python3.8\/dist-packages\/pdal\/__init__.py\", line 4, in &lt;module&gt;\n     from . import libpdalpython \nImportError: libpdal_base.so.13: cannot open shared object file: No such file or directory<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u89e3\u6c7a\u7b56<\/h2>\n\n\n\n<p>\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u7d42\u308f\u3063\u305f\u3089\u3001&#8221;ldconfig&#8221;\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u5171\u901a\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u8a8d\u8b58\u3055\u305b\u308b<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:zsh mark:9 highlight:0 decode:true \" title=\"example\">$ wget https:\/\/github.com\/PDAL\/PDAL\/releases\/download\/2.5.4\/PDAL-2.5.4-src.tar.bz2\n$ tar -xvf PDAL-2.5.4-src.tar.bz2\n$ cd PDAL-2.5.4-src\n$ mkdir build\n$ cd build\n$ cmake -G Ninja ..\n$ ninja\n$ ninja install\n$ ldconfig<\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u73fe\u8c61 pdal\u3092conda\u3092\u4f7f\u308f\u305a\u3001\u30ea\u30ea\u30fc\u30b9\u30d0\u30f3\u30c9&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-8293","post","type-post","status-publish","format-standard","hentry","category-troubleshooting"],"_links":{"self":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts\/8293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/comments?post=8293"}],"version-history":[{"count":19,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts\/8293\/revisions"}],"predecessor-version":[{"id":8315,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts\/8293\/revisions\/8315"}],"wp:attachment":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/media?parent=8293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/categories?post=8293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/tags?post=8293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}