Re: Trouble with libstdc++

554 views
Skip to first unread message

Tony Raymond

unread,
Jul 31, 2012, 3:49:26 PM7/31/12
to Cristian Alejandro Rojas, abyss-users
Hi Cristian,

Was your question here fixed in the other thread when you applied the patch?

As far as I know, linux should search in your LD_LIBRARY_PATH for the library files first. So if the specific files are there, then it should use the them.

Thanks,
Tony

On 2012-07-24, at 5:14 PM, Cristian Alejandro Rojas wrote:

Hello!

I have a CentOS 5.8  with gcc4.1 by default. I installed gcc44 from repositories and i tried to Compile Abyss with gcc44. I don't hava any problems on compiling with gcc44 but when i try to run i get the following error:

[render:10857] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x2b6edbc50285]
[render:10857] [ 2] /lib64/libc.so.6(abort+0x110) [0x2b6edbc51d30]
[render:10857] [ 3] /usr/lib64/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x114) [0x387d8bed94]
[render:10857] [ 4] /usr/lib64/libstdc++.so.6 [0x387d8bce46]
[render:10857] [ 5] /usr/lib64/libstdc++.so.6 [0x387d8bce73]

These are the libstdc++ of my gcc version

/usr/lib/gcc/i386-redhat-linux6E/4.4.6/libstdc++_nonshared.a
/usr/lib/gcc/i386-redhat-linux6E/4.4.6/libstdc++.so
/usr/lib/gcc/i386-redhat-linux6E/4.4.6/libstdc++.a
/usr/lib/gcc/x86_64-redhat-linux6E/4.4.6/libstdc++_nonshared.a
/usr/lib/gcc/x86_64-redhat-linux6E/4.4.6/libstdc++.so
/usr/lib/gcc/x86_64-redhat-linux6E/4.4.6/32/libstdc++_nonshared.a
/usr/lib/gcc/x86_64-redhat-linux6E/4.4.6/32/libstdc++.so
/usr/lib/gcc/x86_64-redhat-linux6E/4.4.6/32/libstdc++.a
/usr/lib/gcc/x86_64-redhat-linux6E/4.4.6/libstdc++.a

And this is my $LD_LIBRARY_PATH when i tried to compile Abyss

echo $LD_LIBRARY_PATH
/usr/lib/gcc/x86_64-redhat-linux6E/4.4.6:/usr/lib/gcc/i386-redhat-linux6E/4.4.6:/usr/lib/gcc/x86_64-redhat-linux6E/4.4.6/32:/home/velvet/customcompiled/lib:

This is the ldd command of abyss

ldd ABYSS
        linux-vdso.so.1 =>  (0x00007fff7f3fd000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00000038ee600000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00000038f0600000)
        libm.so.6 => /lib64/libm.so.6 (0x00000038eea00000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00000038f0200000)
        libc.so.6 => /lib64/libc.so.6 (0x00000038ee200000)
        /lib64/ld-linux-x86-64.so.2 (0x00000038ede00000)

How can i specify to abyss that should use my $LD_LIBRARY_PATH to compile?

 

Cristian Alejandro Rojas

unread,
Jul 31, 2012, 4:02:33 PM7/31/12
to abyss...@googlegroups.com, Cristian Alejandro Rojas
Hi Tony!

I couldn't compile with gcc 44, but then i found the patches and i compiled with gcc 4.1

Thanks anyway :)
Reply all
Reply to author
Forward
0 new messages