{"id":4550,"date":"2014-03-30T13:28:01","date_gmt":"2014-03-30T13:28:01","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-search-path-collection-of-common-programming-errors\/"},"modified":"2014-03-30T13:28:01","modified_gmt":"2014-03-30T13:28:01","slug":"problem-about-search-path-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-search-path-collection-of-common-programming-errors\/","title":{"rendered":"problem about search-path-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e2cdc562712df2362811fa3702b67893?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nDmitry<br \/>\nxcode osx dyld search-path<br \/>\nI have a framework with installation directory @rpath and app with runpath search path @loader_path\/..\/Frameworks which uses this framework.After building I have My.app and My.framework in Build\/Products\/Debug directory and I don&#8217;t copy My.framework into My.app bundle.If I run My.app from Xcode it runs and loads framework from Build\/Products\/Debug directory. If I run my app from Finder it can&#8217;t load the framework as expected.Does Xcode set runtime search path and how? DYLD_LIBRARY_PATH?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/fc77d5a13726cfd5528da0f809153956?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nalanc<br \/>\nlinker runtime shared-libraries solaris search-path<br \/>\nI&#8217;m trying to compile samtools on a Solaris server where I do not have root. Samtools depends on zlib. The system zlib on this machine is not compiled with large file support, so compiling samtools against this version has the expected effect: samtools only handle small files. I need it to be able to handle large files. Luckily, there is a version of zlib compiled by the admin in \/usr\/local\/apps\/zlib-1.2.5\/ with large file support. I can compile against this by adding -R \/usr\/local\/apps\/zlib-1.2<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/bd1abbefb37e6a91831bbc1ac7279456?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\njhfrontz<br \/>\npostgresql search-path libpqxx<br \/>\nI want to create a test environment where the basic underlying postgres database is overlain with an instance-localized private view, such that all queries from a specific set of processes go through the private view while other (potentially concurrent or merely subsequent) processes would remain unaffected.I think I can do something like this using the search_path mechanism, but it&#8217;s not clear if I can do that transparently (e.g., without having each application execute some set of SQL setup fo<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dmitry xcode osx dyld search-path I have a framework with installation directory @rpath and app with runpath search path @loader_path\/..\/Frameworks which uses this framework.After building I have My.app and My.framework in Build\/Products\/Debug directory and I don&#8217;t copy My.framework into My.app bundle.If I run My.app from Xcode it runs and loads framework from Build\/Products\/Debug directory. If [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4550","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4550","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4550"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4550\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4550"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}