[sylpheed:33232] Re: Sylpheed Compile Problem

Georg Klein georg.klein at gmx.info
Sat Oct 10 03:54:16 JST 2009


Hello,

sorry for the late reply - for some stupid reasons, I found your mail today in
the spam - folder

On Sat, Oct 03, 2009 at 05:09:28PM -0700, Aric Gregson wrote:
> Georg Klein wrote:
> [snip]
> >
> >your mail made me look for the problem again - and I got it fixed (at
> >least on b101b and on b123, where I could test it.
> >
> >I used the environment variable LIBS and let it point
> >to /usr/lib/libenchant,so:
> >
> ># export LIBS="/usr/lib/libenchant.so"
> ># ./configure
> >
> >and now I have sylpheed on opensolaris with spell checking enabled.
> 
> That's was a good pointer. I'm not certain why it fails without
> that. However, now I am stuck on iconv. I get the same error with
> iconv. Which iconv are you using or did you somehow tell it to
> ignore it?

no, it is used and I did not want to ignore it. On the elder machine
(snv_101b) I have installed the following:

georg at ux4ever:~$ pkg list | grep iconv
SUNWgnu-libiconv                              0.5.11-0.79
SUNWiconv-extra                               0.5.11-0.101
SUNWiconv-unicode                             0.5.11-0.101

on the newer one (snv_123) there is:

georg at sol4me:~/sylpheed-2.7.1$ pkg list | grep iconv
SUNWiconv-extra                               0.5.11-0.123
SUNWiconv-unicode                             0.5.11-0.123

and iconv shows up on both machines by the Compiled-in features of
sylpheed.

> 
> ld: warning: file ../libsylph/.libs/libsylph-0.so: linked to
> /export/pei/src/sylpheed-2.7.1/libsylph/.libs/libsylph-0.so:
> attempted multiple inclusion of file
> Undefined                       first referenced
>  symbol                             in file
> libiconv_close
> /export/pei/src/sylpheed-2.7.1/libsylph/.libs/libsylph-0.so
> libiconv_open
> /export/pei/src/sylpheed-2.7.1/libsylph/.libs/libsylph-0.so
> libiconv /export/pei/src/sylpheed-2.7.1/libsylph/.libs/libsylph-0.so
> ld: fatal: symbol referencing errors. No output written to .libs/sylpheed
> *** Error code 1
> make: Fatal error: Command failed for target `sylpheed'

However, when compiling syslpheed, I get the following warning on both
machines, too:

ld: warning: file ../libsylph/.libs/libsylph-0.so: linked to
/export/home/georg/sylpheed-2.7.1/libsylph/.libs/libsylph-0.so:
attempted multiple inclusion of file

But it's a warning only and the sylpheed build succeeds.

Probably you are using the SUNWgnu-libiconv package, so that you would
have to include '/usr/gnu/lib/' in your Library path by setting the
proper LDFLAGS in your environment:

# export LIBS="/usr/lib/libenchant.so"
# export LDFLAGS="-L/usr/gnu/lib/"

However, I would try to use SUNWiconv-unicode instead.

Best,  Georg


More information about the Sylpheed mailing list