Try building dbmail with ./configure --enable-shared=no. Tommi Lätti wrote: > I think this problem has reared it's ugly head before, but I couldn't > find any solution to this specific problem from google et al. > > anyways, this is the 'relocation R_X86_64_32' problem > > What I understand from there, is that somehow the mysql shared library > is not compiled with -fPIC. Which is a bit funny because I have an > identical machine sitting next to it with a bit more variety in the > software but both of them is running mysql version anyways. And dbmail > compiles just nicely on this identical machine. > > I even tried to copy the compiled sources to the first machine and > install phase still fail (implying that there's nothing wrong with dbmail) > > but anyways, can anybody help me how to locate and fix this small > problem with my setup here? > > -- clip -- > > libtool: install: warning: relinking `libdbmail.la' > (cd /usr/local/src/dbmail_snapshot; /bin/bash ./libtool --mode=relink > gcc -fomit-frame-pointer -g -O2 -W -Wall -Wpointer-arith > -Wstrict-prototypes -o libdbmail.la -rpath /usr/local/lib config.lo > debug.lo list.lo dbmd5.lo md5.lo db.lo misc.lo mime.lo pidfile.lo > dm_getopt.lo server.lo serverchild.lo pool.lo header.lo pipe.lo > forward.lo dsn.lo mysql/libmysqldbmail.la sort/libsortdbmail.la > auth/libauthdbmail.la -L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt > -lm ) > gcc -shared .libs/config.o .libs/debug.o .libs/list.o .libs/dbmd5.o > .libs/md5.o .libs/db.o .libs/misc.o .libs/mime.o .libs/pidfile.o > .libs/dm_getopt.o .libs/server.o .libs/serverchild.o .libs/pool.o > .libs/header.o .libs/pipe.o .libs/forward.o .libs/dsn.o -Wl,--rpath > -Wl,/usr/local/lib/dbmail -L/usr/local/lib/dbmail -lmysqldbmail > -lsortdbmail -lauthdbmail -L/usr/local/lib/mysql -lmysqlclient -lz > -lcrypt -lm -Wl,-soname -Wl,libdbmail.0 -o .libs/libdbmail.0 > /usr/bin/ld: /usr/local/lib/dbmail/libmysqldbmail.a(dbmysql.o): > relocation R_X86_64_32 can not be used when making a shared object; > recompile with -fPIC > /usr/local/lib/dbmail/libmysqldbmail.a: could not read symbols: Bad value > libtool: install: error: relink `libdbmail.la' with the above command > before installing it > > -- clip -- >
-- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl
