Results 1 to 8 of 8
Hello,
I have tried to install a program. After I ran ./configure, I got the following message:
configure: WARNING: configure could not find all of the necessary DBM functions.
(dbm_open, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-26-2009 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 32
DBM library
Hello,
I have tried to install a program. After I ran ./configure, I got the following message:
configure: WARNING: configure could not find all of the necessary DBM functions.
(dbm_open, dbm_close, dbm_fetch, dbm_store). This probably
means that configure could not find your DBM library, or
that you do not have a DBM library installed. (See above
output for the results of library checks.) Please install
a DBM-compatible library (such as GNU DBM).
I don't know much about DBM, and I found this site to get an idea what DBM is: gdbm - Introduction to GNU @code{dbm}.
However, I am not sure from where exactly to install it. I have found one site with a version gdbm 1.8.3. Is this the last version, and is this the right to download?
Thank you in advance.
- 03-02-2009 #2Linux Newbie
- Join Date
- Feb 2009
- Location
- Third ring of Pergatory
- Posts
- 199
It seems more likely your dbm libraries are not in the search path, try this.
run a "set" and look at the PKG_CONFIG_PATH. Do a find / | grep -i <your_missing_libs> . Once you've found the missing libs, you can link them into the ./confgure statement and compile your app
- 03-20-2009 #3Just Joined!
- Join Date
- Sep 2008
- Posts
- 32
Hi, thank you very much for the reply.
I have written 'set' and I got:
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig
Is this Ok? It should point to pkgconfig as it does, shouldn't it?
Then I have typed the following:
find / | grep -i dbm_open
dbm_open is one of my missing libraries. However, what I got as output is many lines like this:
find: _some_path_name_ : Permission denied
For example:
find: /var/lib/slocate: Permission denied
What might be wrong? Is the syntax of my command not correct?
- 03-20-2009 #4Linux Newbie
- Join Date
- Feb 2009
- Location
- Third ring of Pergatory
- Posts
- 199
Yup, that looks all good to me,Is this Ok? It should point to pkgconfig as it does, shouldn't it?
Your current user doesn't have sufficient permissions to access the directories. Switch to root with an "su" command or set up your sudo files to support giving your current user root-like permissions.find: /var/lib/slocate: Permission denied
What might be wrong? Is the syntax of my command not correct?
Your command syntax is perfect, but I would look for the more generic *dbm* instead of the librarie function dbm_open. You'll get a lot more matches and we can quickly weed threw them for the important one. Which program were you originally tryng to install?
- 03-25-2009 #5Just Joined!
- Join Date
- Sep 2008
- Posts
- 32
Hi dijetlo,
thank you again for the reply. I have looked for "dbm" like this:
find / | grep -i dbm
and I get quite a lot of results. I am pasting them below. How do I know which one I need (which one are missing)?
The program, which I want to install is "Infomap". It is a software for Natural Language Processing, here is a link to the download page:
Infomap NLP Software -- Home Page
Here are the results for "dbm", which I got after I type find / | grep -i dbm (I am pasting everything):
/mnt/windows/I386/DBMSADSN.DL_
/mnt/windows/I386/DBMSRPCN.DL_
/mnt/windows/I386/DBMSVINN.DL_
/mnt/windows/Program Files/OpenOffice.org 2.4/program/python-core-2.3.4/lib/anydbm.py
/mnt/windows/Program Files/OpenOffice.org 2.4/program/python-core-2.3.4/lib/dumbdbm.py
/mnt/windows/Program Files/OpenOffice.org 2.4/program/python-core-2.3.4/lib/test/test_anydbm.py
/mnt/windows/Program Files/OpenOffice.org 2.4/program/python-core-2.3.4/lib/test/test_dbm.py
/mnt/windows/Program Files/OpenOffice.org 2.4/program/python-core-2.3.4/lib/test/test_dumbdbm.py
/mnt/windows/Program Files/OpenOffice.org 2.4/program/python-core-2.3.4/lib/test/test_gdbm.py
/mnt/windows/Program Files/OpenOffice.org 2.4/share/basic/FormWizard/DBMeta.xba
/mnt/windows/Program Files/OpenOffice.org_2.4_SDK/windows/bin/rdbmaker.exe
/mnt/windows/Program Files/Sun/JavaDB/docs/html/ref/rrefdbmlimits.html
/mnt/windows/Program Files/eclipse-SDK-3.4.1-win32/eclipse/plugins/com.jaxfront.eclipse_2.9.0/examples/purchaseOrder/po.dbm
/mnt/windows/WINDOWS/system32/dbmsadsn.dll
/mnt/windows/WINDOWS/system32/dbmsgnet.dll
/mnt/windows/WINDOWS/system32/dbmsrpcn.dll
/mnt/windows/WINDOWS/system32/dbmsvinn.dll
/mnt/windows/WINDOWS/ServicePackFiles/i386/dbmsrpcn.dll
/mnt/windows/WINDOWS/SoftwareDistribution/Download/cf8ec753e88561d2ddb53e183dc05c3e/dbmsrpcn.dll
/mnt/windows/WINDOWS/$NtServicePackUninstall$/dbmsrpcn.dll
/mnt/windows/Documents and Settings/User/My Documents/workspace/JAXFront Demo Project/examples/purchaseOrder/po.dbm
/var/www/htdocs/manual/mod/mod_authn_dbm.html
/var/www/htdocs/manual/mod/mod_authz_dbm.html
/var/www/htdocs/manual/programs/httxt2dbm.html
/var/www/htdocs/manual/programs/dbmmanage.html
/var/www/htdocs/manual/programs/htdbm.html
/var/log/packages/gdbm-1.8.3-i486-4
/var/log/scripts/gdbm-1.8.3-i486-4
/home/gemm/my_docs/perl_modules/libwww-perl-5.814/blib/man3/WWW::RobotRules::AnyDBM_File.3
/home/gemm/my_docs/perl_modules/libwww-perl-5.814/blib/lib/WWW/RobotRules/AnyDBM_File.pm
/home/gemm/my_docs/perl_modules/libwww-perl-5.814/t/robot/rules-dbm.t
/home/gemm/my_docs/perl_modules/libwww-perl-5.814/lib/WWW/RobotRules/AnyDBM_File.pm
/home/gemm/my_programs/eclipse/plugins/com.jaxfront.eclipse_2.9.0/examples/purchaseOrder/po.dbm
/home/gemm/my_programs/com.jaxfront.eclipse_2.9.0/examples/purchaseOrder/po.dbm
/home/gemm/my_programs/plugins/com.jaxfront.eclipse_2.9.0/examples/purchaseOrder/po.dbm
/home/gemm/my_programs/XUIEditor/examples/purchaseOrder/po.dbm
/home/gemm/my_programs/XUIEditor/examples/real-estate/estate-object_castor.dbm
/home/gemm/my_programs/XUIEditor/examples/real-estate/estate-object.dbm
/home/gemm/my_programs/XUIEditor/examples/callReport/callReport.dbm
/home/gemm/my_programs/XUIEditor/lib/jaxfront-dbm.jar
/home/gemm/my_programs/jdk1.6.0_07/db/docs/html/ref/rrefdbmlimits.html
/home/gemm/workspace/JAXFront Demo Project/examples/purchaseOrder/po.dbm
/home/gemm/my_games/SDL-1.2.13/docs/man3/SDL_LoadBMP.3
/home/gemm/my_games/SDL-1.2.13/docs/html/sdlloadbmp.html
/usr/include/seamonkey-1.1.2/nss/ckdbm.h
/usr/include/seamonkey-1.1.2/dbm
/usr/include/seamonkey-1.1.2/dbm/winfile.h
/usr/include/seamonkey-1.1.2/dbm/nsres.h
/usr/include/seamonkey-1.1.2/dbm/cdefs.h
/usr/include/seamonkey-1.1.2/dbm/mcom_db.h
/usr/include/seamonkey-1.1.2/dbm/ncompat.h
/usr/include/apr-1/apr_sdbm.h
/usr/include/apr-1/apr_dbm.h
/usr/include/gdbm.h
/usr/src/linux-2.6.21.5/Documentation/kdump/gdbmacros.txt
/usr/share/apps/quanta/dtep/php/dbm.tag
/usr/share/sgml/docbook/dsssl-stylesheets-1.79/print/dbmath.dsl
/usr/share/sgml/docbook/dsssl-stylesheets-1.79/print/dbmsgset.dsl
/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/dbmath.dsl
/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/dbmsgset.dsl
/usr/share/mime/application/x-gdbm.xml
/usr/share/mime/application/x-dbm.xml
/usr/share/ri/1.8/system/YAML/DBM
/usr/share/ri/1.8/system/YAML/DBM/each_value-i.yaml
/usr/share/ri/1.8/system/YAML/DBM/index-i.yaml
/usr/share/ri/1.8/system/YAML/DBM/reject-i.yaml
/usr/share/ri/1.8/system/YAML/DBM/to_hash-i.yaml
/usr/share/ri/1.8/system/YAML/DBM/delete-i.yaml
/usr/share/ri/1.8/system/YAML/DBM/%5b%5d%3d-i.yaml
/usr/share/ri/1.8/system/YAML/DBM/replace-i.yaml
/usr/share/ri/1.8/system/YAML/DBM/each-i.yaml
/usr/share/ri/1.8/system/YAML/DBM/invert-i.yaml
/usr/share/ri/1.8/system/YAML/DBM/values-i.yaml
/usr/share/ri/1.8/system/YAML/DBM/values_at-i.yaml
/usr/share/ri/1.8/system/YAML/DBM/fetch-i.yaml
/usr/share/ri/1.8/system/YAML/DBM/%5b%5d-i.yaml
/usr/share/ri/1.8/system/YAML/DBM/has_value%3f-i.yaml
/usr/share/ri/1.8/system/YAML/DBM/cdesc-DBM.yaml
/usr/share/ri/1.8/system/YAML/DBM/select-i.yaml
/usr/share/ri/1.8/system/YAML/DBM/to_a-i.yaml
/usr/share/ri/1.8/system/YAML/DBM/shift-i.yaml
/usr/share/ri/1.8/system/YAML/DBM/each_pair-i.yaml
/usr/share/ri/1.8/system/YAML/DBM/store-i.yaml
/usr/share/ri/1.8/system/YAML/DBM/delete_if-i.yaml
/usr/share/ri/1.8/system/YAML/DBM/update-i.yaml
/usr/share/texmf/fonts/source/lh/lh-t2d/ldbmo9.mf
/usr/share/texmf/fonts/source/lh/lh-t2d/ldbmr8.mf
/usr/share/texmf/fonts/source/lh/lh-t2d/ldbmr10.mf
/usr/share/texmf/fonts/source/lh/lh-t2d/ldbmo8.mf
/usr/share/texmf/fonts/source/lh/lh-t2d/ldbmo17.mf
/usr/share/texmf/fonts/source/lh/lh-t2d/ldbmr17.mf
/usr/share/texmf/fonts/source/lh/lh-t2d/ldbmr9.mf
/usr/share/texmf/fonts/source/lh/lh-t2d/ldbmo10.mf
/usr/doc/python-2.5.1/Demo/classes/Dbm.py
/usr/doc/python-2.5.1/html/Python-Docs-2.5.1/lib/module-dbm.html
/usr/doc/python-2.5.1/html/Python-Docs-2.5.1/lib/module-anydbm.html
/usr/doc/python-2.5.1/html/Python-Docs-2.5.1/lib/module-gdbm.html
/usr/doc/python-2.5.1/html/Python-Docs-2.5.1/lib/dumbdbm-objects.html
/usr/doc/python-2.5.1/html/Python-Docs-2.5.1/lib/module-dumbdbm.html
/usr/doc/gdbm-1.8.3
/usr/doc/gdbm-1.8.3/ChangeLog
/usr/doc/gdbm-1.8.3/COPYING
/usr/doc/gdbm-1.8.3/README
/usr/doc/gdbm-1.8.3/NEWS
/usr/doc/SDL-1.2.11/html/sdlloadbmp.html
/usr/local/share/man/man3/SDL_LoadBMP.3
/usr/sbin/dbmmanage
/usr/sbin/httxt2dbm
/usr/sbin/htdbm
/usr/lib/libgdbm.la
/usr/lib/libgdbm.so
/usr/lib/libgdbm.so.2.0.0
/usr/lib/libgdbmi_parser.so.0
/usr/lib/python2.5/anydbm.pyc
/usr/lib/python2.5/dumbdbm.py
/usr/lib/python2.5/test/test_anydbm.pyo
/usr/lib/python2.5/test/test_dumbdbm.pyo
/usr/lib/python2.5/test/test_gdbm.pyc
/usr/lib/python2.5/test/test_gdbm.py
/usr/lib/python2.5/test/test_dbm.pyo
/usr/lib/python2.5/test/test_anydbm.py
/usr/lib/python2.5/test/test_gdbm.pyo
/usr/lib/python2.5/test/test_dbm.py
/usr/lib/python2.5/test/test_dbm.pyc
/usr/lib/python2.5/test/test_anydbm.pyc
/usr/lib/python2.5/test/test_dumbdbm.pyc
/usr/lib/python2.5/test/test_dumbdbm.py
/usr/lib/python2.5/lib-dynload/gdbm.so
/usr/lib/python2.5/lib-dynload/dbm.so
/usr/lib/python2.5/anydbm.pyo
/usr/lib/python2.5/anydbm.py
/usr/lib/python2.5/dumbdbm.pyo
/usr/lib/python2.5/dumbdbm.pyc
/usr/lib/gcc/i486-slackware-linux/4.1.2/include/seamonkey-1.0.7/dbm
/usr/lib/gcc/i486-slackware-linux/4.1.2/include/seamonkey-1.0.7/dbm/ncompat.h
/usr/lib/libgdbmi_parser.so.0.0.0
/usr/lib/httpd/modules/mod_authz_dbm.so
/usr/lib/httpd/modules/mod_authn_dbm.so
/usr/lib/libgdbmi_parser.la
/usr/lib/yp/makedbm
/usr/lib/libgdbm.so.3.0.0
/usr/lib/ruby/1.8/yaml/dbm.rb
/usr/lib/ruby/1.8/i486-linux/gdbm.so
/usr/lib/ruby/1.8/i486-linux/dbm.so
/usr/lib/ruby/1.8/i486-linux/sdbm.so
/usr/lib/libgdbm.a
/usr/lib/java/db/docs/html/ref/rrefdbmlimits.html
/usr/lib/libgdbmi_parser.so
/usr/lib/libgdbm.so.2
/usr/lib/libgdbm.so.3
/usr/lib/perl5/5.8.8/i486-linux-thread-multi/SDBM_File.pm
/usr/lib/perl5/5.8.8/i486-linux-thread-multi/GDBM_File.pm
/usr/lib/perl5/5.8.8/i486-linux-thread-multi/auto/sdbm
/usr/lib/perl5/5.8.8/i486-linux-thread-multi/auto/sdbm/extralibs.ld
/usr/lib/perl5/5.8.8/i486-linux-thread-multi/auto/GDBM_File
/usr/lib/perl5/5.8.8/i486-linux-thread-multi/auto/GDBM_File/GDBM_File.so
/usr/lib/perl5/5.8.8/i486-linux-thread-multi/auto/GDBM_File/GDBM_File.bs
/usr/lib/perl5/5.8.8/i486-linux-thread-multi/auto/SDBM_File
/usr/lib/perl5/5.8.8/i486-linux-thread-multi/auto/SDBM_File/SDBM_File.so
/usr/lib/perl5/5.8.8/i486-linux-thread-multi/auto/SDBM_File/SDBM_File.bs
/usr/lib/perl5/5.8.8/dbm_filter_util.pl
/usr/lib/perl5/5.8.8/DBM_Filter.pm
/usr/lib/perl5/5.8.8/Memoize/NDBM_File.pm
/usr/lib/perl5/5.8.8/Memoize/AnyDBM_File.pm
/usr/lib/perl5/5.8.8/Memoize/SDBM_File.pm
/usr/lib/perl5/5.8.8/pod/perldbmfilter.pod
/usr/lib/perl5/5.8.8/DBM_Filter
/usr/lib/perl5/5.8.8/DBM_Filter/encode.pm
/usr/lib/perl5/5.8.8/DBM_Filter/compress.pm
/usr/lib/perl5/5.8.8/DBM_Filter/utf8.pm
/usr/lib/perl5/5.8.8/DBM_Filter/int32.pm
/usr/lib/perl5/5.8.8/DBM_Filter/null.pm
/usr/lib/perl5/5.8.8/AnyDBM_File.pm
/usr/lib/perl5/site_perl/5.8.8/i486-linux-thread-multi/DBD/DBM.pm
/usr/lib/perl5/site_perl/5.8.8/WWW/RobotRules/AnyDBM_File.pm
/usr/info/gdbm.info.gz
/usr/man/man3/DBM_Filter::int32.3.gz
/usr/man/man3/DBM_Filter::compress.3.gz
/usr/man/man3/DBD:
BM.3.gz
/usr/man/man3/DBM_Filter::encode.3.gz
/usr/man/man3/WWW::RobotRules::AnyDBM_File.3
/usr/man/man3/AnyDBM_File.3.gz
/usr/man/man3/Memoize::AnyDBM_File.3.gz
/usr/man/man3/GDBM_File.3.gz
/usr/man/man3/SDL_LoadBMP.3.gz
/usr/man/man3/DBM_Filter::utf8.3.gz
/usr/man/man3/SDBM_File.3.gz
/usr/man/man3/Memoize::NDBM_File.3.gz
/usr/man/man3/DBM_Filter::null.3.gz
/usr/man/man3/Memoize::SDBM_File.3.gz
/usr/man/man3/gdbm.3.gz
/usr/man/man3/DBM_Filter.3.gz
/usr/man/man8/makedbm.8.gz
/usr/man/man1/perldbmfilter.1.gz
/usr/man/man1/htdbm.1.gz
/usr/man/man1/dbmmanage.1.gz
- 03-25-2009 #6Linux Newbie
- Join Date
- Feb 2009
- Location
- Third ring of Pergatory
- Posts
- 199
First two lines suggest gdbm is already installed, the third is the library gdm in directory /usr/libCode:/var/log/packages/gdbm-1.8.3-i486-4 /var/log/scripts/gdbm-1.8.3-i486-4 /usr/lib/libgdbm.so.2.0.0
Check you're path variable, I think /usr/lib ought to be included
- 03-25-2009 #7Just Joined!
- Join Date
- Sep 2008
- Posts
- 32
I have added the paths of the dbm libraries in my PATH in the .bash_profile file. Now the PATH variable looks like this:
PATH=$PATH:$HOME/bin:/home/gemm/my_programs/jdk1.6.0._07/:/var/log/packages/gdbm-1.8.3-i486-4/:/var/log/scripts/gdbm-1.8.3-i486-4/:/usr/lib/libgdbm.so.2.0.0/:/usr/lib/
However, when I try to execute ./configure, I receive the exact same error message as I have written in my first post.
(I have also restarted the computer).
You have written in one of your posts:
"Once you've found the missing libs, you can link them into the ./confgure statement and compile your app."
What exactly does it mean? Is it just adding the libraries to the PATH variable or something else?
- 03-25-2009 #8Linux Newbie
- Join Date
- Feb 2009
- Location
- Third ring of Pergatory
- Posts
- 199
configure checks for the presence ofl libraries and writes them into things like $PKG_PATH so the gcc can find it when it compiles. If you open the configure file in a text editor, you can see specifically what it's looking for. You know the dbm library is in usr/include/lib. In the configure file is a hard coded search path, just append "usr/include/lib/:" to that path and re-run configure, it should see the lib and load it so it can compile the app.


Reply With Quote
