This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiling gcc 4.5.3


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]