Re: Compiling gcc 4.5.3

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

 



On 10/17/2011 02:09 PM, Jonathan Wakely wrote:
On 17 October 2011 21:41, Daniel Fulton wrote:
FYI to the google searchers.

Default behaviour on Fedora 15 is to not use the $LD_LIBRARY_PATH variable,
so I believe my build was not seeing the appropriate libstdc++.  It appears
I have installed successfully by exporting /usr/lib and /usr/lib64 to
Those directories should be in ldconfig's search path, you probably
just needed to re-run ldconfig (or reboot)

After reboot (or ldconfig) build will still produce an error with missing libstdc++. Manually adding to $LD_LIBRARY_PATH still fixes it. I notice that /usr/lib* /usr/local/lib* are not included in /etc/ld.so.conf ... by default? I thought that red hat based systems did not typically include /usr/local/lib in the library search path, but it seems strange to me that /usr/lib is not there.
LD_LIBRARY_PATH.  I also included option
--enable-version-specific-runtime-libs when running configure, to avoid
conflicts with my already existing libraries.
That might be a problem, --enable-version-specific-runtime-libs is
broken on amd64 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32415

Thanks for the heads up on this one.


[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