[Libevent-users] compilation & pyevents

Lorenzo Viscanti lorenzo.viscanti at gmail.com
Thu Feb 15 04:02:28 EST 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://monkeymail.org/archives/libevent-users/attachments/20070215/f704371f/attachment.htm


More information about the Libevent-users mailing list