Run ldd -s on the resulting shared librry that generates the error. It should show libstdc++.so coming from two different paths, and will also show which share library each one is coming from. I suspect that one of them is hardcoded in a file you're linking to (not specified on your link line).
Robert On Tue, Apr 24, 2012 at 2:47 PM, Gray, Steve, Wipro < steve.gray.wi...@sonymusic.com> wrote: > In my configure statement I have “LDFLAGS="-L/usr/sfw/lib -R/usr/sfw/lib"* > *** > > I run the configure command with this option and I run the make command > and I still get the “multiple inclusion of file error”**** > > ** ** > > *From:* Robert Boehne [mailto:rboe...@gmail.com] > *Sent:* Tuesday, April 24, 2012 3:12 PM > > *To:* Gray, Steve, Wipro > *Cc:* libtool@gnu.org > *Subject:* Re: multiple inclusion of file**** > > ** ** > > Steve, > > > Find out what the path for libstdc++.so is for the one you want, > then set LDFLAGS=-L/correct/path/ when you build the library that it's > complaining about. > > Note that it may not be PCRE, but it could be something that PCRE links to. > > Use "ldd" or "ldd -s" to find out which libraries are pulling in libstdc++ > and from where. > > HTH, > > Robert**** > > On Tue, Apr 24, 2012 at 11:13 AM, Gray, Steve, Wipro < > steve.gray.wi...@sonymusic.com> wrote:**** > > **** > > Hello, I am in the process of trying to install the PCRE library. I run > the configure command with the various options, and I then run the make > command, and this is when I get the error, “warning: file > /usr/sfw/lib/libstdc++.so: attempted multiple inclusion of file”. I am > on a Solaris 10 operating system. Have you seen this error message? Is > there something that I can do to get past this so that I can get the PCRE > library installed? How do I solve this? If you have had this question > asked before, I apologize for asking again, but I am at my rope’s end > trying to get past this. I am new to PCRE, so if my questions seem > irrelevant or pointless, I apologize. I just need to get started. If you > would like me to send you my configure options, I can do that, or any other > information that you need from me, I’ll be glad to provide.**** > > **** > > Thanks**** > > **** > > > _______________________________________________ > https://lists.gnu.org/mailman/listinfo/libtool**** > > ** ** >
<<image001.gif>>
_______________________________________________ https://lists.gnu.org/mailman/listinfo/libtool