wrong config.sub and -fPIC error in cyrus 2.3.12
Simon Matter
simon.matter at invoca.ch
Tue Apr 29 09:49:42 EDT 2008
> Hi,
>
> i tried to compile cyrus 2.3.12p2 on a x86_64 system.
>
> first i had to replaye config.sub which is shipped with cyrus with a
> nerwer version found on my system. This problem already exiss in 2.3.8
>
> the make stopps with an error while making perl/imap.
> Can someone confirm this bug? How do i solve it?
Did you add -fPIC to $CFLAGS when running ./configure/make?
My RedHat rpms build fine on RHEL5.1 x86_64 and I don't remember to see a
difference since 2.3.8.
Simon
>
> Regards
>
> Michael
>
>
>
> IMAP.c:673: warning: unused variable ?RETVAL?
> Running Mkbootstrap for Cyrus::IMAP ()
> chmod 644 IMAP.bs
> rm -f blib/arch/auto/Cyrus/IMAP/IMAP.so
> LD_RUN_PATH="/usr/lib64" cc -shared -L/usr/local/lib64 IMAP.o -o
> blib/arch/auto/Cyrus/IMAP/IMAP.so ../../lib/libcyrus.a
> ../../lib/libcyrus_min.a \
> -ldb-4.3 -lsasl2 -lssl -lcrypto \
>
> /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
> ../../lib/libcyrus.a(imclient.o): relocation R_X86_64_32 against `a
> local symbol' can not be used when making a shared object; recompile
> with -fPIC
> ../../lib/libcyrus.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[2]: *** [blib/arch/auto/Cyrus/IMAP/IMAP.so] Fehler 1
> make[2]: Leaving directory `/zdv-system/cyrus-imapd-2.3.12/perl/imap'
> make[1]: *** [all] Fehler 1
> make[1]: Leaving directory `/zdv-system/cyrus-imapd-2.3.12/perl'
> make: *** [all] Fehler 1
>
>
> --------------------------------------------------------------------------------
> M.Menge Tel.: (49) 7071/29-70316
> Universitaet Tuebingen Fax.: (49) 7071/29-5912
> Zentrum fuer Datenverarbeitung mail:
> michael.menge at zdv.uni-tuebingen.de
> Waechterstrasse 76
> 72074 Tuebingen
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list