From c43de5a19f7a7eb8472e6ed076bc1add5a525cff Mon Sep 17 00:00:00 2001 From: Paul Allen Date: Fri, 6 Jan 2017 20:07:26 -0500 Subject: [PATCH] Add dependent symlinks in package for libmi.so --- build.psm1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.psm1 b/build.psm1 index 9d64e9aa43..619b862d70 100644 --- a/build.psm1 +++ b/build.psm1 @@ -1431,6 +1431,13 @@ It consists of a cross-platform command-line shell and associated scripting lang New-Item -Force -ItemType SymbolicLink -Path "/tmp/$Name" -Target "$Destination/$Name" >$null if ($IsCentos) { + # add two symbolic links to system shared libraries that libmi.so is dependent on to handle + # platform specific changes. This is the only set of platforms needed for this currently + # as Ubuntu has these specific library files in the platform and OSX builds for itself + # against the correct versions. + New-Item -Force -ItemType SymbolicLink -Target "/lib64/libssl.so.10" -Path "$Staging/libssl.so.1.0.0" >$null + New-Item -Force -ItemType SymbolicLink -Target "/lib64/libcrypto.so.10" -Path "$Staging/libcrypto.so.1.0.0" >$null + $AfterInstallScript = [io.path]::GetTempFileName() $AfterRemoveScript = [io.path]::GetTempFileName() @'