[CentOS] yum and python. grief and grief. CentOS 4.3

William L. Maltby BillsCentOS at triad.rr.com
Wed Jun 21 12:36:23 UTC 2006


On Wed, 2006-06-21 at 08:16 -0400, Jim Perrin wrote:
> > Maybe after work with FreeBSD I become too spoilt, but I expect that
> > packages from one distribution kit works among themselves well.

Glad to see you too this fine A.M. :-=)

> <snip>

> Seems I've got the same versions you do. Couple additional packages,
> but nothing major.
> [jperrin at www ~]$ rpm -qa | grep rpm
> rpm-libs-4.3.3-13_nonptl
> rpm-build-4.3.3-13_nonptl
> rpm-python-4.3.3-13_nonptl
> rpmdb-CentOS-4.3-0.20060314
> redhat-rpm-config-8.0.32.1-1
> rpm-4.3.3-13_nonptl
> rpm-devel-4.3.3-13_nonptl

[root at wlmlfs08 ~]# rpm -qa rpm\*
rpm-python-4.3.3-13_nonptl.i386
rpm-4.3.3-11_nonptl.i386
rpm-build-4.3.3-11_nonptl.i386
rpmdb-CentOS-4.2-0.20051011.i386
rpmdb-CentOS-4.3-0.20060314.i386
rpm-libs-4.3.3-11_nonptl.i386
rpm-libs-4.3.3-13_nonptl.i386
rpm-build-4.3.3-13_nonptl.i386
rpm-4.3.3-13_nonptl.i386
rpm-devel-4.3.3-11_nonptl.i386
rpmforge-release-0.3.4-1.el4.rf.i386
rpm-python-4.3.3-11_nonptl.i386
rpm-devel-4.3.3-13_nonptl.i386
[root at wlmlfs08 ~]#

> 
> 
> > $python
> > >>> import rpm
> > ImportError /usr/lib/librpm-4.3.so: undefined symbol: rpm_execcon
> 
> Yep. That's an error alright. However it works fine here.
> 
> [jperrin at www ~]$ python
> Python 2.3.4 (#1, Mar 10 2006, 06:12:09)
> [GCC 3.4.5 20051201 (Red Hat 3.4.5-2)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import rpm
> >>>
> >>>

Works fine here too.

  [root at wlmlfs08 ~]# python
  Python 2.3.4 (#1, Mar 10 2006, 06:12:09)
  [GCC 3.4.5 20051201 (Red Hat 3.4.5-2)] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import rpm
  >>>
  [root at wlmlfs08 ~]#

> 
> 
> Now call me  suspicious, but your python does not identify itself, and
> you don't seem to list the python version. Did you upgrade python?

<sarcasm>
You imply that it might be a "wetware" problem rather than non-BSD (i.e
CentOS) incompatibility? I knew you were a cranky old fart!  ;-)
</sarcasm>

> 
> 
> 
-- 
Bill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060621/20fb3ba0/attachment.sig>


More information about the CentOS mailing list