Originally posted by: Fasi Mohiuddin
Hi everyone,
I am facing problem while trying to upgrade git package in IBM-AIX server.
Currently package installed is "git version 2.8.1", while trying to upgrade to "git-2.18.0-1" throwing following error. Kindly advice.
root@server:/home/fasih>#rpm -Uvh git-2.18.0-1.aix6.1.ppc.rpm
cannot get shared lock on database
rpmQuery: rpmdbOpen() failed
cannot get shared lock on database
rpmQuery: rpmdbOpen() failed
Please update curl to 7.60.0 or later so that proper gcc(6.3.0) version will be installed.
curl-7.60.0 is built with gcc-6.3.0, hence the system needs to have gcc-6.3.0 or higher version.
execution of git-2.18.0-1 script failed, exit status 1
root@server:/home/fasih>#
root@server:/home/fasih>#
root@server:/home/fasih>#
root@server:/home/fasih>#rpm -Uvh curl-7.6
curl-7.60.0-1.aix5.1.ppc.rpm curl-7.61.0-1.aix6.1.ppc.rpm
root@server:/home/fasih>#rpm -Uvh curl-7.61.0-1.aix6.1.ppc.rpm
package curl-7.61.0-1 is already installed
root@server:/home/fasih>#
root@server:/home/fasih>#
root@server:/home/fasih>#
root@server:/home/fasih>#curl --version
exec(): 0509-036 Cannot load program curl because of the following errors:
0509-022 Cannot load module /opt/freeware/lib64/libcurl.a(libcurl.so.4).
0509-150 Dependent module /opt/freeware/lib/libcrypto.a(libcrypto64.so) could not be loaded.
0509-152 Member libcrypto64.so is not found in archive
0509-022 Cannot load module curl_64.
0509-150 Dependent module /opt/freeware/lib64/libcurl.a(libcurl.so.4) could not be loaded.
0509-022 Cannot load module .
root@server:/home/fasih>#
root@PEC-Preprod_M:/home/fasih>#
root@PEC-Preprod_M:/home/fasih>#
root@PEC-Preprod_M:/home/fasih>#git --version
git version 2.8.1
root@PEC-Preprod_M:/home/fasih>#
#AIX-Open-Source-Software#AIXOpenSource