./configure problem for libsf library due to apparently missing libdb library.


 
Thread Tools Search this Thread
Operating Systems Linux ./configure problem for libsf library due to apparently missing libdb library.
# 1  
Old 08-04-2011
./configure problem for libsf library due to apparently missing libdb library.

Hello,

./configure script fails to configure libsf. Please check the following last few lines of configure script error.

Code:
checking for db1/db.h... no
checking for db.h... yes
checking for dbopen in -ldb1... no
configure: error: No libdb?  No libsf.

But find command shows the following;

Code:
/usr/lib/libdb-4.2.so
/usr/lib/libdb-4.a
/usr/lib/libdb-4.2.la
/usr/lib/libdb-4.4.la
/usr/lib/libdb-4.so
/usr/lib/libdb.a
/usr/lib/libdb.so
/usr/lib/libdb-4.4.so
/usr/lib/libdb-4.4.a
/lib/libdb-4.2.so
/lib/libdb-3.3.so
/lib/libdb-3.1.so
/lib/libdb-4.4.so

It seems the file libdb does exist. man dbopen displays man page
for dbopen. I also tried to ln -s /usr/lib/libdb.a and libdb.so /lib dir but all were in vain.

Please help. Thank you.

Last edited by pludi; 08-04-2011 at 10:32 AM..
# 2  
Old 08-04-2011
I suspect it is looking for a libdb1 not libdb.
# 3  
Old 08-04-2011
Hello,

Thank you very much for the help but I couldn't find any db1 package.
I use slackware 13. I thought the required file was db instead of db1 because the readme file of libsf states the following;
-------------------------------------------------
1. You'll need to build and install:
a. libnet 1.1.0 (http://www.packetfactory.net/libnet)
b. libpcap 0.6.x+ (TCPDUMP/LIBPCAP public repository)
c. libdb old API - should be included with most modern OS releases -
(Database 11g | Oracle Database 11g | Oracle)
------------------------------------------------
So you see the subsection "c". I have downloaded and installed a tarball libdb1_1.85.4-osso9+0m5.tar.gz from
maemo.org - source libdb1 build it. It produced the following files;
libdb.so.1.85.4, libdb.a and a directory "include" and inside it the following header files; db.h, compat.h, mpool.h, mdbm.h

make install also failed. It tried to create two directories under root such as /root/usr/lib and /root/include.

Did I download the right package? I can't find the libdb1 package.
# 4  
Old 08-04-2011
What package are you trying to install? This looks like a very old package.
This User Gave Thanks to fpmurphy For This Post:
# 5  
Old 08-05-2011
Thanks. Yes, it's an old package. knudfl from linuxquestions.org also said it. He has sent me a link to libdb1. <ftp://ftp.slackware.org.uk/slackware....85-i386-1.txz >
I tried to install libsf library as i wrote in prev mail. In actuality i tried to install all the libs to compile and run the codes from the book -- Building Open Source Network Security Tools: Components and Techniques by Mike D. Schiffman ISBN:0471205443 John Wiley & Sons © 2003
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

configure library package for --host architecture

I am trying to decode "configure" script for "bluez" package as far as how are "configure" options for cross-compiling passed to libtoool or GCC to build C++ library. As far as I can tell the "configure" triplet analysis (case) has no options to analyze anything with "linux" in it ,therefore... (5 Replies)
Discussion started by: anne
5 Replies

2. Programming

Library/header path for ./configure

Hello, I am always confused about adding library path for ./configure when compiling software under Linux Debian based OS. For example the README of the software tells --with-boost=PATH specify directory for the boost header files --with-mpi=PATH specify prefix directory for... (4 Replies)
Discussion started by: yifangt
4 Replies

3. UNIX for Advanced & Expert Users

Is my library not installed or missing ?

When I am issuing gawk from Solaris-10 zone, it is complaining something missing. Do I need to install some package or something is broke here ? root@bod1rack2:/# /usr/local/bin/gawk ld.so.1: gawk: fatal: libsigsegv.so.2: open failed: No such file or directory Killed root@bod1rack2:/# find /... (5 Replies)
Discussion started by: nightup2222
5 Replies

4. Ubuntu

Missing libgstfarsight-0.10.so.0 library

Hi ! I have a problem, I upgraded to Ubuntu 12.04, but I can't start Pidgin, it outputs this error message : " pidgin: error while loading shared libraries: libgstfarsight-0.10.so.0: cannot open shared object file: No such file or directory" . I tried to install a package containing it, but I found... (7 Replies)
Discussion started by: cosgb
7 Replies

5. Linux

library missing

Hi, I am trying migrate webmin application from solaris to linux. But that is not working in Linux. because the library librpcsoc.so has missed in Linux box.. Could you please advice me that how to resolve this issue and also that how to install that library as well. (1 Reply)
Discussion started by: Mani_apr08
1 Replies

6. UNIX for Advanced & Expert Users

Linux on vmware won't boot due to corrupt library file!

We have an issue here: The libc.so.6 file (link) is corrupted and it causes the system unbootable. It even doesn't boot to single user mode. How can we boot the system to fix the library file? Or is there any other solutions for this issue? Here are some boot messages:... (6 Replies)
Discussion started by: aixlover
6 Replies

7. UNIX for Dummies Questions & Answers

samba library libsmbclient.so is missing

Hi, I am trying to set up a driver to access a ms access db in a windows machine from a debian machine. I got the unixODBC driver for ms access. In the configuration file I have to set up the path to the libsmbclient library on the machine where the ODBC-Access Driver is installed. Although... (2 Replies)
Discussion started by: sickboy
2 Replies

8. Shell Programming and Scripting

How to change a Makefile from building static library to shared library?

Hi: I have a library that it only offers Makefile for building static library. It built libxxx.a file. How do I in any way build a shared library? (either changin the Makefile or direct script or command to build shared library) Thanks. (1 Reply)
Discussion started by: cpthk
1 Replies

9. UNIX for Dummies Questions & Answers

Missing Library Files

Can anyone send me copies via email or allow me to download the following files for Unix 4.0? libmsfs.so libfilsys.so These files were lost due to corruption. All the other library files are fine. I have the files on tape, but without libmsfs.so I am unable to open vrestore. I am open... (5 Replies)
Discussion started by: jays337
5 Replies

10. UNIX for Dummies Questions & Answers

configure script can't find a library

I installed libxml2 library from source and it installed itself in /usr/local/lib i added /usr/local/lib to ld.so.conf and ran a ldconfig ( as root ) then i tried to compile tablix-0.0.3 wich does require the installed version of libxml2 i ran ./configure ( as normal user ) and i get the... (2 Replies)
Discussion started by: progressdll
2 Replies
Login or Register to Ask a Question