Skip to content

Commit 3f14940

Browse files
authored
try LD_PRELOAD
1 parent b1742af commit 3f14940

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/ci_build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ sudo apt -y install \
2727
ghostscript-x \
2828
qt5-default \
2929
pdf2svg \
30-
gnuplot
30+
gnuplot \
31+
g++
3132

3233
echo '== install fonts =='
3334
mkdir -p ~/.fonts
@@ -47,6 +48,9 @@ export GKSwstype=nul # Plots.jl/issues/3664
4748
export COLORTERM='truecolor' # UnicodePlots.jl
4849
export PLOTDOCS_ANSICOLOR=true
4950

51+
# tentative fix for `pyplot` bug: libstdc++.so.X: version `GLIBCXX_X.X.X' not found ...
52+
export LD_PRELOAD=$(g++ --print-file-name=libstdc++.so)
53+
5054
julia='xvfb-run julia --color=yes --project=docs'
5155

5256
$julia -e '

0 commit comments

Comments
 (0)