Did you try to add a line /home/nwatson/cfengine/lib to /etc/ld.so.conf, run 
/sbin/ldconfig and re-configure?

--Nakarin

On Mar 8, 2010, at 3:53 PM, nwat...@symcor.com wrote:

> Yeah, it's a copy and paste typo.
> configure:17173: checking for BerkeleyDB location in 
> /home/nwatson/cfengine
> configure:17343: result: /home/nwatson/cfengine
> configure:17401: checking Berkeley DB API
> configure:17442: gcc -o conftest -pthread -g -O2 
> -I/home/nwatson/cfengine/include -pthread    -L/home/nwatson/cfengine/lib 
> conftest.c -lldap -lm  -ldb >&5
> conftest.c: In function 'main':
> conftest.c:36: warning: incompatible implicit declaration of built-in 
> function 'exit'
> conftest.c:40: warning: incompatible implicit declaration of built-in 
> function 'exit'
> configure:17446: $? = 0
> configure:17452: ./conftest
> ./conftest: error while loading shared libraries: libdb-4.8.so: cannot 
> open shared object file: No such file or directory
> configure:17456: $? = 127
> configure: program exited with status 127
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE "cfengine"
> | #define VERSION "3.0.4"
> | #define HAVE_PTHREAD 1
> | #define YYTEXT_POINTER 1
> | #define STDC_HEADERS 1
> | #define HAVE_SYS_TYPES_H 1
> | #define HAVE_SYS_STAT_H 1
> | #define HAVE_STDLIB_H 1
> | #define HAVE_STRING_H 1
> | #define HAVE_MEMORY_H 1
> | #define HAVE_STRINGS_H 1
> | #define HAVE_INTTYPES_H 1
> | #define HAVE_STDINT_H 1
> | #define HAVE_UNISTD_H 1
> | #define HAVE_DLFCN_H 1
> | #define LT_OBJDIR ".libs/"
> | #define HAVE_GETLOADAVG 1
> | #define HAVE_LIBM 1
> | #define HAVE_LIBLDAP 1
> | #define USE_BERKELEY_DB 1
> | /* end confdefs.h.  */
> | 
> 
> Sincerely,
> --
> Neil Watson
> 416-673-3465
> 
> 
> CONFIDENTIALITY WARNING 
> This communication, including any attachments, is for the exclusive use of 
> addressee and may contain proprietary and/or confidential information. If you 
> are not the intended recipient, any use, copying, disclosure, dissemination 
> or distribution is strictly prohibited. If you are not the intended 
> recipient, please notify the sender immediately by return e-mail, delete this 
> communication and destroy all copies.
> 
> AVERTISSEMENT RELATIF À LA CONFIDENTIALITÉ 
> Ce message, ainsi que les pièces qui y sont jointes, est destiné à l’usage 
> exclusif de la personne à laquelle il s’adresse et peut contenir de 
> l’information personnelle ou confidentielle. Si le lecteur de ce message n’en 
> est pas le destinataire, nous l’avisons par la présente que toute diffusion, 
> distribution, reproduction ou utilisation de son contenu est strictement 
> interdite. Veuillez avertir sur-le-champ l’expéditeur par retour de courrier 
> électronique et supprimez ce message ainsi que toutes les pièces jointes.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to