Re: [Bug 1435622] Re: missing dependency libdb-5

2015-03-26 Thread Elimar Riesebieter
* Moses Moore moses-ubu...@mozai.com [2015-03-26 04:11 -]:

 It's librcc. 
 mocp - librcc.so - libdb5.1.so

$ apt-cache show librcc0 | grep libdb
Depends: librcd0, libenca0, libaspell15 (= 0.60.7~20110707), libc6 (= 2.15), 
libdb5.3, libxml2 (= 2.7.4)

It seems that you have to run a:

$ sudo apt-get update  sudo apt-get dist-upgrade

Elimar
-- 
 We all know Linux is great... it does infinite loops in 5 seconds.
-Linus Torvalds

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1435622

Title:
  missing dependency libdb-5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/moc/+bug/1435622/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1435622] Re: missing dependency libdb-5

2015-03-25 Thread Elimar Riesebieter
* Moses Moore moses-ubu...@mozai.com [2015-03-24 23:59 -]:

 I already said before:  the fresh install you have probably brought in
 libdb5.1 from another package.

Nope.

My system:
Description:Ubuntu 14.04.2 LTS

$ dpkg -l | grep libdb5
ii  libdb5.3:amd645.3.28-3ubuntu3

$ dpkg -l | grep moc
ii  moc   1:2.5.0~beta1+svn201311

and mocp plays very well!


 The problem isn't whether libdb-5.1.so exists -- the problem is that
 mocp needs it, but it isn't one of the package dependencies.

No, mocp is build against libdb-dev. As far as the API doesn't
change it works with whatever libd version libddb-dev'a Api  points
to.

 On your new Ubuntu 14.04 stick, I'd like you to try this:
 
 $ ldd `which mocp` |grep libdb5.1

$ ldd /usr/bin/mocp | grep libdb
libdb-5.3.so = /usr/lib/x86_64-linux-gnu/libdb-5.3.so (0x7f946069f000)

 If you get a result, then mocp depends on libdb5.1.  Next, try removing
 libdb5.1 (don't actually remove it)

As you can realize on my system no libdb5.1 is installed.

 $ sudo apt-get remove $(dpkg -S libdb-5.1.so |cut -d':' -f1)

Doesn't make sense as it is not installed

 The output from this attempt to remove libdb-5.1 *should* mention that it 
 will also remove 'moc,' because mocp needs it and mocp comes from package 
 'moc'. 
 If it doesn't say that it will remove 'moc', then it's possible to install 
 'moc' even when one of the necessary libraries is missing.

 The fix would be to update the package's Depends: info to include
 libdb5.1.

No, as said before it works with all versions libdb-dev provides
with it's API.

 If you aren't an Ubuntu developer, at least you are an
 Ubuntu package maintainer, so you should know how to do this (if you are
 certain that it is necessary).

Of course I knwow this very well, as I am maintaining moc since
Sun, 14 Nov 2004. Check out

$ apt-get changelog moc

And scroll to the last line, though. And I know many, many
characters of bug posters..


Elimar
-- 
  Do you smell something burning or is it me?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1435622

Title:
  missing dependency libdb-5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/moc/+bug/1435622/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1435622] Re: missing dependency libdb-5

2015-03-24 Thread Elimar Riesebieter
* Moses Moore moses-ubu...@mozai.com [2015-03-24 22:50 -]:

 $ sudo ldconfig ; mocp
 mocp: error while loading shared libraries: libdb-5.1.so: cannot open shared 
 object file: No such file or directory

Sorry, but I can't reproduce this on a fresh 14.04.2 install on
amd64 :-( Maybe the Ubuntu packages for i386 have to be rebuild? I
am not an Ubuntu developer, though.

Elimar
-- 
  Do you smell something burning or is it me?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1435622

Title:
  missing dependency libdb-5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/moc/+bug/1435622/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1435622] Re: missing dependency libdb-5

