Hello. Maybe after work with FreeBSD I become too spoilt, but I expect that packages from one distribution kit works among themselves well. But that I see: $ rpm -qa | grep rpm rpm-libs-4.3.13_nonptl rpm-python-4.3.13_nonptl rpm-4.3.13_nonptl rpm-build-4.3.13_nonptl $python>>> import rpmImportError /usr/lib/librpm-4.3.so: undefined symbol: rpm_execcon Thanks.
Dan Shidlovsky wrote:> Maybe after work with FreeBSD I become too spoilt, but I expect that > packages from one distribution kit works among themselves well. But > that I see: > > $ rpm -qa | grep rpm > > rpm-libs-4.3.13_nonptl > rpm-python-4.3.13_nonptl > rpm-4.3.13_nonptl > rpm-build-4.3.13_nonptl > > $python >>>> import rpm > ImportError /usr/lib/librpm-4.3.so: undefined symbol: rpm_execcon >this works for me just fine. did you install anything from source / third party repo that might have caused this issue ? what arch is this ? can you rpm -V the rpm packages ? is selinux enforcing ? -- Karanbir Singh : http://www.karan.org/ : 2522219 at icq
> Maybe after work with FreeBSD I become too spoilt, but I expect that > packages from one distribution kit works among themselves well. But > that I see:Nothing like biting wit to start the morning.> $ rpm -qa | grep rpm > > rpm-libs-4.3.13_nonptl > rpm-python-4.3.13_nonptl > rpm-4.3.13_nonptl > rpm-build-4.3.13_nonptlSeems 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> $python > >>> import rpm > ImportError /usr/lib/librpm-4.3.so: undefined symbol: rpm_execconYep. 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 >>> >>>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? -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA
Reasonably Related Threads
- [PATCH] rpm: use librpm's rpmvercmp
- [supermin PATCH 0/5] rpm: fix package selection w/ multilib
- [PATCH 0/4] rpm: Choose providers better (RHBZ#1266918).
- Re: [PATCH] Adding ibm-powerkvm distro detection (the right one)
- [PATCH 0/2] supermin: use librpm for rpm support