Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
svn и libdb-4.2.so
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
alexd73
n00b
n00b


Joined: 02 Jul 2007
Posts: 15

PostPosted: Sun Sep 23, 2007 2:38 pm    Post subject: svn и libdb-4.2.so Reply with quote

У меня libdb-4.2.so не находит...
нашел на этом примере
Code:
 layman -a xeffects
* Running command "/usr/bin/svn co "svn://svn.gentoo-xeffects.org/xeffects/trunk/" "/usr/local/layman/xeffects""...
/usr/bin/svn: error while loading shared libraries: libdb-4.2.so: cannot open shared object file: No such file or directory
* Failed to add overlay "xeffects".
* Error was: Adding the overlay failed!

а вобщем то просто
Code:
# svn
svn: error while loading shared libraries: libdb-4.2.so: cannot open shared object file: No such file or directory


Библиотеки есть, но может путь не правильно настроен?

Code:
find /usr -name libdb-4.2.so
/usr/lib32/libdb-4.2.so
/usr/lib32/openoffice/program/libdb-4.2.so


Не подскажите, что может быть?
Back to top
View user's profile Send private message
fank
l33t
l33t


Joined: 16 Oct 2004
Posts: 794
Location: Minsk, Belarus

PostPosted: Mon Sep 24, 2007 9:55 am    Post subject: Reply with quote

покажи ldd `which svn`
Back to top
View user's profile Send private message
alexd73
n00b
n00b


Joined: 02 Jul 2007
Posts: 15

PostPosted: Wed Sep 26, 2007 4:00 pm    Post subject: Reply with quote

Code:
$ ldd `which svn`
/usr/bin/ldd: line 161: /lib/ld-linux.so.2: не могу запустить бинарный файл
        libsvn_client-1.so.0 => /usr/lib64/libsvn_client-1.so.0 (0x00002b89da4fc000)
        libsvn_wc-1.so.0 => /usr/lib64/libsvn_wc-1.so.0 (0x00002b89da626000)
        libsvn_ra-1.so.0 => /usr/lib64/libsvn_ra-1.so.0 (0x00002b89da753000)
        libsvn_diff-1.so.0 => /usr/lib64/libsvn_diff-1.so.0 (0x00002b89da857000)
        libsvn_ra_local-1.so.0 => /usr/lib64/libsvn_ra_local-1.so.0 (0x00002b89da95e000)
        libsvn_repos-1.so.0 => /usr/lib64/libsvn_repos-1.so.0 (0x00002b89daa65000)
        libsvn_fs-1.so.0 => /usr/lib64/libsvn_fs-1.so.0 (0x00002b89dab84000)
        libsvn_fs_fs-1.so.0 => /usr/lib64/libsvn_fs_fs-1.so.0 (0x00002b89dac8b000)
        libsvn_fs_base-1.so.0 => /usr/lib64/libsvn_fs_base-1.so.0 (0x00002b89dada8000)
        libsvn_ra_svn-1.so.0 => /usr/lib64/libsvn_ra_svn-1.so.0 (0x00002b89daed1000)
        libsvn_ra_dav-1.so.0 => /usr/lib64/libsvn_ra_dav-1.so.0 (0x00002b89dafe5000)
        libsvn_delta-1.so.0 => /usr/lib64/libsvn_delta-1.so.0 (0x00002b89db100000)
        libsvn_subr-1.so.0 => /usr/lib64/libsvn_subr-1.so.0 (0x00002b89db209000)
        libaprutil-1.so.0 => /usr/lib64/libaprutil-1.so.0 (0x00002b89db337000)
        libldap-2.3.so.0 => /usr/lib64/libldap-2.3.so.0 (0x00002b89db452000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00002b89db5a8000)
        liblber-2.3.so.0 => /usr/lib64/liblber-2.3.so.0 (0x00002b89db6bc000)
        libgdbm.so.3 => /usr/lib64/libgdbm.so.3 (0x00002b89db7c9000)
        libdb-4.2.so => not found
        libexpat.so.0 => /usr/lib64/libexpat.so.0 (0x00002b89db8cf000)
        libapr-1.so.0 => /usr/lib64/libapr-1.so.0 (0x00002b89db9f1000)
        libuuid.so.1 => /lib/libuuid.so.1 (0x00002b89dbb18000)
        librt.so.1 => /lib/librt.so.1 (0x00002b89dbc1c000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00002b89dbd25000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002b89dbe59000)
        libneon.so.26 => /usr/lib64/libneon.so.26 (0x00002b89dbf74000)
        libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00002b89dc095000)
        libcrypto.so.0.9.8 => /usr/lib64/libcrypto.so.0.9.8 (0x00002b89dc1db000)
        libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00002b89dc44d000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002b89dc68b000)
        libm.so.6 => /lib/libm.so.6 (0x00002b89dc78f000)
        libz.so.1 => /lib/libz.so.1 (0x00002b89dc8e5000)
        libc.so.6 => /lib/libc.so.6 (0x00002b89dc9f9000)
        /lib64/ld-linux-x86-64.so.2 (0x00002b89da3df000)
        libdb-4.2.so => not found
        libdb-4.2.so => not found
        libdb-4.2.so => not found
        libdb-4.2.so => not found
        libdb-4.2.so => not found
        libdb-4.2.so => not found
        libdb-4.2.so => not found
        libdb-4.2.so => not found
        libdb-4.2.so => not found
        libdb-4.2.so => not found
        libdb-4.2.so => not found
        libdb-4.2.so => not found
        libdb-4.2.so => not found

