warning: libssl.so.1.0.2, needed by /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcurl.so, may conflict with libssl.so.1.1

0

I'm trying to copy a program that needs some libraries

LIBS = -g -lmysqlcppconn -lpthread  -lcurl -lboost_serialization -lreadline -lz -luWS -lssl

The problem is that -lcurl and some programs need libssl.so.1.0.2 and -lssl needs libssl.so.1.1 . And when I try to copy:

$make
g++ main.cpp sha1_sha1.o tools.o web.o api.o api-server.o paypal.o paypal_web_hook.o -o api.run -g -lmysqlcppconn -lpthread -lssl -lcurl -lboost_serialization -lreadline -lz -luWS  -I /usr/include/ -g
/usr/bin/ld: warning: libssl.so.1.0.2, needed by /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcurl.so, may conflict with libssl.so.1.1

I have to leave both libraries installed, what I'm looking for is a way to use only the latest one to copy the code.

    
asked by anonymous 25.11.2017 / 14:08

1 answer

0

I solved the problem by installing the updated curl out of the repository. From what I noticed, libssl is more up-to-date than curl in Debian 9 and this causes library conflict

    
06.12.2017 / 11:38