On Mon, 15 Apr 2002, Sean 'Shaleh' Perry wrote: > On 15-Apr-2002 William K Baran wrote: > > With a little help from Hal King I was able to solve the problem I had > > when compiling BlackBox on Solaris 2.8. So incase anyone else has or is > > having the same problem, here's what I had to do: > > > > When running configure, explicitely include libstdc++ like so: > > LIBS=-lstdc++ ./configure --prefix=/opt/shared/5.8_sun4u/blackbox > > > > I'm not entirely sure why this was necessary, since libstdc++ was in my > > LD_LIBRARY_PATH. It may have something to do with that library being > > static? That's the only thing I can think would be different than an > > average system. > > > > interesting, will you please add a item in the Tracker. we may not be able to > solve it, but that way other people can find the solution. >
I think LD_LIBRARY_PATH is only used at runtime, this means that the compiler only checks standard directories automatically. Maybe you had libstdc++ in a nonstandard directory. This might be why you had to tell configure. Anyways, it might be only like this on my system (Slackware Linux) Eric