This error message is a little confusing, since the problem can be the absence of libevent or a failure to link against the libevent library.
I would try running the configure script like this: sh -x ./configure --my-configure-flags This will show you what was going on when ./configure failed. Do you have another version of libevent lying around? I know I had to be very careful on SuSE 10 to not link against their old libevent installed in the system. On Tue, Jun 19, 2007 at 02:21:18PM -0700, William Pool wrote: > Okay, I'm totally dumbfounded on why the code isn't looking for the library. > Here is the information: > > [EMAIL PROTECTED] # pwd > /opt/yp/lib > [EMAIL PROTECTED] # ls -al > total 365 > drwxr-xr-x 2 root bin 512 Jun 19 14:04 . > drwxr-xr-x 3 root root 512 Jun 19 14:04 .. > lrwxrwxrwx 1 root root 22 Jun 19 14:04 libevent-1.3b.so.1 -> > libevent-1.3b.so.1.0.3 > -r-xr-xr-x 1 root bin 135208 Jun 19 13:50 libevent-1.3b.so.1.0.3 > -r-xr-xr-x 1 root bin 210180 Jun 19 13:50 libevent.a > lrwxrwxrwx 1 root root 14 Jun 19 14:04 libevent.la -> ../libevent.la > lrwxrwxrwx 1 root root 22 Jun 19 14:04 libevent.so -> > libevent-1.3b.so.1.0.3 > [EMAIL PROTECTED] # > > [EMAIL PROTECTED] # file *.so* > libevent-1.3b.so.1: ELF 64-bit LSB dynamic lib AMD64 Version 1 [SSE2 SSE > CMOV], dynamically linked, stripped > libevent-1.3b.so.1.0.3: ELF 64-bit LSB dynamic lib AMD64 Version 1 [SSE2 SSE > CMOV], dynamically linked, stripped > libevent.so: ELF 64-bit LSB dynamic lib AMD64 Version 1 [SSE2 SSE CMOV], > dynamically linked, stripped > [EMAIL PROTECTED] # > > The configure script I have is: > > # Library Link Flags > LDFLAGS="-L/opt/yp/lib -R/opt/yp/lib -L/usr/sfw/lib/64 -R/usr/sfw/lib/64 > -L/usr/lib/amd64 -R/usr/lib/amd64 - > lnsl -lresolv" > > # Compiler Flags > > CFLAGS="-O2 -m64" > > # Include Flags > CPPFLAGS="-I/opt/sfw/include -I/usr/sfw/include" > > # Export VARS > > export CFLAGS CXXFLAGS CPPFLAGS LDFLAGS > > ./configure --prefix=/opt/yp --enable-threads --with-libevent=/opt/yp > > > [EMAIL PROTECTED] # crle > > Configuration file [version 4]: /var/ld/ld.config > Default Library Path (ELF): > /opt/yp/lib:/lib:/usr/lib:/usr/sfw/lib:/opt/sfw/lib > Trusted Directories (ELF): /lib/secure:/usr/lib/secure (system default) > > Command line: > crle -c /var/ld/ld.config -l > /opt/yp/lib:/lib:/usr/lib:/usr/sfw/lib:/opt/sfw/lib > > [EMAIL PROTECTED] # > > > [EMAIL PROTECTED] # ./blah64.sh > checking build system type... i386-pc-solaris2.10 > checking host system type... i386-pc-solaris2.10 > checking for a BSD-compatible install... /opt/sfw/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking for style of include used by make... GNU > checking dependency style of gcc... gcc3 > checking for a BSD-compatible install... /opt/sfw/bin/install -c > checking for libevent directory... configure: error: libevent is required. > You can get it from http://www.monkey.org/~provos/libevent/ > > If it's already installed, specify its path using --with-libevent=/dir/ > > [EMAIL PROTECTED] # clear > > [EMAIL PROTECTED] # ls > AUTHORS TODO config.guess depcomp missing t > COPYING aclocal.m4 config.h.in doc mkinstalldirs thread.c > ChangeLog assoc.c config.log install-sh scripts > Makefile.am assoc.h config.sub items.c slabs.c > Makefile.in blah32.sh configure items.h slabs.h > NEWS blah64.sh configure.ac memcached.c stats.c > README compile daemon.c memcached.h stats.h > [EMAIL PROTECTED] # ./blah64.sh > checking build system type... i386-pc-solaris2.10 > checking host system type... i386-pc-solaris2.10 > checking target system type... i386-pc-solaris2.10 > checking for a BSD-compatible install... /opt/sfw/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking for style of include used by make... GNU > checking dependency style of gcc... gcc3 > checking for a BSD-compatible install... /opt/sfw/bin/install -c > checking for libevent directory... configure: error: libevent is required. > You can get it from http://www.monkey.org/~provos/libevent/ > > If it's already installed, specify its path using --with-libevent=/dir/ > > [EMAIL PROTECTED] # > > > Thanks! > > Looking for a deal? Find great prices on flights and hotels with Yahoo! > FareChase. -- Paul Lindner ||||| | | | | | | | | | [EMAIL PROTECTED]
pgpOA7BdZGi6R.pgp
Description: PGP signature
