Originally posted by: christophe41
Hello,
The yum packages are successfully installed.
But when i run my first yum repolist command, it returns the following error.
I can see my libffi package comes from the perzl download site.
Should i download the libffi package from the AIX TOOLBOX download site ?
Can i have a libffi package being installed from the perzl site and try an update of this package from the IBM AIX TOOLBOX site ?
As you can see i have dependencies on my libffi package... Do i have to uninstall dependant packages first ?
What would suggest to me ?
I thank you very much for your help,
christophe
(armmi009)/home/derouet/yum> yum repolist
Could not load program /opt/freeware/bin/python2:
Symbol resolution failed for /opt/freeware/lib/libpython2.7.so because:
Symbol _GLOBAL__AIXI_libffi_so (number 212) is not exported from dependent
module /opt/freeware/lib/libffi.a(libffi.so.6).
Symbol _GLOBAL__AIXD_libffi_so (number 213) is not exported from dependent
module /opt/freeware/lib/libffi.a(libffi.so.6).
System error: Error 0
Examine .loader section symbols with the 'dump -Tv' command.
(armmi009)/home/derouet/yum>
(armmi009)/home/derouet/yum>
(armmi009)/home/derouet/yum>
(armmi009)/home/derouet/yum> rpm -qa | grep libffi
libffi-3.2.1-2.ppc
(armmi009)/home/derouet/yum>
(armmi009)/home/derouet/yum>
(armmi009)/home/derouet/yum> rpm -qi libffi-3.2.1-2.ppc
Name : libffi
Version : 3.2.1
Release : 2
Architecture: ppc
Install Date: Tue Nov 26 09:31:58 2019
Group : System Environment/Libraries
Size : 513382
License : BSD
Signature : (none)
Source RPM : libffi-3.2.1-2.src.rpm
Build Date : Wed Dec 7 18:21:56 2016
Build Host : aix51.perzl.org
Relocations : (not relocatable)
URL : http://sourceware.org/libffi
Summary : A portable foreign function interface library
Description :
Compilers for high level languages generate code that follow certain
conventions. These conventions are necessary, in part, for separate
compilation to work. One such convention is the "calling convention".
The calling convention is a set of assumptions made by the compiler
about where function arguments will be found on entry to a function.
A calling convention also specifies where the return value for a function
is found.
Some programs may not know at the time of compilation what arguments
are to be passed to a function. For instance, an interpreter may be
told at run-time about the number and types of arguments used to call a
given function. `Libffi' can be used in such programs to provide a
bridge from the interpreter program to compiled code.
The `libffi' library provides a portable, high level programming
interface to various calling conventions. This allows a programmer to
call any function specified by a call interface description at run time.
FFI stands for Foreign Function Interface. A foreign function
interface is the popular name for the interface that allows code
written in one language to call code written in another language.
The `libffi' library really only provides the lowest, machine dependent
layer of a fully featured foreign function interface. A layer must
exist above `libffi' that handles type conversions for values passed
between the two languages.
(armmi009)/home/derouet/yum> rpm -ev libffi-3.2.1-2.ppc --test
error: Failed dependencies:
libffi.a(libffi.so.6) is needed by (installed) glib2-2.38.2-1.ppc
libffi.a(libffi.so.6) is needed by (installed) python-2.7.16-1.ppc
libffi >= 3.0.12-1 is needed by (installed) glib2-2.38.2-1.ppc
libffi is needed by (installed) python-2.7.16-1.ppc
(armmi009)/home/derouet/yum>
(armmi009)/home/derouet/yum>
(armmi009)/home/derouet/yum>
#AIX-Open-Source-Software#AIXOpenSource