зато есть /usr/lib64/libdb-4.5.so. Как заставить svn юзать 4.5?
Back to top
View user's profile Send private message
Laitr Keiows
Bodhisattva
Bodhisattva


Joined: 04 Jul 2005
Posts: 891
Location: Kobe, Japan

PostPosted: Thu Sep 27, 2007 7:02 am    Post subject: Reply with quote

alexd73 wrote:
зато есть /usr/lib64/libdb-4.5.so. Как заставить svn юзать 4.5?

По правилам: пересобрать.
Back to top
View user's profile Send private message
alexd73
n00b
n00b


Joined: 02 Jul 2007
Posts: 15

PostPosted: Thu Sep 27, 2007 9:12 am    Post subject: Reply with quote

Laitr Keiows wrote:

По правилам: пересобрать.

пересобрать тоже не получается

Code:
grep: /usr/lib64/libdb-4.2.la: No such file or directory
/bin/sed: can't read /usr/lib64/libdb-4.2.la: No such file or directory
libtool: link: `/usr/lib64/libdb-4.2.la' is not a valid libtool archive
make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Ошибка 1
 *
 * ERROR: dev-util/subversion-1.3.2-r4 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   subversion-1.3.2-r4.ebuild, line 146:   Called die
 *
 * Compilation of subversion failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-util/subversion-1.3.2-r4/temp/build.log'.
 *
Back to top
View user's profile Send private message
Laitr Keiows
Bodhisattva
Bodhisattva


Joined: 04 Jul 2005
Posts: 891
Location: Kobe, Japan

PostPosted: Thu Sep 27, 2007 10:40 am    Post subject: Reply with quote

Тогда собрать sys-libs/db меньшей версии.
Back to top
View user's profile Send private message
alexd73
n00b
n00b


Joined: 02 Jul 2007
Posts: 15

PostPosted: Thu Sep 27, 2007 3:02 pm    Post subject: Reply with quote

Laitr Keiows wrote:
Тогда собрать sys-libs/db меньшей версии.

сделал
Code:
emerge 'db-4.2*'

subversion встал, теперь
Quote:
# svn
svn: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
Back to top
View user's profile Send private message
fank
l33t
l33t


Joined: 16 Oct 2004
Posts: 794
Location: Minsk, Belarus

PostPosted: Thu Sep 27, 2007 3:06 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-556773.html#4225552
Back to top
View user's profile Send private message
alexd73
n00b
n00b


Joined: 02 Jul 2007
Posts: 15

PostPosted: Sun Sep 30, 2007 5:40 pm    Post subject: Reply with quote

теперь вот такая ошибка, когда делаю emerhe -NDu world на этапе установки musicbrainz.
Code:
error operator new takes type 'size_t' ('unsigned_int') as first parametr

в нете про это не нашел..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum