Nxlog Installation issue on Amazon Linux 2


#1 Francis Ho (Last updated )

Hello,

I created a new EC2 instance using Amazon Linxu AMI 2 and downloaded the Community edition of Nxlog Redhat 7 version and run into dependency error when I run yum install 

The version of python3 on the server is 3.7.16

Anyone else run into the same issue found a way forward?

yum install nxlog-ce-3.1.2319_rhel7.x86_64.rpm
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Examining nxlog-ce-3.1.2319_rhel7.x86_64.rpm: nxlog-ce-3.1.2319-1.x86_64
Marking nxlog-ce-3.1.2319_rhel7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package nxlog-ce.x86_64 0:3.1.2319-1 will be installed
--> Processing Dependency: apr >= 1.2 for package: nxlog-ce-3.1.2319-1.x86_64
--> Processing Dependency: libdbi >= 0.8.1 for package: nxlog-ce-3.1.2319-1.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: nxlog-ce-3.1.2319-1.x86_64
--> Processing Dependency: libdbi.so.0()(64bit) for package: nxlog-ce-3.1.2319-1.x86_64
--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: nxlog-ce-3.1.2319-1.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.7.2-1.amzn2 will be installed
---> Package libdbi.x86_64 0:0.8.4-6.amzn2.0.2 will be installed
---> Package nxlog-ce.x86_64 0:3.1.2319-1 will be installed
--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: nxlog-ce-3.1.2319-1.x86_64
--> Finished Dependency Resolution
Error: Package: nxlog-ce-3.1.2319-1.x86_64 (/nxlog-ce-3.1.2319_rhel7.x86_64)
          Requires: libpython3.6m.so.1.0()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

#2 NenadMil

Hello Francis,

It seems like you already have a newer version of Python than NXLog installer requires - 3.7.16 . Have you tried the recommendation from the output (second line from below):
You could try using --skip-broken to work around the problem?