woodongwong / notes

4 stars 0 forks source link

升级至Debian 10后遇到的问题 #16

Open woodongwong opened 5 years ago

woodongwong commented 5 years ago

问题:

error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

解决方法:

apt install libgconf-2-4

参考:

https://github.com/balena-io/etcher/issues/2191
woodongwong commented 5 years ago

问题:

/usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found

解决方法:

没有解决, 当我在运行PHP时报的这个错误,然后重新编译了一遍PHP就好了。
woodongwong commented 5 years ago

问题:

nodejs 升级到了10之后,有一些老的库不支持。

解决方法:

升级相应的js库就可以。
woodongwong commented 5 years ago

问题:

请求svn服务器返回: 
svn: E120171: Error running context: An error occurred during SSL communication

经搜索后断定是TLS版本问题,服务器使用的是TLS1.0,
当升级至Debian 10后,OpenSSL默认版本为1.1.1c-1,
而在Debian中的OpenSSL(1.1.1~~pre3-1)版本中就已经放弃对TLS1.0、1.1版本的支持。

解决方法:

正确的解决方法应该是升级服务器加密套件,作为普通员工的我只能使用最简单的方法:Docker中跑Nginx代理。
使用Nginx代理注意的一点是把超时时间和body大小设置高一些。

示例:
server {
    listen      80;
    client_max_body_size 100m;
    proxy_connect_timeout 100s;
    location / {
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_pass https://172.168.100.233:443;
    }
}

参考: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913324 https://metadata.ftp-master.debian.org/changelogs//main/o/openssl/openssl_1.1.1c-1_changelog

woodongwong commented 5 years ago

编译PHP-GD扩展所依赖的FreeType2无法找到freetype-config。 #25

woodongwong commented 5 years ago

LibreOffice6中无法切换输入法。https://github.com/woodongwong/Blog/issues/32