Skip to content

Commit bca5317

Browse files
authored
fix(airflow): path to libstdc++.so (#778)
* fix(airflow): install package providing libstdc++.so * remove redundant -y arg * revert g++ installation * update comment
1 parent 9e02be2 commit bca5317

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ All notable changes to this project will be documented in this file.
7272
- hive: Fix compilation of x86 in CI due to lower disk usage to prevent disk running full ([#619]).
7373
- hive: Provide logging dependency previously bundled with the hadoop yarn client ([#688]).
7474
- all: Use correct hbase versions ([#734])
75+
- airflow: fix missing libstdc++.so.6 error message when running the image ([#778])
7576

7677
### Removed
7778

@@ -137,6 +138,7 @@ All notable changes to this project will be documented in this file.
137138
[#768]: https://github.com/stackabletech/docker-images/pull/768
138139
[#771]: https://github.com/stackabletech/docker-images/pull/771
139140
[#777]: https://github.com/stackabletech/docker-images/pull/777
141+
[#778]: https://github.com/stackabletech/docker-images/pull/778
140142

141143
## [24.3.0] - 2024-03-20
142144

airflow/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ COPY airflow/licenses /licenses
7878

7979
# Update image and install python
8080
RUN microdnf update && \
81-
microdnf install \
81+
microdnf install \
8282
ca-certificates \
8383
cyrus-sasl \
8484
git \

airflow/stackable/utils/entrypoint.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ set -euo pipefail
3434
# The side effect of this is slightly (in the range of 100s of milliseconds) slower load for any
3535
# binary started and a little memory used for Heap allocated by initialization of libstdc++
3636
# This overhead is not happening for binaries that already link dynamically libstdc++
37-
LD_PRELOAD="/usr/lib/$(uname -m)-linux-gnu/libstdc++.so.6"
37+
# LD_PRELOAD="/usr/lib/$(uname -m)-linux-gnu/libstdc++.so.6"
38+
# Stackable: The path to this file is different on UBI
39+
LD_PRELOAD=/usr/lib64/libstdc++.so.6
3840
export LD_PRELOAD
3941

4042
function run_check_with_retries {

0 commit comments

Comments
 (0)