[
https://issues.apache.org/jira/browse/ARTEMIS-5055?focusedWorklogId=935876&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-935876
]
ASF GitHub Bot logged work on ARTEMIS-5055:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 23/Sep/24 14:50
Start Date: 23/Sep/24 14:50
Worklog Time Spent: 10m
Work Description: clebertsuconic commented on PR #5241:
URL:
https://github.com/apache/activemq-artemis/pull/5241#issuecomment-2368521895
@jbertram should we redo the tag?
Issue Time Tracking
-------------------
Worklog Id: (was: 935876)
Time Spent: 0.5h (was: 20m)
> AIO not detected in official Ubuntu Docker image
> ------------------------------------------------
>
> Key: ARTEMIS-5055
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5055
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Image
> Affects Versions: 2.36.0, 2.37.0
> Reporter: William Sperlazza
> Assignee: Justin Bertram
> Priority: Minor
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Ubuntu changed their libaio package name as was addressed
> [here|https://github.com/apache/activemq-artemis/commit/86f36e95b09c709fb7e4af33f4a535f9a80d7221].
>
> But the native {{LibaioContext}} link is still referencing {{libaio.so.1}},
> as seen in startup logs with debug enabled:
> {noformat}
> 2024-09-18 15:40:43,807 DEBUG
> [org.apache.activemq.artemis.nativo.jlibaio.LibaioContext] artemis-native-64
> -> not possible to load native library
> java.lang.UnsatisfiedLinkError:
> /opt/activemq-artemis/bin/lib/linux-x86_64/libartemis-native-64.so:
> libaio.so.1: cannot open shared object file: No such file or directory{quote}
> I think the link created
> [here|https://github.com/apache/activemq-artemis-native/blob/02ad87f08395993ae417ce75bf8ce78a3bc23e0a/src/main/c/CMakeLists.txt#L80C1-L80C22]
> is stale, and a simple rebuild of artemis-native may be all that's needed?
> Maybe the [dockerfile needs updating
> there|https://github.com/apache/activemq-artemis-native/blob/02ad87f08395993ae417ce75bf8ce78a3bc23e0a/src/main/docker/Dockerfile-ubuntu#L36]
> too though.{noformat}
> NOTE: This only affects the Ubuntu image. Alpine is fine.
> The workaround is to either use the official Alpine image instead, or create
> a symlink to the old library name in a Dockerfile based on the official image:
> {noformat}
> RUN ln -s /lib/x86_64-linux-gnu/libaio.so.1t64
> /lib/x86_64-linux-gnu/libaio.so.1{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact