Install can't find libevent (Solaris 10 libevent 1.3b memcached 1.2.2

William Pool rotaecho at yahoo.com
Tue Jun 19 21:21:18 UTC 2007


Okay, I'm totally dumbfounded on why the code isn't looking for the library.  Here is the information:

root at ldfs13 # pwd
/opt/yp/lib
root at ldfs13 # 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
root at ldfs13 # 

root at ldfs13 # 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
root at ldfs13 # 

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


root at ldfs13 # 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

root at ldfs13 # 


root at ldfs13 # ./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/

root at ldfs13 # clear

root at ldfs13 # 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
root at ldfs13 # ./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/

root at ldfs13 # 


Thanks!
       
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20070619/e42080f3/attachment.html


More information about the memcached mailing list