내용으로 건너뛰기

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!

질문됨 2년 전812회 조회

1개 답변
2
수락된 답변

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.

전문가

답변함 2년 전

전문가

검토됨 2년 전

  • 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!

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