From 931f54eee800255dafa139db4a90757778eb030f Mon Sep 17 00:00:00 2001 From: Sarah Gilmore Date: Wed, 15 Nov 2023 12:17:43 -0500 Subject: [PATCH] Update needed shared library name in libarrowproxy.so --- dev/tasks/matlab/github.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dev/tasks/matlab/github.yml b/dev/tasks/matlab/github.yml index 77eac0ec3ca2a..9c25f1a64e038 100644 --- a/dev/tasks/matlab/github.yml +++ b/dev/tasks/matlab/github.yml @@ -36,6 +36,13 @@ jobs: env: {{ macros.github_set_sccache_envvars()|indent(8) }} run: arrow/ci/scripts/matlab_build.sh $(pwd)/arrow + - name: change shared library install name + run: | + pushd arrow/matlab/install/arrow_matlab/+libmexclass/+proxy/ + SYMLINK_ARROW_LIB="$(find . -regex "./libarrow.so.[0-9][0-9][0-9][0-9]" | xargs basename)" + REGULAR_ARROW_LIB="$(find . -regex "./libarrow.so.[0-9][0-9][0-9][0-9].[0-9].[0-9]" | xargs basename)" + patchelf --replace-needed $SYMLINK_ARROW_LIB $REGULAR_ARROW_LIB + popd - name: Compress into single artifact to keep directory structure run: tar -cvzf arrow-matlab-ubuntu.tar.gz arrow/matlab/install/arrow_matlab - name: Upload artifacts