> Hello, > > I want to compile Cyrus-imapd-2.3.13. My server is an AMD64 system with > Debian Etch as operating system. > At the compile time I get an continual error. > > relocation R_X86_64_32 against `a local symbol' can not be used when > making a shared object; recompile with -fPIC > > Despite of the fact that I have used the compiler flag "CCCDFLAGS=-fPIC". > There is this flag in Makefile. Hm, I have CCDLFLAGS="-rdynamic"; export CCDLFLAGS in my rpm spec which build fine on x86_64. You could try that? Simon > > What can I do for the successful compliation of cyrus-imapd? > > > best regards from cologne > Dirk > > ----------------------------------------------------------------------------------------------------------------- > CFLAGS="-g -O2 -fPIC" ./configure \ > --with-sasl=/usr/local/lib \ > --with-perl \ > --with-auth=unix \ > --with-dbdir=/usr/local/bdb \ > --with-bdb-libdir=/usr/local/bdb/lib \ > --with-bdb-incdir=/usr/local/bdb/include \ > --with-openssl=/usr/ssl \ > --without-ucdsnmp \ > --with-cyrus-user=cyrus \ > --with-cyrus-group=mail \ > --with-lock=fcntl \ > --with-mboxlist-db=skiplist \ > --with-syslogfacility=DAEMON \ > --with-com_err=yes \ > --with-idle=idled \ > --enable-netscapehack \ > --enable-shared \ > --enable-murder \ > --enable-annotatemore > ------------------------------------------------------------------------------------------------------------------------ > > > piethan:/usr/local/src/cyrus-imapd-2.3.13/perl/imap# make > cp IMAP/Admin.pm blib/lib/Cyrus/IMAP/Admin.pm > cp IMAP.pm blib/lib/Cyrus/IMAP.pm > cp IMAP/Shell.pm blib/lib/Cyrus/IMAP/Shell.pm > cp IMAP/IMSP.pm blib/lib/Cyrus/IMAP/IMSP.pm > /usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap > /usr/share/perl/5.8/ExtUtils/typemap -typemap typemap IMAP.xs > IMAP.xsc > && mv IMAP.xsc IMAP.c > cc -c -I../../lib -I../.. -I../../com_err/et -D_REENTRANT -D_GNU_SOURCE > -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 > -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fPIC "-I/usr/lib/perl/5.8/CORE" > -DPERL_POLLUTE IMAP.c > Running Mkbootstrap for Cyrus::IMAP () > chmod 644 IMAP.bs > rm -f blib/arch/auto/Cyrus/IMAP/IMAP.so > LD_RUN_PATH="/usr/local/lib" cc -shared -L/usr/local/lib IMAP.o -o > blib/arch/auto/Cyrus/IMAP/IMAP.so ../../lib/libcyrus.a > ../../lib/libcyrus_min.a \ > -lsasl2 -lssl -lcrypto \ > > /usr/bin/ld: > /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libssl.a(t1_clnt.o): > relocation R_X86_64_32 against `a local symbol' can not be used when > making a shared object; recompile with -fPIC > /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libssl.a: could not > read symbols: Bad value > collect2: ld returned 1 exit status > make: *** [blib/arch/auto/Cyrus/IMAP/IMAP.so] Error 1 > > > > _____________________________________________________________________ > Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > http://smartsurfer.web.de/?mc=100071&distributionid=000000000066 > > ---- > 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 > ---- 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