Re: [gmime-devel] Solaris linker errors:



Jeff,

Thanks for your quick reply.  I do, in fact, have gpgme (1.1.4) installed; it's a prebuilt package from Steve Christensen's very helpful SunFreeware site.  Most of Steve's packages put libraries in /usr/local/lib or .../include.

After some digging, I realized the glibconfig header file was probably to blame; 

I did manage to get a build, just a few minutes ago, by forcing the issue a little bit with the following configure statement:

# ./configure CPPFLAGS='-I/usr/local/lib/glib-2.0/include'

contains the header file: glibconfig.h

All this started as we are trying to build a dbmail system, and are now having trouble with the configuration of dbmail! Some discrepancies between glib-2.0 version numbers in pkg-config and the actual library names.

Thank you again for your quick help; any and all suggestions are welcome!

Lou

----- Original Message -----
From: "Jeffrey Stedfast" <fejj novell com>
To: "Lou Picciano" <loupicciano comcast net>
Cc: gmime-devel-list gnome org
Sent: Friday, February 19, 2010 10:30:00 AM GMT -05:00 US/Canada Eastern
Subject: Re: [gmime-devel] Solaris linker errors:

Lou Picciano wrote:
> Fellow gmime-ers:
>
> Am trying to build gmime on Solaris 10 SPARC.  Make proceeds AOK until
> the linking step(s), when it chokes on:
>
> libtool: link: gcc -g -O2 -fno-strict-aliasing -o .libs/uuencode
> uuencode.o  ../util/.libs/libutil.a -L/usr/local/lib -L/usr/lib
> -L/usr/openwin/lib -L/usr/local/ssl/lib -L/usr/X11R6/lib
> -L/usr/local/BerkeleyDB.4.7/lib ../gmime/.libs/libgmime-2.6.so
> -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/pgsql/lib
> /usr/local/lib/libgthread-2.0.so -lpthread -lthread -lrt
> /usr/local/lib/libgio-2.0.so /usr/local/lib/libgobject-2.0.so
> /usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so
> /usr/local/lib/libintl.so -lsec -lc -lz -lsocket
> /usr/local/lib/libiconv.so -R/usr/local/lib
>
> Undefined                       first referenced
>  symbol                             in file
> gpgme_key_unref                     ../gmime/.libs/libgmime-2.6.so
> gpgme_op_sign_result                ../gmime/.libs/libgmime-2.6.so
> gpgme_get_key                       ../gmime/.libs/libgmime-2.6.so
> ... (many other similar lines) ...
> ld: fatal: Symbol referencing errors. No output written to .libs/uuencode
>
> Anyone have an idea?

It looks like you don't have GpgMe installed. GpgMe was meant to be an
optional dependency but I goofed in 2.5.0 and 2.5.1 and even if the
configure script fails to detect GpgMe, it still tries to build the code.

I've fixed this (I think) in the master git branch, but I have not yet
released a 2.5.2 which contains the fix. Perhaps I'll try to do that
this weekend.

Jeff



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