2015-03-24 Thread Elimar Riesebieter
* Moses Moore moses-ubu...@mozai.com [2015-03-24 21:55 -]:

 $ dpkg -l | grep libdb5
 ii  libdb5.3:i3865.3.28-3ubuntu3  
 i386 Berkeley v5.3 Database Libraries 
 [runtime]
 
 $ sudo ldconfig
 ( no output; successful exit code  [ $? == 0 ] )

Did you tried to run mocp after ldconfig again?

Elimar
-- 
 Never make anything simple and efficient when a way
  can be found to make it complex and wonderful ;-)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1435622

Title:
  missing dependency libdb-5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/moc/+bug/1435622/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1435622] Re: missing dependency libdb-5

2015-03-24 Thread Elimar Riesebieter
* Moses Moore moses-ubu...@mozai.com [2015-03-24 14:34 -]:

 The stick you used probably has libdb5.1 installed because it's a
 dependency of some other packaage.
 
 The point is, it's not a dependency of *this* package.  And it should
 be, because the software won't run without it.
 
 And I do have 2.5.0 installed, which you'd see if you read the original
 bug report.

Hmm I see:
...
Package: moc 1:2.5.0~beta1+svn20131120-1
...

which is a bit old. Think you should upgrade to at least 14.04 LTS2

Elimar
-- 
  Do you smell something burning or is it me?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1435622

Title:
  missing dependency libdb-5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/moc/+bug/1435622/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1435622] Re: missing dependency libdb-5

2015-03-24 Thread Elimar Riesebieter
* Moses Moore moses-ubu...@mozai.com [2015-03-24 14:34 -]:

 The stick you used probably has libdb5.1 installed because it's a
 dependency of some other packaage.
 
 The point is, it's not a dependency of *this* package.  And it should
 be, because the software won't run without it.

Check out:

$ apt-cache show moc

and you'll find libdb($VERSION) in the Depends section.

Elimar
-- 
 Learned men are the cisterns of knowledge,
  not the fountainheads ;-)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1435622

Title:
  missing dependency libdb-5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/moc/+bug/1435622/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1435622] Re: missing dependency libdb-5

2015-03-24 Thread Elimar Riesebieter
* Moses Moore moses-ubu...@mozai.com [2015-03-24 19:12 -]:

 I'm already at LTS 2
 
 $ cat /etc/issue
 Ubuntu 14.04.2 LTS \n \l

$ lsb_release -a would be the correct way to grep your Ubuntu
version. Anyway

 
 And checking apt-cache show moc I see
 Depends: libasound2 (= 1.0.16), libc6 (= 2.15), libcurl3-gnutls (= 
 7.16.2), libdb5.3,
 
 But:
 $ ldd `which mocp` |grep libdb
   libdb-5.3.so = /usr/lib/i386-linux-gnu/libdb-5.3.so (0xb716f000)
   libdb-5.1.so = not found

Could you please try as follows:

# apt-get remove --purge moc
# apt-get autoremove
# apt-get install moc

And check again?

Thanks
Elimar
-- 
 You cannot propel yourself forward by
  patting yourself on the back.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1435622

Title:
  missing dependency libdb-5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/moc/+bug/1435622/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1435622] Re: missing dependency libdb-5

2015-03-24 Thread Elimar Riesebieter
* Moses Moore moses-ubu...@mozai.com [2015-03-24 20:06 -]:

 $ lsb_release -a
 No LSB modules are available.
 Distributor ID:   Ubuntu
 Description:  Ubuntu 14.04.2 LTS
 Release:  14.04
 Codename: trusty
[...]
 $ mocp
 mocp: error while loading shared libraries: libdb-5.1.so: cannot open shared 
 object file: No such file or directory
 $ ldd `which mocp` |grep libdb
   libdb-5.3.so = /usr/lib/i386-linux-gnu/libdb-5.3.so (0xb712c000)
   libdb-5.1.so = not found

Hmm,

what tells
$ dpkg -l | grep libdb5

Could you please try:

$ sudo ldconfig

Elimar
-- 
 Never make anything simple and efficient when a way
  can be found to make it complex and wonderful ;-)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1435622

Title:
  missing dependency libdb-5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/moc/+bug/1435622/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs