Issues with Installing MarkLogic on RHEL EC2(Amazon Linux) Instance - Failed Dependencies

0

Hello everyone,

I am trying to install MarkLogic 11.2.0 on my RHEL-based EC2 instance using the following command:

sudo rpm -ivh MarkLogic-11.2.0-rhel.x86_64.rpm

Even tried so that it could download all the dependency on its own:

sudo yum -y install MarkLogic-11.2.0-rhel.x86_64.rpm
sudo dnf install MarkLogic-11.2.0-rhel.x86_64.rpm

However, I am encountering the following error related to failed dependencies:

error: Failed dependencies:
    gdb is needed by MarkLogic-11.2.0-rhel.x86_64
    libnsl.so.1()(64bit) is needed by MarkLogic-11.2.0-rhel.x86_64
    lsb-core-amd64 is needed by MarkLogic-11.2.0-rhel.x86_64

The main issue is the lsb-core-amd64 dependency, which I am not able to download to my EC2. I have tried several solution provided by GPT but none are working and there is little to no support online as no one seem to have encountered this issue.

Can anyone guide me on how to resolve these dependency issues? Any help or pointers to relevant documentation would be greatly appreciated.

Thank you!

Harsh
asked a month ago147 views
1 Answer
2
Accepted Answer

Is it RHEL or Amazon Linux that is running on the EC2?

if it's RHEL then according to https://developer.marklogic.com/products/support-matrix/ version 11.x is supported on RHEL 7 & 8 but not 9, and there's no mention of support on Amazon Linux.

This link for RHEL 7 and this link for RHEL 8 describes that lsb-core-amd64 is in the redhat-lsb-core package.

As per Red Hat this isn't available in RHEL 9 https://access.redhat.com/solutions/6973382 but there is a lsb-release package in the EPEL repository, which may help.

profile picture
EXPERT
Steve_M
answered a month ago
profile picture
EXPERT
reviewed a month ago
  • Thank you for your response!

    I was actually using Amazon Linux 2023 on my EC2 instance. I tried using Amazon Linux 2 because it supports MarkLogic 10 and 11 according to the support-matrix link.

    The issue is with lsb_release not being made available for newer Amazon 2023. https://docs.aws.amazon.com/linux/al2023/ug/compare-with-al2.html#lsb-release

    I am now able to install Marklogic. Thanks again for pointing me in the right direction!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions