File tree Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 15
15
- openSUSE 15+
16
16
- SUSE Enterprise Linux (SLES) 12 SP2+
17
17
18
- ## Install .Net Core 3.x Linux Dependencies
18
+ ## Install .Net Core 5 Linux Dependencies
19
19
20
- The ` ./config.sh ` will check .Net Core 3.x dependencies during runner configuration.
20
+ The ` ./config.sh ` will check .Net Core 5 dependencies during runner configuration.
21
21
You might see something like this which indicate a dependency's missing.
22
22
``` bash
23
23
./config.sh
24
24
libunwind.so.8 => not found
25
25
libunwind-x86_64.so.8 => not found
26
- Dependencies is missing for Dotnet Core 3.0
27
- Execute ./bin/installdependencies.sh to install any missing Dotnet Core 3.0 dependencies.
26
+ Dependencies is missing for Dotnet 5
27
+ Execute ./bin/installdependencies.sh to install any missing Dotnet 5 dependencies.
28
28
```
29
29
You can easily correct the problem by executing ` ./bin/installdependencies.sh ` .
30
30
The ` installdependencies.sh ` script should install all required dependencies on all supported Linux versions
Original file line number Diff line number Diff line change 14
14
15
15
function print_errormessage()
16
16
{
17
- echo " Can't install dotnet core dependencies."
17
+ echo " Can't install dotnet 5 dependencies."
18
18
echo " You can manually install all required dependencies based on following documentation"
19
19
echo " https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x"
20
20
}
21
21
22
22
function print_rhel6message()
23
23
{
24
- echo " We did our best effort to install dotnet core dependencies"
24
+ echo " We did our best effort to install dotnet 5 dependencies"
25
25
echo " However, there are some dependencies which require manual installation"
26
26
echo " You can install all remaining required dependencies based on the following documentation"
27
27
echo " https://github.com/dotnet/core/blob/master/Documentation/build-and-install-rhel6-prerequisites.md"
28
28
}
29
29
30
30
function print_rhel6errormessage()
31
31
{
32
- echo " We couldn't install dotnet core dependencies"
32
+ echo " We couldn't install dotnet 5 dependencies"
33
33
echo " You can manually install all required dependencies based on following documentation"
34
34
echo " https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x"
35
35
echo " In addition, there are some dependencies which require manual installation. Please follow this documentation"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ if [ $user_id -eq 0 -a -z "$RUNNER_ALLOW_RUNASROOT" ]; then
8
8
exit 1
9
9
fi
10
10
11
- # Check dotnet core 3.0 dependencies for Linux
11
+ # Check dotnet 5 dependencies for Linux
12
12
if [[ (` uname` == " Linux" ) ]]
13
13
then
14
14
command -v ldd > /dev/null
18
18
exit 1
19
19
fi
20
20
21
- message=" Execute sudo ./bin/installdependencies.sh to install any missing Dotnet Core 3.0 dependencies."
21
+ message=" Execute sudo ./bin/installdependencies.sh to install any missing Dotnet 5 dependencies."
22
22
23
23
ldd ./bin/libcoreclr.so | grep ' not found'
24
24
if [ $? -eq 0 ]; then
25
- echo " Dependencies is missing for Dotnet Core 3.0 "
25
+ echo " Dependencies is missing for Dotnet 5 "
26
26
echo $message
27
27
exit 1
28
28
fi
29
29
30
- ldd ./bin/System .Security.Cryptography.Native.OpenSsl.so | grep ' not found'
30
+ ldd ./bin/libSystem .Security.Cryptography.Native.OpenSsl.so | grep ' not found'
31
31
if [ $? -eq 0 ]; then
32
- echo " Dependencies is missing for Dotnet Core 3.0 "
32
+ echo " Dependencies is missing for Dotnet 5 "
33
33
echo $message
34
34
exit 1
35
35
fi
36
36
37
- ldd ./bin/System .IO.Compression.Native.so | grep ' not found'
37
+ ldd ./bin/libSystem .IO.Compression.Native.so | grep ' not found'
38
38
if [ $? -eq 0 ]; then
39
- echo " Dependencies is missing for Dotnet Core 3.0 "
39
+ echo " Dependencies is missing for Dotnet 5 "
40
40
echo $message
41
41
exit 1
42
42
fi
54
54
libpath=${LD_LIBRARY_PATH:- }
55
55
$LDCONFIG_COMMAND -NXv ${libpath//:/ } 2>&1 | grep libicu > /dev/null 2>&1
56
56
if [ $? -ne 0 ]; then
57
- echo " Libicu's dependencies is missing for Dotnet Core 3.0 "
57
+ echo " Libicu's dependencies is missing for Dotnet 5 "
58
58
echo $message
59
59
exit 1
60
60
fi
You can’t perform that action at this time.
0 commit comments