LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...

Notices

Reply
 
LinkBack Search this Thread
Old 10-27-2006, 09:55 PM   #1
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Gentoo - Evolution server compile error


I'm using Gentoo, and I'm updating my system after removing a use flag and changing my CFLAGS. So everythings good except for one failed compile (so far). Here's the first part of the error:

Code:
i386-pc-linux-gnu/bin/ld: warning: libgnutls.so.12, needed by /usr/lib/libsoup-2.2.so, not found (try using -rpath or -rpath-link)
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_certificate_set_dh_params@GNUTLS_1_2'
Then similar erros continue on down the page till
Code:
/usr/lib/libsoup-2.2.so: undefined reference to `gnutls_x509_crt_check_hostname@GNUTLS_1_2'
collect2: ld returned 1 exit status
make[3]: *** [create-account] Error 1
make[3]: Leaving directory `/var/tmp/portage/evolution-data-server-1.6.2/work/evolution-data-server-1.6.2/servers/groupwise'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/evolution-data-server-1.6.2/work/evolution-data-server-1.6.2/servers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/evolution-data-server-1.6.2/work/evolution-data-server-1.6.2'
make: *** [all] Error 2

!!! ERROR: gnome-extra/evolution-data-server-1.6.2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  evolution-data-server-1.6.2.ebuild, line 106:   Called gnome2_src_compile
  gnome2.eclass, line 64:   Called die
Does any body have any ideas? Thanks in advance.
 
Old 10-27-2006, 10:00 PM   #2
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Original Poster
Rep: Reputation: 45
As a follow up, here is the relevant section of my make.conf

Quote:
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
MAKEOPTS="-j2"
USE="-ipv6 nvidia acpi cdr dvd alsa opengl tcltk tk bitmap-fonts truetype-fonts type1-fonts"
 
Old 11-02-2006, 03:54 PM   #3
eternally777
LQ Newbie
 
Registered: Nov 2006
Posts: 3

Rep: Reputation: 0
I've run into the same issue too. I haven't gotten around it yet. I'm running 64-bit Gentoo on a AMD64 laptop.

The package that provides the "libgnutls" library is "net-libs/gnutls", but the most recent one ("net-libs/gnutls-1.4.4-r1") includes "libgnutls.so.13", not "libgnutls.so.12". Just a minute ago I did
Code:
emerge =net-libs/gnutls-1.2.10
which does include the proper version of libgnutls.
Now I'm in the middle of trying to recompile Evolution-data-server, so I'll let you know how it turns out.

Last edited by eternally777; 11-02-2006 at 04:04 PM.
 
Old 11-02-2006, 04:09 PM   #4
eternally777
LQ Newbie
 
Registered: Nov 2006
Posts: 3

Rep: Reputation: 0
Yep, that worked. Just do the aforementioned emerge before trying to compile evolution-data-server and you'll be good to go. Don't know what would've caused that though.
 
Old 11-02-2006, 06:06 PM   #5
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Original Poster
Rep: Reputation: 45
I don't know what caused it either, but I've got it fixed as well. I too saw that it was a problem with libgnutls so I went searching on the Gentoo Forums as well. I never posted there, and I never found the answer there either. But I did run revdep-rebuild, it saw the error and recompiled libgnutls and evolution-data-server as well. Maybe you should run it as well if you haven't already.
 
Old 11-02-2006, 11:43 PM   #6
eternally777
LQ Newbie
 
Registered: Nov 2006
Posts: 3

Rep: Reputation: 0
I appreciate the tip, and I'll do that now.

As you can easily insinuate from the number of posts I made, I still quite new to linux (gentoo is my first distro and I've only been running it a month or so), and I had no idea that command existed. Well I probably read about it somewhere, but forgot about it quickly thereafter.

Anyway, yeah thanks again
 
Old 11-03-2006, 09:12 AM   #7
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Original Poster
Rep: Reputation: 45
Oh, well if your new to Gentoo, be sure to emerge gentoolkit first. You can't run that command without it.
 
  


Reply

Tags
compile, data, evolution, server


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sox compile error on gentoo doralsoral Linux - Software 3 01-22-2006 12:46 PM
Gentoo X server freezes /var/lib/init.d/ files input output error bendeg Linux - Software 0 12-01-2005 05:01 AM
Evolution Error - Failed to read a valid greeting from POP server asmar Suse/Novell 1 10-19-2005 07:04 AM
Gentoo & freeradius compile error flux.i Linux - Software 1 06-03-2004 05:18 PM
gentoo kernel compile error zbrox Linux - Software 2 01-27-2004 02:05 AM


All times are GMT -5. The time now is 04:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration