Error while loading shared libraries: /usr/local/lib64/libssl.so.1.1

后端 未结 8 2047
無奈伤痛
無奈伤痛 2021-01-05 00:34

I’m trying to compile openssl-1.1.0e on Centos 7 (7.3.1611) but after i successfully compiled everything without any warning, i get an error when i’m trying any openssl comm

8条回答
  •  南笙
    南笙 (楼主)
    2021-01-05 01:13

    Sometime when you want climb the mountain you looking just the top without checking if something can help you on the base...

    In my case I solved just exporting LD_LIBRARY_PATH before compile it again.

    export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64
    

    and after

    sudo ldconfig
    

    that should keep saved the path also after rebooting machine (and also for next times)

提交回复
热议问题