Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compile error: Installing courier-imap
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Zanicar
n00b
n00b


Joined: 03 Sep 2004
Posts: 25
Location: Pretoria, South Africa

PostPosted: Mon Sep 05, 2005 8:25 am    Post subject: Compile error: Installing courier-imap Reply with quote

I get the following compile error when emerging courier-imap as in the qmail/vpopmail guide under system administration documentation on this site:

Quote:

Linking libauthpam.la
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libshadow.a(commonio.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/libshadow.a(commonio.o): could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libauthpam.la] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/courier-authlib-0.57-r1/work/courier-authlib-0.57'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/courier-authlib-0.57-r1/work/courier-authlib-0.57'
make: *** [all] Error 2


I tried both stable and unstable versions for amd64.

My system specs are as follow:
AMD64 3200+ (754)
Gigabyte nForce3 Mother Board (K8NSP)
120GB Seagate SATA HDD
nVidia GeForce 5200FX
1GB DDR 400 Transcend RAM

I am setting up a mail server and proxy server. I am using qmail and vpopmail as in the mentioned guide. I used this same system for almost 12 months, but had to reinstall for software upgrade purposes and tightened security.

Any help getting past this problem will be greatly appreciated,
Thank You.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Mon Sep 05, 2005 8:37 am    Post subject: Reply with quote

Moved from Installing Gentoo to Gentoo on AMD64.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Zanicar
n00b
n00b


Joined: 03 Sep 2004
Posts: 25
Location: Pretoria, South Africa

PostPosted: Mon Sep 05, 2005 9:03 am    Post subject: Reply with quote

...and yes I did recompile using -fPIC...
I get the same error... 8O :?
Back to top
View user's profile Send private message
Zanicar
n00b
n00b


Joined: 03 Sep 2004
Posts: 25
Location: Pretoria, South Africa

PostPosted: Mon Sep 05, 2005 9:26 am    Post subject: Reply with quote

I re-emerged shadow, but now it fails 3 files further down...

Quote:

Linking libauthpam.la
Linking libauthshadow.la
Linking libauthcustom.la
Linking libauthvchkpw.la
Linking authdaemontest
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: /var/vpopmail/lib/libvpopmail.a(cdb_seek.o): relocation R_X86_64_PC32 against `read@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libauthvchkpw.la] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/courier-authlib-0.55/work/courier-authlib-0.55'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/courier-authlib-0.55/work/courier-authlib-0.55'
make: *** [all] Error 2


Tried re-emerging vpopmail, didn't help...
Back to top
View user's profile Send private message
Zanicar
n00b
n00b


Joined: 03 Sep 2004
Posts: 25
Location: Pretoria, South Africa

PostPosted: Tue Sep 06, 2005 7:05 am    Post subject: Reply with quote

Is there anyone that can help with this???

I'm in a bit of a fix, this server needs to be up and running as soon as possible... else I'll need to find an alternate solution... :?
Back to top
View user's profile Send private message
hazelb
n00b
n00b


Joined: 14 Sep 2005
Posts: 5

PostPosted: Wed Sep 14, 2005 9:26 am    Post subject: Reply with quote

Zanicar wrote:
Is there anyone that can help with this???

I'm in a bit of a fix, this server needs to be up and running as soon as possible... else I'll need to find an alternate solution... :?


I had exactly the same problem with the compilation of dev-db/hk_classes-0.7.4. I changed my CXXFLAGS from
Code:
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden -fno-enforce-eh-specs"
to
Code:
CXXFLAGS="${CFLAGS}"


That did the trick. :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum