View previous topic :: View next topic |
Author |
Message |
Zanicar n00b
Joined: 03 Sep 2004 Posts: 25 Location: Pretoria, South Africa
|
Posted: Mon Sep 05, 2005 8:25 am Post subject: Compile error: Installing courier-imap |
|
|
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 |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Mon Sep 05, 2005 8:37 am Post subject: |
|
|
Moved from Installing Gentoo to Gentoo on AMD64. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
Zanicar n00b
Joined: 03 Sep 2004 Posts: 25 Location: Pretoria, South Africa
|
Posted: Mon Sep 05, 2005 9:03 am Post subject: |
|
|
...and yes I did recompile using -fPIC...
I get the same error... |
|
Back to top |
|
|
Zanicar n00b
Joined: 03 Sep 2004 Posts: 25 Location: Pretoria, South Africa
|
Posted: Mon Sep 05, 2005 9:26 am Post subject: |
|
|
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 |
|
|
Zanicar n00b
Joined: 03 Sep 2004 Posts: 25 Location: Pretoria, South Africa
|
Posted: Tue Sep 06, 2005 7:05 am Post subject: |
|
|
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 |
|
|
hazelb n00b
Joined: 14 Sep 2005 Posts: 5
|
Posted: Wed Sep 14, 2005 9:26 am Post subject: |
|
|
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. |
|
Back to top |
|
|
|