Dependency hell - Having some trouble getting ncmpcpp working, libtinfo.so.6 missing

I’m trying to install the ncmpccp media player, but it’s looking for libtinfo.so.6 (part of the GLIB library), which is apparently not present on my system. I DO have the latest glib library according to zypper, but ncmpccp is correct: libtinfo.so.6 is not in my /lib64/ directory. If my glib package is fully updated (or my package manager “thinks” it’s updated), then how am I supposed to get this library?

Here’s the error I get when I launch ncmpccp:

$ ncmpcpp
ncmpcpp: error while loading shared libraries: libtinfo.so.6: cannot open shared object file: No such file or directory

On Thu, 02 Feb 2012 05:46:02 +0000, AladdinP wrote:

> I’m trying to install the ncmpccp media player, but it’s looking for
> libtinfo.so.6 (part of the GLIB library), which is apparently not
> present on my system. I DO have the latest glib library according to
> zypper, but ncmpccp is correct: libtinfo.so.6 is not in my /lib64/
> directory. If my glib package is fully updated (or my package manager
> “thinks” it’s updated), then how am I supposed to get this library?
>
> Here’s the error I get when I launch ncmpccp:
>
>
> Code:
> --------------------
> $ ncmpcpp
> ncmpcpp: error while loading shared libraries: libtinfo.so.6: cannot
> open shared object file: No such file or directory
>
> --------------------

Where are you installing from? I just installed it on my x64 system, and
it doesn’t seem to think libtinfo.so.6 is a required dependency.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

I’m getting it directly from zypper. I suppose I should mention I’m using openSUSE 12.1 x64.

Here’s a screenshot of exactly what I did and what happens when I try to run it:
http://i.imgur.com/wfxC0.png

EDIT: I realize “from zypper” may not have been the answer you’re looking for. How can I find out which repository zypper is listing ncmpcpp from?

On Thu, 02 Feb 2012 06:26:02 +0000, AladdinP wrote:

> I’m getting it directly from zypper. I suppose I should mention I’m
> using openSUSE 12.1 x64.

Same version I’m using. :slight_smile:

> EDIT: I realize “from zypper” may not have been the answer you’re
> looking for. How can I find out which repository zypper is listing
> ncmpcpp from?

Try:

zypper se -s ncmpcpp

That’ll list all versions available and you should be able to see which
one’s installed - and it will indicate which repo you’ve installed from.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Looks like this is the one I installed:

S | Name                | Type       | Version    | Arch   | Repository        
--+---------------------+------------+------------+--------+-------------------
i | ncmpcpp             | package    | 0.5.6-2.15 | x86_64 | packman

Should I remove it and try a different version? If so, how would I specify which one to download in Zypper? (Sorry, new to SuSE and its package mangement)

Also, you might grab the output from:

zypper lr

Alright (I appreciate the speedy assistance, by the way!):


alden@rava-149:~/Downloads> zypper lr
#  | Alias                   | Name                       | Enabled | Refresh
---+-------------------------+----------------------------+---------+--------
 1 | ATI/AMD-FGLRX           | ATI/AMD-FGLRX              | Yes     | Yes    
 2 | Packman Repository      | Packman Repository         | Yes     | Yes    
 3 | libdvdcss repository    | libdvdcss repository       | Yes     | Yes    
 4 | openSUSE:Maintenance:94 | openSUSE:Maintenance:94    | Yes     | Yes    
 5 | packman                 | packman                    | Yes     | Yes    
 6 | packman-essentials      | packman-essentials         | Yes     | Yes    
 7 | packman-multimedia      | packman-multimedia         | Yes     | Yes    
 8 | repo-debug              | openSUSE-12.1-Debug        | No      | Yes    
 9 | repo-debug-update       | openSUSE-12.1-Update-Debug | No      | Yes    
10 | repo-non-oss            | openSUSE-12.1-Non-Oss      | Yes     | Yes    
11 | repo-oss                | openSUSE-12.1-Oss          | Yes     | Yes    
12 | repo-source             | openSUSE-12.1-Source       | No      | Yes    
13 | repo-update             | openSUSE-12.1-Update       | Yes     | Yes   

Also, you might grab the output from:

zypper lr

(Be sure to stick that between code tags so the formatting is preserved)

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Would compiling the latest version of glib help?

On Thu, 02 Feb 2012 06:56:02 +0000, AladdinP wrote:

> Looks like this is the one I installed:
>
> Code:
> --------------------
> S | Name | Type | Version | Arch |
> Repository
> --±--------------------±-----------±-----------±-------
±------------------
> i | ncmpcpp | package | 0.5.6-2.15 | x86_64 | packman
> --------------------
>
>
> Should I remove it and try a different version? If so, how would I
> specify which one to download in Zypper? (Sorry, new to SuSE and its
> package mangement)

When I install from Packman, I’m getting version 0.5.6-2.5 currently.

Are you sure you’re pointing at the 12.1 repo from Packman and not the
11.4 repo?

Shouldn’t be necessary to compile anything to get it running - but you do
need to have mpd installed as well (that’s not listed as a dependency,
but it is apparently required).

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Are you sure you’re pointing at the 12.1 repo from Packman and not the
11.4 repo?

Ah, there’s our problem! I added the wrong repository to the wiki. Removed the old repo, added the 12.1 repo, removed ncmpcpp, and then did zypper in ncmpcpp. All is well now. Thanks a lot, Jim!

As an afterthought:

zypper lr -d

would have revealed the URLs and thus shown the 11.4 repo at a glance.

I also have a remark on #5, #6 and #7. When you have the complete Packman (#5) you do not need the dedicated two at #6 and #7.

On Thu, 02 Feb 2012 08:36:02 +0000, AladdinP wrote:

>> Are you sure you’re pointing at the 12.1 repo from Packman and not the
>> 11.4 repo?
> Ah, there’s our problem! I added the wrong repository to the wiki.
> Removed the old repo, added the 12.1 repo, removed ncmpcpp, and then did
> zypper in ncmpcpp. All is well now. Thanks a lot, Jim!

Glad that got it working for you. :slight_smile:

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C