Skip to content

Commit f43c8ac

Browse files
authored
Update openslide_symlink.sh
1 parent c282fe3 commit f43c8ac

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

openslide_symlink.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ if [ -n "$lib_path" ]; then
55
# Navigate to the directory containing libopenslide.so.1
66
cd "$(dirname "$lib_path")"
77

8-
# Create a symbolic link from libopenslide.so.1 to libopenslide.so.0
8+
# Create a symbolic link from libopenslide.so.1 to libopenslide.so.0, and another in /usr/local/lib directly
99
ln -s libopenslide.so.1 libopenslide.so.0
10+
ln -s libopenslide.so.1 /usr/local/lib/libopenslide.so.0
1011
else
1112
echo "libopenslide.so.1 not found in /usr/local/lib/"
12-
fi
13+
fi

0 commit comments

Comments
 (0)