RE: Unsatisfied dependency of library included in package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Indeed, it does install correctly and runs fine. It's only manual dependency checking that fails. Even running the Dependency checking (Selection->Depends On) in the Add/Remove Software tool (post-install) fails. Does this suggest a bug at a more core level?

Thanks
HK


-----Original Message-----
From: rpm-list-bounces@xxxxxxxxxxxxx on behalf of Panu Matilainen
Sent: Sat 2009-02-07 6:49 AM
To: General discussion about the RPM package manager
Subject: Re: Unsatisfied dependency of library included in package
 
On Thu, 5 Feb 2009, Ho-Kuo Chan wrote:
> 
> Hello,
> 
> I've done a lot of reading over the past weeks (PackagerDocs, Fedora RPM
> Guide, etc) and have been fairly successful in building a binary RPM from my
> source files (the SRPM is yet to be tested). I am however, having one
> problem that I can't seem to find an answer to.
> 
> >From my source files, rpmbuild buils my Applications and its associated
> libraries. rpmbuild is able to determine what my package provides and its
> dependencies:
> 
> Provides: libOD8500_agentcore_lib.so.1 libOD8500_appdisp_lib.so.1
> libOD8500_cpdu_lib.so.1 libOD8500_dm_lib.so.1 libOD8500_eapoc_lib.so.1
> libOD8500_lib.so.1 libOD8500_mactrl_lib.so.1 libOD8500_osutils.so.1
> libOD8500_uicc_lib.so.1 libOD8500_utils_lib.so.1equires(interp):
> /sbin/ldconfig /sbin/ldconfig
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Requires(post): /sbin/ldconfig
> Requires(postun): /sbin/ldconfig
> Requires: /bin/sh libOD8500_agentcore_lib.so.1 libOD8500_appdisp_lib.so.1
> libOD8500_cpdu_lib.so.1 libOD8500_dm_lib.so.1 libOD8500_eapoc_lib.so.1
> libOD8500_lib.so.1 libOD8500_mactrl_lib.so.1 libOD8500_osutils.so.1
> libOD8500_uicc_lib.so.1 libOD8500_utils_lib.so.1 libQtCore.so.4
> libQtGui.so.4 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1)
> libc.so.6(GLIBC_2.1.3) libdbus-1.so.3 libdbus-glib-1.so.2 libgcc_s.so.1
> libgcc_s.so.1(GCC_3.0) libglib-2.0.so.0 libhal.so.1 libm.so.6
> libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1)
> libpthread.so.0(GLIBC_2.2) libstdc++.so.6 libstdc++.so.6(CXXABI_1.3)
> libstdc++.so.6(GLIBCXX_3.4) libstdc++.so.6(GLIBCXX_3.4.9) rtld(GNU_HASH)
> Checking for unpackaged file(s): /usr/lib/rpm/check-files
> /var/tmp/OD8500-2.0.0.alpha.1-root
> Wrote: /home/hchan2/rpmbuild/SRPMS/OD8500-2.0.0.alpha.1-1.src.rpm
> Wrote: /home/hchan2/rpmbuild/RPMS/i386/OD8500-2.0.0.alpha.1-1.i386.rpm
> 
> However, running yum deplist on the RPM yields:
> Loaded plugins: refresh-packagekit
> Finding dependencies:
> package: OD8500.i386 2.0.0.alpha.1-1
>   dependency: libOD8500_osutils.so.1
>    Unsatisfied dependency
>   dependency: libdbus-glib-1.so.2
>    provider: dbus-glib.i386 0.74-8.fc9
>    provider: dbus-glib.i386 0.74-6.fc9
>   dependency: libm.so.6
>    provider: glibc.i386 2.8-8
>    provider: glibc.i686 2.8-8
>    provider: glibc.i686 2.8-3
>    provider: glibc.i386 2.8-3
>   dependency: libOD8500_agentcore_lib.so.1
>    Unsatisfied dependency
> ...
> 
> I am having difficulty understanding why the dependencies to the libraries
> that are provided within the package are unsatisfied. What am I missing?

Have you actually tried to install the package?

This looks like a bug in yum deplist, it just doesn't handle self-provided 
requires on a local package correctly:

[root@turre RPMS]# rpm -qp --requires deptest-1.0-1.x86_64.rpm |grep goo
goo >= 1.0
[root@turre RPMS]# rpm -qp --provides deptest-1.0-1.x86_64.rpm |grep goo
goo = 2.0
[root@turre RPMS]# yum deplist deptest-1.0-1.x86_64.rpm
Loaded plugins: refresh-packagekit, tsflags
Finding dependencies:
package: deptest.x86_64 1.0-1
   dependency: goo >= 1.0
    Unsatisfied dependency
[root@turre RPMS]# rpm -Uvh deptest-1.0-1.x86_64.rpm
Preparing...                ########################################### 
[100%]
    1:deptest                ########################################### 
[100%]
[root@turre RPMS]#

 	- Panu -
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

<<winmail.dat>>

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux