Hi, I just compiled libevent 1.2a on a linux server. I had no problems with make and make install (it seems to me..), later when I try to compile pyevent here's what it happens:
gcc -pthread -shared build/temp.linux-x86_64-2.4/event.o ../libevent-1.2a/log.o ../libevent-1.2a/strlcpy.o ../libevent-1.2a/signal.o ../libevent-1.2a/epoll.o ../libevent-1.2a/evdns.o ../libevent-1.2a/event.o ../libevent-1.2a/http.o ../libevent-1.2a/poll.o ../libevent-1.2a/select.o ../libevent-1.2a/buffer.o ../libevent-1.2a/event_tagging.o ../libevent-1.2a/evbuffer.o -o build/lib.linux-x86_64-2.4/event.so /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: ../libevent-1.2a/log.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC ../libevent-1.2a/log.o: could not read symbols: Bad value collect2: ld returned 1 exit status I think that something went wrong with the installation of libevent, right? thanks, lorenzo
_______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkey.org/mailman/listinfo/libevent-users