[aur-general] Gcc-6.3: ldd shows wrong symbols

Stefan Husmann stefan-husmann at t-online.de
Wed Jun 28 00:56:56 UTC 2017


Hello,

I have put gcc63 to AUR, merely to have a working gcj implemetation, but
something is wrong with it. If I compile anything with it, ldd shows
that the resulting binaries have wrong symbols. For  instance,

ldd ~/paketierung/meine_Pakete/fotoxx/pkg/fotoxx/usr/bin/fotoxx |grep -v usr
        linux-vdso.so.1 (0x00007ffcbe5cf000)
        libstdc++.so.6 => /lib/gcc/x86_64-pc-linux-gnu/6.3.1/libstdc++.so.6 (0x00007fd4fb0e7000)
        libgcc_s.so.1 => /lib/gcc/x86_64-pc-linux-gnu/6.3.1/libgcc_s.so.1 (0x00007fd4fabbe000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fd4fe8d6000)

IMHO it should be libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/libstdc++.so.6

What am I doing wrong? I do not know how to fix this.

fotoxx is written in c++, but this happens also for programs compiled
with gcc or gcj. The pdftk PKGBUILD especially suffers from this, as you
can see in the AUR comments. 

Help is much appreciated.

Best Regards

Stefan


More information about the aur-general mailing list