Compile Git to use OpenSSL library libssl.so.1.0.1
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Running a system that only has full support for OpenSSL version 0.9.8.
Installed in parallel is OpenSSL 1.0.1 libraries (Supported by Distro)
Git still preferentially uses the 0.9.8 libraries but we need it to use 1.0.1.
Can Git be built from source to use libssl.so.1.0.0 libraries so we can interact with https://github.com using TLS v1.2 ?
For E.g:
/usr/lib64/git/git-http-fetch -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6c78000)
/usr/lib64/git/git-http-push -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6a4d000)
/usr/lib64/git/git-imap-send -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff7d56000)
/usr/lib64/git/git-remote-ftp -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6a4d000)
/usr/lib64/git/git-remote-ftps -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6a4d000)
/usr/lib64/git/git-remote-http -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6a4d000)
/usr/lib64/git/git-remote-https -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6a4d000)
Need to link to libssl.so.1.0.0
compiling git suse linker
add a comment |Â
up vote
0
down vote
favorite
Running a system that only has full support for OpenSSL version 0.9.8.
Installed in parallel is OpenSSL 1.0.1 libraries (Supported by Distro)
Git still preferentially uses the 0.9.8 libraries but we need it to use 1.0.1.
Can Git be built from source to use libssl.so.1.0.0 libraries so we can interact with https://github.com using TLS v1.2 ?
For E.g:
/usr/lib64/git/git-http-fetch -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6c78000)
/usr/lib64/git/git-http-push -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6a4d000)
/usr/lib64/git/git-imap-send -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff7d56000)
/usr/lib64/git/git-remote-ftp -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6a4d000)
/usr/lib64/git/git-remote-ftps -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6a4d000)
/usr/lib64/git/git-remote-http -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6a4d000)
/usr/lib64/git/git-remote-https -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6a4d000)
Need to link to libssl.so.1.0.0
compiling git suse linker
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Running a system that only has full support for OpenSSL version 0.9.8.
Installed in parallel is OpenSSL 1.0.1 libraries (Supported by Distro)
Git still preferentially uses the 0.9.8 libraries but we need it to use 1.0.1.
Can Git be built from source to use libssl.so.1.0.0 libraries so we can interact with https://github.com using TLS v1.2 ?
For E.g:
/usr/lib64/git/git-http-fetch -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6c78000)
/usr/lib64/git/git-http-push -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6a4d000)
/usr/lib64/git/git-imap-send -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff7d56000)
/usr/lib64/git/git-remote-ftp -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6a4d000)
/usr/lib64/git/git-remote-ftps -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6a4d000)
/usr/lib64/git/git-remote-http -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6a4d000)
/usr/lib64/git/git-remote-https -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6a4d000)
Need to link to libssl.so.1.0.0
compiling git suse linker
Running a system that only has full support for OpenSSL version 0.9.8.
Installed in parallel is OpenSSL 1.0.1 libraries (Supported by Distro)
Git still preferentially uses the 0.9.8 libraries but we need it to use 1.0.1.
Can Git be built from source to use libssl.so.1.0.0 libraries so we can interact with https://github.com using TLS v1.2 ?
For E.g:
/usr/lib64/git/git-http-fetch -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6c78000)
/usr/lib64/git/git-http-push -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6a4d000)
/usr/lib64/git/git-imap-send -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff7d56000)
/usr/lib64/git/git-remote-ftp -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6a4d000)
/usr/lib64/git/git-remote-ftps -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6a4d000)
/usr/lib64/git/git-remote-http -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6a4d000)
/usr/lib64/git/git-remote-https -> libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ffff6a4d000)
Need to link to libssl.so.1.0.0
compiling git suse linker
edited Apr 18 at 14:39
asked Apr 18 at 13:13
Bee Min
158
158
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
This seemed to work (for testing purposes)
With thanks to
Shawna Jean
Building Git against the libraries we wanted.
export LD_LIBRARY_PATH=~/git-test-inst/lib
mkdir git-test-inst
cd git-test-inst/
wget https://dl.uxnr.de/mirror/curl/curl-7.59.0.tar.gz
wget https://www.openssl.org/source/openssl-1.1.0h.tar.gz
wget https://github.com/git/git/archive/v2.16.3.tar.gz
mv v2.16.3 git-2.16.3.tar.gz
tar -xf openssl-1.1.0h.tar.gz
cd openssl-1.1.0h
./config --prefix=/home/$USER/git-test-inst
make -j16
make -j16 install
cd ../
tar xf curl-7.59.0.tar.gz
cd curl-7.59.0
./configure --with-ssl=/home/$USER/git-test-inst/ --prefix=/home/$USER/git-test-inst/
make -j16
make install
ldd /home/$USER/git-test-inst/lib/libcurl.so.4.5.0
cd ..
tar xf git-2.16.3.tar.gz
cd git-2.16.3
make configure
./configure --prefix=/home/$USER/git-test-inst/ --with-openssl=/home/$USER/git-test-inst/ --with-curl=/home/$USER/git-test-inst/
make -j16
make install
ldd /home/$USER/git-test-inst/libexec/git-core/git-remote-https
And the tested against repos Github.com
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
This seemed to work (for testing purposes)
With thanks to
Shawna Jean
Building Git against the libraries we wanted.
export LD_LIBRARY_PATH=~/git-test-inst/lib
mkdir git-test-inst
cd git-test-inst/
wget https://dl.uxnr.de/mirror/curl/curl-7.59.0.tar.gz
wget https://www.openssl.org/source/openssl-1.1.0h.tar.gz
wget https://github.com/git/git/archive/v2.16.3.tar.gz
mv v2.16.3 git-2.16.3.tar.gz
tar -xf openssl-1.1.0h.tar.gz
cd openssl-1.1.0h
./config --prefix=/home/$USER/git-test-inst
make -j16
make -j16 install
cd ../
tar xf curl-7.59.0.tar.gz
cd curl-7.59.0
./configure --with-ssl=/home/$USER/git-test-inst/ --prefix=/home/$USER/git-test-inst/
make -j16
make install
ldd /home/$USER/git-test-inst/lib/libcurl.so.4.5.0
cd ..
tar xf git-2.16.3.tar.gz
cd git-2.16.3
make configure
./configure --prefix=/home/$USER/git-test-inst/ --with-openssl=/home/$USER/git-test-inst/ --with-curl=/home/$USER/git-test-inst/
make -j16
make install
ldd /home/$USER/git-test-inst/libexec/git-core/git-remote-https
And the tested against repos Github.com
add a comment |Â
up vote
0
down vote
This seemed to work (for testing purposes)
With thanks to
Shawna Jean
Building Git against the libraries we wanted.
export LD_LIBRARY_PATH=~/git-test-inst/lib
mkdir git-test-inst
cd git-test-inst/
wget https://dl.uxnr.de/mirror/curl/curl-7.59.0.tar.gz
wget https://www.openssl.org/source/openssl-1.1.0h.tar.gz
wget https://github.com/git/git/archive/v2.16.3.tar.gz
mv v2.16.3 git-2.16.3.tar.gz
tar -xf openssl-1.1.0h.tar.gz
cd openssl-1.1.0h
./config --prefix=/home/$USER/git-test-inst
make -j16
make -j16 install
cd ../
tar xf curl-7.59.0.tar.gz
cd curl-7.59.0
./configure --with-ssl=/home/$USER/git-test-inst/ --prefix=/home/$USER/git-test-inst/
make -j16
make install
ldd /home/$USER/git-test-inst/lib/libcurl.so.4.5.0
cd ..
tar xf git-2.16.3.tar.gz
cd git-2.16.3
make configure
./configure --prefix=/home/$USER/git-test-inst/ --with-openssl=/home/$USER/git-test-inst/ --with-curl=/home/$USER/git-test-inst/
make -j16
make install
ldd /home/$USER/git-test-inst/libexec/git-core/git-remote-https
And the tested against repos Github.com
add a comment |Â
up vote
0
down vote
up vote
0
down vote
This seemed to work (for testing purposes)
With thanks to
Shawna Jean
Building Git against the libraries we wanted.
export LD_LIBRARY_PATH=~/git-test-inst/lib
mkdir git-test-inst
cd git-test-inst/
wget https://dl.uxnr.de/mirror/curl/curl-7.59.0.tar.gz
wget https://www.openssl.org/source/openssl-1.1.0h.tar.gz
wget https://github.com/git/git/archive/v2.16.3.tar.gz
mv v2.16.3 git-2.16.3.tar.gz
tar -xf openssl-1.1.0h.tar.gz
cd openssl-1.1.0h
./config --prefix=/home/$USER/git-test-inst
make -j16
make -j16 install
cd ../
tar xf curl-7.59.0.tar.gz
cd curl-7.59.0
./configure --with-ssl=/home/$USER/git-test-inst/ --prefix=/home/$USER/git-test-inst/
make -j16
make install
ldd /home/$USER/git-test-inst/lib/libcurl.so.4.5.0
cd ..
tar xf git-2.16.3.tar.gz
cd git-2.16.3
make configure
./configure --prefix=/home/$USER/git-test-inst/ --with-openssl=/home/$USER/git-test-inst/ --with-curl=/home/$USER/git-test-inst/
make -j16
make install
ldd /home/$USER/git-test-inst/libexec/git-core/git-remote-https
And the tested against repos Github.com
This seemed to work (for testing purposes)
With thanks to
Shawna Jean
Building Git against the libraries we wanted.
export LD_LIBRARY_PATH=~/git-test-inst/lib
mkdir git-test-inst
cd git-test-inst/
wget https://dl.uxnr.de/mirror/curl/curl-7.59.0.tar.gz
wget https://www.openssl.org/source/openssl-1.1.0h.tar.gz
wget https://github.com/git/git/archive/v2.16.3.tar.gz
mv v2.16.3 git-2.16.3.tar.gz
tar -xf openssl-1.1.0h.tar.gz
cd openssl-1.1.0h
./config --prefix=/home/$USER/git-test-inst
make -j16
make -j16 install
cd ../
tar xf curl-7.59.0.tar.gz
cd curl-7.59.0
./configure --with-ssl=/home/$USER/git-test-inst/ --prefix=/home/$USER/git-test-inst/
make -j16
make install
ldd /home/$USER/git-test-inst/lib/libcurl.so.4.5.0
cd ..
tar xf git-2.16.3.tar.gz
cd git-2.16.3
make configure
./configure --prefix=/home/$USER/git-test-inst/ --with-openssl=/home/$USER/git-test-inst/ --with-curl=/home/$USER/git-test-inst/
make -j16
make install
ldd /home/$USER/git-test-inst/libexec/git-core/git-remote-https
And the tested against repos Github.com
edited Aug 2 at 20:27
riskcog
31
31
answered Apr 19 at 13:17
Bee Min
158
158
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f438504%2fcompile-git-to-use-openssl-library-libssl-so-1-0-1%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password