Re: [Evolution] evo svn build failing -- /usr/lib/evolution/2.10/libetable.so.0: undefined reference to `e_gettext'



On Tue, 2007-03-27 at 10:32 -0400, Reid Thompson wrote:
OK -- rm'd  the entire evolution directory, checked out fresh from svn, then
  ./autogen.sh --prefix=/usr --enable-nntp=yes --enable-imap4=yes 
--enable-cairo-calendar=yes --enable-mono=yes --enable-exchange=yes 
--enable-plugins=all --with-openldap=yes && make

build fails with same error
  /usr/lib/evolution/2.10/libetable.so.0: undefined reference to `e_gettext'

Shouldn't the build explicitly be linking to the libetable.so.0 in the 
svn build tree, rather than the one in /usr/lib?????

Yes.  It looks like there's something screwy in your build environment.


/usr/lib/libglib-2.0.so -Wl,--rpath -Wl,/usr/lib/evolution/2.10
/usr/lib/evolution/2.10/libetable.so.0: undefined reference to `e_gettext'

Here's the cause of it.

GCC is passing "--rpath /usr/lib/evolution/2.10" to the linker.

http://www.gnu.org/software/binutils/manual/ld-2.9.1/html_node/ld_3.html

I'm not sure how that's getting into your autoconf-generated Makefiles,
but that's why the build is failing.

Matthew Barnes




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]