Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1916 - pspell doesn't link std c++ library
Summary: pspell doesn't link std c++ library
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-18 13:50 UTC by jseng
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jseng 2002-04-18 13:50:33 UTC
When emerging balsa (which uses libpspell), I get this error in the 
config.log:

/usr/lib/libpspell.so: undefined reference to `ios virtual table'
/usr/lib/libpspell.so: undefined reference to `ostream::flush(void)'
/usr/lib/libpspell.so: undefined reference to `istream::ios virtual table'
/usr/lib/libpspell.so: undefined reference to `ostream::operator<<(char const *)'
/usr/lib/libpspell.so: undefined reference to `ostream & operator<<<int>(ostream
&, smanip<int> const &)'
/usr/lib/libpspell.so: undefined reference to `ifstream::~ifstream(void)'
/usr/lib/libpspell.so: undefined reference to `__iomanip_setw(ios &, int)'
/usr/lib/libpspell.so: undefined reference to `fstreambase::fstreambase(int,
char const *, int, int)'
/usr/lib/libpspell.so: undefined reference to `ifstream::ios virtual table'
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-18 14:07:02 UTC
and the spell woes mount :(
Comment 2 Tod M. Neidt (RETIRED) gentoo-dev 2002-04-18 15:10:10 UTC
I'm feeling rather futile about now :)
Comment 3 Tod M. Neidt (RETIRED) gentoo-dev 2002-04-18 15:47:06 UTC
I can't reproduce this.

Just merged balsa-1.2.4 without a hitch.  Do you actually have a
/usr/lib/libstdc++* installed.

****ldd /usr/lib/libpspell.so ******

	libltdl.so.3 => /usr/lib/libltdl.so.3 (0x4002d000)
	libpspell-modules.so.1 => /usr/lib/libpspell-modules.so.1 (0x40035000)
	libstdc++-libc6.2-2.so.3 =>
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libstdc++-libc6.2-2.so.3 (0x40037000)
	libm.so.6 => /lib/libm.so.6 (0x40087000)
	libc.so.6 => /lib/libc.so.6 (0x400a9000)
	libdl.so.2 => /lib/libdl.so.2 (0x401d9000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)


***relevant snippage from balsa config.log ******

configure:6591: checking for new_pspell_manager in -lpspell
configure:6610: gcc -o conftest -march=i686 -O3 -pipe  -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  conftest.c
-lpspell -lstdc++ -lpspell-modules  1>&5
Comment 4 jseng 2002-04-18 16:17:06 UTC
I do have libstdc++.  I found out I can get everything to work with 
pspell-0.12.2-r1, but not pspell-0.12.2-r2
Comment 5 Tod M. Neidt (RETIRED) gentoo-dev 2002-04-18 17:06:39 UTC
hmmm.... yep, I have pspell-0.12.2-r1 installed also.  Hey, at least we're
narrowing down the problem :)
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-24 00:48:58 UTC
what version of automake, autoconf and libtool do you have installed?
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-24 08:45:34 UTC
please make sure your world file is amply populated, then

emerge --clean rsync
emerge --update world
emerge pspell

and you should be all set