Skip to content

Commit

Permalink
check openssl version and location
Browse files Browse the repository at this point in the history
  • Loading branch information
eneskuluk committed Oct 31, 2023
1 parent 4d9bf97 commit caeb469
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package/scripts/install_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ install_python_version() {
tar -xvzf Python-$VERSION.tgz
check_rc $?
pushd Python-$VERSION
./configure --prefix=/usr/local --with-openssl=/usr/local --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib" &&
./configure --prefix=/usr/local --with-openssl=$LD_LIBRARY_PATH --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib" &&
make &&
make altinstall
echo "python version $VERSION is successful"
Expand Down Expand Up @@ -89,6 +89,8 @@ export LD_LIBRARY_PATH=/usr/local/lib64:/usr/local/lib:$LD_LIBRARY_PATH
WGET_NO_CERTIFICATE="--no-check-certificate"

yum install -y bzip2-devel libffi libffi-devel
openssl version
which openssl

if [[ $PYTHON_USER_ID != 0 && $PYTHON_GROUP_ID != 0 ]]; then
echo "groupadd -g $PYTHON_GROUP_ID genomicsdb"
Expand Down

0 comments on commit caeb469

Please sign in to comment.