This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Linking against particular libssl
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Sahib Jakhar <sahib dot jakhar at gmail dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Tue, 15 Apr 2014 10:16:12 +0100
- Subject: Re: Linking against particular libssl
- Authentication-results: sourceware.org; auth=none
- References: <CAE+y=w5MRhp9hi3TEn_1H668QQX5JwGvF1z2FGqUfHVRPJQE5w at mail dot gmail dot com>
On 15 April 2014 09:37, Sahib Jakhar wrote:
>
> Can somebody please explain what are we doing wrong (if anything), and
> how we can resolve this?
This is not really a question about GCC, it is a question about the linker.
If you want your program to link to a different library then you need
to re-link it. You can't change what library it links to, a different
version ofthe library might not be compatible.