[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: libdb-4.4.so: cannot open shared object file

From: Martin Rutzinger <Martin.Rutzinger_at_uibk.ac.at>
Date: 2006-02-21 14:33:33 CET

hi list!

i could eliminate the python error by installing python again and linking the
makefile to the required directory:.

wget http://www.python.org/ftp/python/2.4/Python-2.4.tgz
tar xvfz Python-2.4.tgz
cd Python-2.4
./configure
make
make install
make clean
cd /usr/lib/python-2.4
ln -s /usr/local/src/Python-2.4/ ./config

BUT: my system still suffers from the error which i get trying to create a
repository:

svnadmin create /usr/local/svnrepos
# ERROR: svnadmin: error while loading shared libraries: libdb-4.4.so: cannot
open shared object No such file or directory

this is my configure statment:
./configure --with-berkeley-db=/usr/local/BerkeleyDB.4.4
--with-apxs=/usr/local/apache2/bin/apxs --with-apr=/usr/local/apache2
--with-apr-util=/usr/local/apache2

*.so is linked:
/usr/local/lib/libdb-4.4.so -> /usr/local/BerkeleyDB.4.4/lib/libdb-4.4.so

any suggestions?
thanks alot
martin

Zitat von Martin Rutzinger <Martin.Rutzinger@uibk.ac.at>:

> hi list!
>
> i try to set up subversion-1.3.0 on mandriva2006. i have two problems not
> know
> if they are related to each other?!
>
> FIRST:
> my configure statment tells me problems not finding python makefile. there is
> no
> path or similar on my system (/usr/lib/python2.4/config/Makefile).
> even there is allready a post on this issue
>
(http://www.nabble.com/problems-compiling-subversion-python-bindings-t445016.html),
> i could not solve my problem:
>
> ./configure --with-berkeley-db=/usr/local/BerkeleyDB.4.4
> --with-apxs=/usr/local/apache2/bin/apxs --with-apr=/usr/local/apache2
> --with-apr-util=/usr/local/apache2
>
> ...
> configure: Configuring python swig binding
> checking for Python includes... -I/usr/include/python2.4
> checking for compiling Python extensions... Traceback (most recent call
> last):
> File "/usr/local/src/subversion-1.3.0/build/get-py-info.py", line 43, in ?
> cc, basecflags, opt, ccshared = \
> File "/usr/lib/python2.4/distutils/sysconfig.py", line 488, in
> get_config_vars
> func()
> File "/usr/lib/python2.4/distutils/sysconfig.py", line 358, in _init_posix
> raise DistutilsPlatformError(my_msg)
> distutils.errors.DistutilsPlatformError: invalid Python installation: unable
> to
> open /usr/lib/python2.4/config/Makefile (No such file or directory)
>
> checking for linking Python extensions... Traceback (most recent call last):
> File "/usr/local/src/subversion-1.3.0/build/get-py-info.py", line 128, in ?
> print " ".join(link_options())
> File "/usr/local/src/subversion-1.3.0/build/get-py-info.py", line 66, in
> link_options
> options = sysconfig.get_config_var('LDSHARED').split()
> File "/usr/lib/python2.4/distutils/sysconfig.py", line 511, in
> get_config_var
> return get_config_vars().get(name)
> File "/usr/lib/python2.4/distutils/sysconfig.py", line 488, in
> get_config_vars
> func()
> File "/usr/lib/python2.4/distutils/sysconfig.py", line 358, in _init_posix
> raise DistutilsPlatformError(my_msg)
> distutils.errors.DistutilsPlatformError: invalid Python installation: unable
> to
> open /usr/lib/python2.4/config/Makefile (No such file or directory)
>
> checking for linking Python libraries... Traceback (most recent call last):
> File "/usr/local/src/subversion-1.3.0/build/get-py-info.py", line 132, in ?
> print " ".join(lib_options())
> File "/usr/local/src/subversion-1.3.0/build/get-py-info.py", line 109, in
> lib_options
> link_command = link_options()
> File "/usr/local/src/subversion-1.3.0/build/get-py-info.py", line 66, in
> link_options
> options = sysconfig.get_config_var('LDSHARED').split()
> File "/usr/lib/python2.4/distutils/sysconfig.py", line 511, in
> get_config_var
> return get_config_vars().get(name)
> File "/usr/lib/python2.4/distutils/sysconfig.py", line 488, in
> get_config_vars
> func()
> File "/usr/lib/python2.4/distutils/sysconfig.py", line 358, in _init_posix
> raise DistutilsPlatformError(my_msg)
> distutils.errors.DistutilsPlatformError: invalid Python installation: unable
> to
> open /usr/lib/python2.4/config/Makefile (No such file or directory)
>
> checking for apr_int64_t Python/C API format string... L
> checking perl version... 5008007
> checking for makeinfo... /usr/bin/makeinfo
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating svn-config
> config.status: creating tools/backup/hot-backup.py
> config.status: creating contrib/client-side/svn_load_dirs.pl
> config.status: creating contrib/client-side/svncopy.pl
> config.status: creating contrib/client-side/testsvncopy.pl
> config.status: creating tools/hook-scripts/commit-access-control.pl
> config.status: creating tools/hook-scripts/commit-email.pl
> config.status: creating tools/hook-scripts/propchange-email.pl
> config.status: creating subversion/bindings/swig/perl/native/Makefile.PL
> config.status: creating subversion/svn_private_config.h
> config.status: subversion/svn_private_config.h is unchanged
> config.status: executing mkdir-init commands
>
>
>
>
> SECOND:
> ignoring my first problem; if i run subversion and i try to create a
> repository
> i get an error on libdb-4.4.so even i set the environment variables right:
>
> bash-3.00$ svnadmin create /usr/local/svnrepos
> svnadmin: error while loading shared libraries: libdb-4.4.so: cannot open
> shared
> object file: No such file or directory
>
> thank you very much
> martin
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 21 14:38:47 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.