The native box is my development environment at my office. Sample OS (Ubuntu 11.10), same libs (autoconf 2.68 ....) In development environment it works. Now I want to move the source code to a production environment which is Xen-based I have too much issue with Amazon's EC2 which is Xen-based as well.
Here is the information about libevent on my VM instance (hosted at Linode). I have no information about the host machine root@spica:/usr/src/libevent-2.0.18-stable# dpkg --get-selections | grep libevent libevent-2.0-5 install libevent-core-2.0-5 install libevent-dev install libevent-extra-2.0-5 install libevent-openssl-2.0-5 install libevent-pthreads-2.0-5 install memcached provides an option --with-libevent while compiling the source code. I tried to compile a newer libevent and link it to memcached. Some guys at libevent mailing list help me to understand that "make" on that Xen-based Linux box seems to not working as expected. It generates invalid event-config.h by introducing some invalid characters. There is no such an issue on my native box. http://archives.seul.org/libevent/users/Apr-2012/msg00053.html After I removed them, I can compile libevent and install it. But I am not sure why memcached still links to the system wide libevent (after being recompiled and installed) I don't know is there any special settings that I need to take into account before I can solve this issue. Any idea? Thanks Dinh On Apr 26, 3:39 am, Wendy Cheng <[email protected]> wrote: > > Newer libevent does *not* necessarily help. It has to match with other > parts of the OS. > > I assume your native box (Ubuntu 11) works well (?) - what is the > libevent version there ? Does the VM guest (also Ubuntu 11?) have the > same version of libevent ? > > Just a quess ! > > -- Wendy
