{"id":817,"date":"2019-03-07T17:45:44","date_gmt":"2019-03-07T22:45:44","guid":{"rendered":"http:\/\/sunapi386.ca\/wordpress\/?p=817"},"modified":"2019-03-07T17:45:51","modified_gmt":"2019-03-07T22:45:51","slug":"re-link-after-make-install","status":"publish","type":"post","link":"https:\/\/sunapi386.ca\/wordpress\/re-link-after-make-install\/","title":{"rendered":"Re-link After Make Install"},"content":{"rendered":"\n<p>The magical command <code>sudo \/sbin\/ldconfig -v<\/code> reconfigures\/indexes the files you installed into the lib. <\/p>\n\n\n\n<p>For example, if you see errors such as:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>~\/w\/h\/build (master) [127]> curse\ncurse: error while loading shared libraries: libhexer.so.1.1.0: cannot open shared object file: No such file or directory<\/code><\/pre>\n\n\n\n<p>Or similiarly<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>~\/w\/e\/build (master)> entwine\nentwine: error while loading shared libraries: libentwine.so.2: cannot open shared object file: No such file or directory<\/code><\/pre>\n\n\n\n<p>Then go and run the magical command.<\/p>\n\n\n\n<p>Typically this is needed when you do <code>sudo make install<\/code> after compiling some C++ code. I suppose you don&#8217;t need the <code>-v<\/code> verbose flag, because <code>ldconfig - configure dynamic linker run-time bindings<\/code>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The magical command sudo \/sbin\/ldconfig -v reconfigures\/indexes the files you installed into the lib. For example, if you see errors such as: Or similiarly Then go and run the magical command. Typically this is needed when you do sudo make install after compiling some C++ code. I suppose you don&#8217;t need the -v verbose flag, &hellip; <a href=\"https:\/\/sunapi386.ca\/wordpress\/re-link-after-make-install\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Re-link After Make Install<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[],"class_list":["post-817","post","type-post","status-publish","format-standard","hentry","category-thoughts"],"_links":{"self":[{"href":"https:\/\/sunapi386.ca\/wordpress\/wp-json\/wp\/v2\/posts\/817","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sunapi386.ca\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sunapi386.ca\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sunapi386.ca\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sunapi386.ca\/wordpress\/wp-json\/wp\/v2\/comments?post=817"}],"version-history":[{"count":1,"href":"https:\/\/sunapi386.ca\/wordpress\/wp-json\/wp\/v2\/posts\/817\/revisions"}],"predecessor-version":[{"id":818,"href":"https:\/\/sunapi386.ca\/wordpress\/wp-json\/wp\/v2\/posts\/817\/revisions\/818"}],"wp:attachment":[{"href":"https:\/\/sunapi386.ca\/wordpress\/wp-json\/wp\/v2\/media?parent=817"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sunapi386.ca\/wordpress\/wp-json\/wp\/v2\/categories?post=817"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sunapi386.ca\/wordpress\/wp-json\/wp\/v2\/tags?post=817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}