Re: [htdig] ld: cannot open -lstdc++

Subject: Re: [htdig] ld: cannot open -lstdc++
From: Adam Rice (
Date: Thu Aug 17 2000 - 04:42:28 PDT

Humberto Hinojosa wrote:
> Im triying to compile the sources from htdig-3.2.0b2, it woks fine until
> this error:
> ld: cannot open -lstdc++: No such file or directory
> make[2]: *** [] Error 1
> make[2]: Leaving directory `/home/local/htdig-3.2.0b2/db/dist'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/local/htdig-3.2.0b2/db'
> make: *** [all-recursive] Error 1
> I have the ldd: version 1.9.10 with Debian-2.1 & Kernel 2.2.10,
> when I configure with the option --without-shared, it works!
> but htdig cannot show any results.
> Thank You for your Help!

I'm not sure exactly what package you need for 2.1 (I'm running 2.2),
but try to install one or more of the libg++272 libstdc++2.8
libstdc++2.9 packages. You may additionally need the -dev variants of
those packages.

If they are already installed you have another problem (and I don't know
what it is), but running "ldconfig -a" as root is always a safe bet.

Adam Rice

To unsubscribe from the htdig mailing list, send a message to
You will receive a message to confirm this.
List archives: <>
FAQ: <>

This archive was generated by hypermail 2b28 : Wed Aug 16 2000 - 18:46:30 PDT