On Wed, 31 Mar 2004, Nigel wrote: > Trying to install necessary stuf to implement bayes via CPAN. > > intsall DB_File > > allgoes weel till the last bit then I get this:- > > Running Mkbootstrap for DB_File () > chmod 644 DB_File.bs > rm -f blib/arch/auto/DB_File/DB_File.so > LD_RUN_PATH="/lib" cc -shared -L/usr/local/lib version.o DB_File.o -o > blib/arch/auto/DB_File/DB_File.so -ldb > /usr/i486-suse-linux/bin/ld: cannot find -ldb > collect2: ld returned 1 exit status > make: *** [blib/arch/auto/DB_File/DB_File.so] Error 1 > /usr/bin/make -- NOT OK > Running make test > Can't test without successful make > Running make install > make had returned bad status, install seems impossible > > > What is '-ldb' ? can anyone point me in the right direction.?
its a linker option of your compiler. it is looking for the Berkeley DB. you need to install an additional rpm: db-4.2.50-1.i386.rpm have a look onto your suse install CDs. install the rpm an also the devel part: db-devel-4.2.50-1.i386.rpm. version numbers might differ from your distribution. regards, Matthias
