[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Uncompilable sources



csj wrote:
  >The short of it: A number of debian sources won't compile because of 
  >the following problem:
  >
  >usr/bin/ld: cannot find -ldb
 ...
  >debian:/# dpkg -L libdb2-dev | grep "libdb2.so"
  >/usr/lib/libdb2.so
  >
  >What am I missing? 

You need a symbolic link:

lrwxrwxrwx    1 root     root           15 Oct  1 03:09 /usr/lib/libdb.so -> 
libdb2.so.2.7.7

olly@linda$ dlocate /usr/lib/libdb.so
libdb2-dev: /usr/lib/libdb.so

Since you have libdb2-dev, it is either a faulty version or the symlink
has been removed; restore it.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "Let the words of my mouth, and the meditation of my 
      heart, be acceptable in thy sight, O LORD, my  
      strength, and my redeemer."          Psalms 19:14 




Reply to: