[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Fatal error: Cannot map library libdb-4.2.so



Quanah Gibson-Mount wrote:
[snip]
--On Monday, June 28, 2004 4:02 PM +0100 Jorge Ruão <jruao@fe.up.pt> wrote:
root@tweety:/usr/local/libexec>LD_RUN_PATH=/usr/local/BerkeleyDB.4.2/lib/
[snip]
root@tweety:/usr/local/libexec>ldd slapd
55883:slapd: ldd: Fatal Error: Cannot generate dynamic dependencies for
library libdb-4.2.so
[snip]

This isn't doing what you think it does. You need to make LD_RUN_PATH available for subshells by exporting it:

tcsh: setenv LD_RUN_PATH "/usr/local/BerkeleyDB.4.2/lib/"
sh:   export LD_RUN_PATH="/usr/local/BerkeleyDB.4.2/lib/"

HTH,
John
--
           John Borwick
       Systems Administrator
      Wake Forest University | web  http://www.wfu.edu/~borwicjh
      Winston-Salem, NC, USA | GPG key ID               56D60872

Attachment: signature.asc
Description: OpenPGP digital signature