Re: libstdc++.so: undefined reference to

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



lulu he <loloseed@xxxxxxxxx> writes:

> I finally fix it by rename libgcc_s.so.1 .
> mv /usr/local/lib64/libgcc_s.so.1 /usr/local/lib64/libgcc_s.so.1.old
>
> Everything is fine!
>
> But why???

A key point here is that the error is not coming from gcc.  It is
coming from the dynamic linker.  The search patch used by the dynamic
linker to find libraries at runtime is different from the search path
used by gcc (really the linker as directed by gcc) to find libraries
at link time.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux