[Novalug] missing libtermcap.so.2
Brander Snaxe
brandon20va@yahoo.com
Thu Sep 20 13:10:55 EDT 2012
Wow, that was annoying.
I just tried on my own out of curiosity.
I grabbed compat-libtermcap from SL 6 here:
http://ftp.scientificlinux.org/linux/scientific/6.3/SRPMS/vendor/
Then I installed development tools.
Then I did rpmbuild --rebuild and installed the resulting compat-libtermcap.
Amanda package still complained.
I went back and modified the .spec file for compat-libtermcap and added the Provides: libtermcap.so.2 line.
Finally, the amanda package installed. It complained that 'user amandabackup does not exist.' Not sure how big a deal that is.
I'd say you need to file a bug with ZManda or Fedora. Either Zmanda is building their stuff on red hat boxes or their Fedora boxes have non-standard Fedora packages on them.
Or maybe Fedora should have a compat-libtermcap package?
----- Original Message -----
From: David L Durant <emags4DLD@cox.net>
To: novalug@calypso.tux.org
Cc:
Sent: Thursday, September 20, 2012 12:34 PM
Subject: Re: [Novalug] missing libtermcap.so.2
Oops - one small correction:
Step (2) below is unlikely to succeed, because I just tried this:
# rpm -q --whatprovides libtermcap
and none of my installed Fedora-17 packages matched.
Also, change the do .. done command as follows:
# rpm -q --provides -p $pkg | grep libtermcap && echo == $pkg ==
Dave
---------------------------------------------
On 09/20/2012 12:08 PM, David L Durant wrote:
>
> An interesting problem -- by design the Amanda software is distribution
> independent, yet still has dependencies upon other packages. The Amanda
> software maintainer should select the lowest level package dependencies
> that work consistently across all the candidate distributions.
>
> To see what dependencies the RPM package says Amanda requires, try this:
> # rpm -q --requires -p amanda-backup_client-3.3.2-1.*.rpm
> libtermcap.so.2
> RPM says Amanda depends upon this specific libtermcap binary interface.
>
> The Fedora distribution does not provide a libtermcap package, as you
> already knew. What actions can we take to mitigate this problem?
>
> 1. Post this issue on the Amanda support site for future resolution
>
> 2. Install some Fedora package that provides this missing dependency:
> # for pkg in *.rpm
> # do
> # rpm -q --provides -p $pkg | grep -H libtermcap
> # done
>
> 3. Build your own libtermcap package on a Fedora-17 development box
> 3.1. Obtain the libtermcap package from some other distribution
> 3.2. Determine whether libtermcap has dependencies of its own
> # rpm -q --provides -p libtermcap.so.2*
> 3.3. Build the libtermcap package from its source code for Fedora-17
> 3.4. Resolve any errors, review the warnings, then install libtermcap
>
> *David L Durant (Dave)*
> Senior Systems Engineer
> Fairfax, VA, 22033
> --------------------------------------------
> On 09/20/2012 10:19 AM, Brander Snaxe wrote:
>>
>> "I have a specific need to use the packages from theAmanda community."
>>
>> Where are you downloading this from exactly?
>>
>> ----- Original Message -----
>> From: Jon LaBadie <novalugml@jgcomp.com>
>> Sent: Thursday, September 20, 2012 1:46 AM
>> ---------------------------------------------------------------
>> On Thu, Sep 20, 2012 at 01:18:00AM -0400, David L Durant wrote:
>>
>>> Mixing software from different distributions is more art than science.
>>> Since amanda is one of the Fedora 17 provided Packages, simply use yum
>>> to install whichever version you require. If you still get dependency
>>> errors, it should be possible to analyze and resolve the conflicts.
>>
>> I have a specific need to use the packages from the
>> Amanda community.
>>
>>> Mirror.site:/fedora/linux/releases/17/Fedora/x86_64/os/Packages/
>>> amanda-3.3.0-5.fc17.x86_64.rpm
>>> Mirror.site:/fedora/linux/releases/17/Fedora/i386/os/Packages/
>>> amanda-3.3.0-5.fc17.i686.rpm
>>>
>>> Compatible software packages must implement the same binary interfaces.
>>> I doubt that libtermcap, libncurses, and libtinfo have fully compatible
>>> interfaces. Substituting a different library using a symlink only works
>>> reliably when the substitute library implements everything amanda needs.
>>>
>>> Dave
>>> ------------------------------------------
>>> On 09/19/2012 11:02 PM, Jon LaBadie wrote:
>>>> ------------------------------------------------------------
>>>> On Wed, Sep 19, 2012 at 07:33:08PM -0400, greg pryzby wrote:
>>>>
>>>>> did you try
>>>>> yum install package-name.rpm
>>>>> or tell us the name of the package
>>>>
>>>> Tried, also tried "rpm -ivh package.rpm".
>>>>
>>>> The software is the amanda client, though
>>>> not from a Fedora repo.
>>>>
>>>> It does install with rpm with the --nodeps
>>>> option and I test it that way. I'd prefer
>>>> the maintainers fix the dependency.libncurses
>>>>
>>>> Jon
>>>>> --------------------------------------------------------------------------
>>>>> [SNIP]
_______________________________________________
Novalug mailing list
Novalug@calypso.tux.org
http://calypso.tux.org/mailman/listinfo/novalug
More information about the Novalug
mailing list