Skip to content

Commit 23e6357

Browse files
author
Jakub Kaczmarzyk
committed
fix: prepend system libraries to LD_LIBRARY_PATH
The libraries for Matlab compiler runtime 2010a are being found before the system libraries, and flameo was linking to one of matlab's libraries. This commit prepends the system libraries to LD_LIBRARY_PATH so that flameo (and other binaries) do not link to Matlab's libraries.
1 parent fcaafaf commit 23e6357

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker/generate_dockerfiles.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ function generate_base_dockerfile() {
6666
--base "$BASE_IMAGE" --pkg-manager "$PKG_MANAGER" \
6767
--label maintainer="The nipype developers https://github.com/nipy/nipype" \
6868
--spm12 version=r7219 \
69+
--env 'LD_LIBRARY_PATH=/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH' \
6970
--freesurfer version=6.0.0-min \
7071
--run 'echo "cHJpbnRmICJrcnp5c3p0b2YuZ29yZ29sZXdza2lAZ21haWwuY29tCjUxNzIKICpDdnVtdkVWM3pUZmcKRlM1Si8yYzFhZ2c0RQoiID4gL29wdC9mcmVlc3VyZmVyLTYuMC4wLW1pbi9saWNlbnNlLnR4dA==" | base64 -d | sh' \
7172
--install afni ants apt-utils bzip2 convert3d file fsl-core \

0 commit comments

Comments
 (0)