Subject: Re: [htdig3-dev] [htdig] libstdc++, cannot find, but I have it
From: Gilles Detillieux (firstname.lastname@example.org)
Date: Fri Feb 25 2000 - 09:11:20 PST
According to Vadim Chekan:
> If I use 2.95 compiler on link stage there appears "-L/usr/lib" flag
> and objects which are compiled by 2.95 compiler are linked against
> 22.214.171.124's /usr/lib/libstdc++ instead of 2.95's /usr/local/lib/libstdc++
> This caused a "symbol not found" error. It isn't critical bug because
> it's still possible to compile it by old compiler.
> I don't know who need -L/usr/lib flag.
If I recall, I once came across a C compiler that, when the user supplied
any -I or -L options, the directories listed would override any defaults,
so that if you wanted any of the standard directories searched in addition
to the ones you specified, you had to explicitly specify the standard ones
as well. That was a while ago, but maybe someone else ran into similar
problems, and hence added the -L/usr/lib as insurance against this.
If it's a problem on your system, then you should change the options
in your Makefile.config, but I don't know if it's a good idea to remove
this from the distributed version.
-- Gilles R. Detillieux E-mail: <email@example.com> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to firstname.lastname@example.org You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Fri Feb 25 2000 - 09:16:19 PST