<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 896: TOra's build system sets $$ORIGIN value, which provides 'bad substitution' error message</title><link href="https://sourceforge.net/p/tora/bugs/896/" rel="alternate"/><link href="https://sourceforge.net/p/tora/bugs/896/feed.atom" rel="self"/><id>https://sourceforge.net/p/tora/bugs/896/</id><updated>2016-02-23T16:50:12.758000Z</updated><subtitle>Recent changes to 896: TOra's build system sets $$ORIGIN value, which provides 'bad substitution' error message</subtitle><entry><title>#896 TOra's build system sets $$ORIGIN value, which provides 'bad substitution' error message</title><link href="https://sourceforge.net/p/tora/bugs/896/?limit=25#506f" rel="alternate"/><published>2016-02-23T16:50:12.758000Z</published><updated>2016-02-23T16:50:12.758000Z</updated><author><name>Ivan Brezina</name><uri>https://sourceforge.net/u/ibre5041/</uri></author><id>https://sourceforge.net62ac62bf64760084752098a992ef7461fb1991b6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; pending-postponed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#896 TOra's build system sets $$ORIGIN value, which provides 'bad substitution' error message</title><link href="https://sourceforge.net/p/tora/bugs/896/?limit=25#a398" rel="alternate"/><published>2016-02-23T16:46:06.205000Z</published><updated>2016-02-23T16:46:06.205000Z</updated><author><name>Ivan Brezina</name><uri>https://sourceforge.net/u/ibre5041/</uri></author><id>https://sourceforge.neta6ed0eaf1f0ea21b270fcdaa3031acb629f2ba94</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I recall I added both $ORIGIN and $$ORIGIN because cmake might be very cryptic sometimes, when it comes to handling special characters. This guarantees, that then poracle plugin will work regarless of cmake version being used.&lt;/p&gt;
&lt;p&gt;There in so way how to load Oracle client lib libclntsh.so via dlopen. Also there is not way how to change LD_LIBRARY_PATH from runing application. Therefore the plugin poracle.so uses $ORIGIN to point onlo library symlink named libclntsh.so. Then when poracle.so is loaded, libclntsh.so is loaded too.&lt;/p&gt;
&lt;p&gt;This works even if there is no LD_LIBRARY_PATH pointing into ORACLE_HOME.&lt;br/&gt;
And you can switch between various oracle clients libs without changing system env.  variables.&lt;/p&gt;
&lt;p&gt;Lets leave this ticket open for a while. "fixing" it might broke other distros using different version of cmake.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>TOra's build system sets $$ORIGIN value, which provides 'bad substitution' error message</title><link href="https://sourceforge.net/p/tora/bugs/896/" rel="alternate"/><published>2015-05-12T10:20:16.844000Z</published><updated>2015-05-12T10:20:16.844000Z</updated><author><name>Starikov Sergey</name><uri>https://sourceforge.net/u/userid-891264/</uri></author><id>https://sourceforge.netbd86b955d9106090c2646637995ddfa2768abd81</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Building dev-db/tora (up to recent live version) with dev-util/cmake-2.8.12.2-r1 provides the following error messages:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;/var/db/pkg/dev-db/tora-3.0.0_pre20140929/NEEDED.ELF.2: $: bad substitution&lt;br /&gt;
/var/db/pkg/dev-db/tora-3.0.0_pre20140929/NEEDED.ELF.2: $: bad substitution&lt;br /&gt;
/var/db/pkg/dev-db/tora-3.0.0_pre20140929/NEEDED.ELF.2: $: bad substitution&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The following update of build scripts:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;# bug 547520&lt;br /&gt;
   grep -rlZ '$$ORIGIN' . | xargs -0 sed -i 's|:$$ORIGIN&lt;span&gt;[^:"]&lt;/span&gt;*||' || \
       die 'Removal of $$ORIGIN failed'&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Fixes issue.&lt;/p&gt;
&lt;p&gt;See downstream &lt;a class="" href="https://bugs.gentoo.org/show_bug.cgi?id=547520" rel="nofollow"&gt;bug #547520&lt;/a&gt; → &lt;a class="" href="https://bugs.gentoo.org/show_bug.cgi?id=542796" rel="nofollow"&gt;bug #542796&lt;/a&gt; for details.&lt;/p&gt;
&lt;p&gt;To my mind this fix should be included by upstream.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>TOra's build system sets $$ORIGIN value, which provides 'bad substitution' error message</title><link href="https://sourceforge.net/p/tora/bugs/896/" rel="alternate"/><published>2015-05-12T10:20:16.844000Z</published><updated>2015-05-12T10:20:16.844000Z</updated><author><name>Starikov Sergey</name><uri>https://sourceforge.net/u/userid-891264/</uri></author><id>https://sourceforge.net6e2ace23ab24a73a2ee4baa600e1719a8def6dcc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 896 has been modified: TOra's build system sets $$ORIGIN value, which provides 'bad substitution' error message&lt;br/&gt;
Edited By: Ivan Brezina (ibre5041)&lt;br/&gt;
Status updated: u'open' =&amp;gt; u'pending-postponed'&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>