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

Asked

Viewed 214 times

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 to 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 the two libraries installed, what I’m looking for is a way to use only the latest to copy the code.

1 answer

0

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.