Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>@KingsIndian. Thanks a bunch for your output, which helped me track down and solve that annoying problem. </p> <p>Solution: 'apt-get remove binutils-gold' and recompile/link.</p> <p>Reason: ld.gold does not add the libgslcblas, while the standard linke does it. </p> <p>ldd output of my executable:</p> <pre><code>&gt; ldd a.out &gt; linux-vdso.so.1 =&gt; (0x00007fffb67ff000) &gt; libgsl.so.0 =&gt; /usr/lib/libgsl.so.0 (0x00007f0819468000) &gt; libc.so.6 =&gt; /lib/x86_64-linux-gnu/libc.so.6 (0x00007f08190a9000) &gt; libm.so.6 =&gt; /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0818dac000) &gt; /lib64/ld-linux-x86-64.so.2 (0x00007f08198cd000) </code></pre> <p>We see the glaring omission of libgslcblas! I copied my code to another ubuntu system (which is running 12.04.1 lts as well and compiled it. Lo and behold, the same program runs after compiling with the same compiler switches! </p> <ul> <li>Comparing the versions of gcc showed that they are exactly the same on both systems (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)). </li> <li>The installed gsl.so files are identical as well, which is expected with two updated systems of the same version.</li> </ul> <p>Perhaps the linkers are different?</p> <p>On my 'problem system':</p> <blockquote> <p>ld -v GNU gold (GNU Binutils for Ubuntu 2.22) 1.11</p> </blockquote> <p>On the 'good system':</p> <blockquote> <p>ld -v GNU ld (GNU Binutils for Ubuntu) 2.22</p> </blockquote> <p>Removing binutils gold and recompiling the test program, and .. success!</p> <p>Bottom line: Linker problem, solved. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload