[htdig3-dev] [htdig] libstdc++, cannot find, but I have it


Subject: [htdig3-dev] [htdig] libstdc++, cannot find, but I have it
From: loic@ceic.com
Date: Fri Feb 25 2000 - 01:01:49 PST


Brian Lavender writes:
> I am trying to compile htdig 3.2.0b.
>
> I believe I have the libstdc++ on my system, but it appears that make
> cannot open it. I am using debian GNU/Linux. I went into dselect and
> it appears that libstdc++ is installed. Below is the error I get. What
> should I look for?

 Could you, please, run

 sh config.guess ; echo 'main(){}' > /tmp/a.C ; g++ -v /tmp/a.C

> Before this I did
>
> $ ./configure
>
> to generate the make file.
>
> Results from make just before error.
>
> cd tmp ; ar x ../libhtdb.a ; gcc -shared -lz -lstdc++ -o ../libhtdb.so *.o
> ld: cannot open -lstdc++: No such file or directory

 You could try replacing gcc with g++. If this does not work comment out
the lines:

case "$host_os" in
linux*) LIBDBSHARED=libhtdb.so ;;
esac

 in db/dist/configure.in and run

 rm config.cache ; ./configure

 at the top level source directory.

 When we find out how to make it work I'll fix the files accordingly.

 Thanks for your feedback,

-- 
		Loic Dachary

24 av Secretan 75019 Paris Tel: 33 1 42 45 09 16 e-mail: loic@dachary.org URL: http://www.senga.org/

------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Thu Feb 24 2000 - 23:42:19 PST