[CentOS] Compiling thunderbird

Wed Jan 5 12:38:02 UTC 2011
Keith Roberts <keith at karsites.net>

On Wed, 5 Jan 2011, lhecking at users.sourceforge.net wrote:

  To: centos at centos.org
  From: lhecking at users.sourceforge.net
Subject: [CentOS] Compiling thunderbird


I'm following this thread here

  http://www.centos.org/modules/newbb/viewtopic.php?topic_id=23749&forum=38

to build an rpm for thunderbird 3.1.6/3.1.7 from source. While it works
well on i386, compilation fails for x86_64. Any advice how to fix the spec
file?

This doesn't look good.

rm -f libthebes.so

/usr/bin/ld: gfxUserFontSet.o: relocation R_X86_64_PC32
against `ots::Process(ots::OTSStream*, unsigned char
const*, unsigned long, bool)' can not be used when
making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value collect2: ld
returned 1 exit status

HTH

Keith Roberts

-----------------------------------------------------------------
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------------