当前位置: 首页 > news >正文

【算法工程】解决linux下Aspose.slides提示No usable version of libssl found以及强化推理模型的短板

1. 背景

构建ubuntu镜像,然后使用Aspose.slides解析PPTX文档,发现一直提示“No usable version of libssl found”。

2. 尝试

使用deepseek R1、kimi1.5、chatgpt o3,并且都带上联网能力,居然还是没有一个能够真正解决,最后还是通过google找到了有效的处理方法。虽然大模型的总结分析能力已经很强,但搜索到可靠的知识依然还是有所欠缺。

3.最终解决方案

方案论述:Aspose.Slides依赖OpenSSL 1.x 版本

Our developers have investigated the case. If OpenSSL version 3 is installed on the target workstation, then you have two alternatives:
A) Install one of the versions of OpenSSL required by .NET Core 3.1;
B) Wait for .NET 6 to become a .NET runtime hosted in a Python session on all target platforms (estimated in Cs2Python versions 24.04–24.05).

Unfortunately, the default version of OpenSSL on Debian 12 is 3 while .NET Core 3.1 requires OpenSSL 1.x. On this page 36, you can find how to install OpenSSL 1.x on Debian 12. To install the library into the system folder, you should have root access.

Also, you should add the ‘libgdiplus’ package to the ‘apt-get install’ command in the Dockerfile.

After these two steps, we could run the code without any errors.

dockerfile处理方法:

# 安装系统依赖
RUN apt-get update && \
    apt-get install -y \
        libreoffice \
        pkg-config \
        libicu-dev \
        libgdiplus \
        wget && \
    echo "deb http://security.ubuntu.com/ubuntu focal-security main" > /etc/apt/sources.list.d/focal-security.list && \
    apt-get update && \
    apt-get install -y libssl1.1

4. 参考材料

【1】Aspose.Slides for .NET - No Usable Version of Libssl Found with Linux Server

【2】如何在ubuntu22.04版本上安装libssl1.1?

http://www.dtcms.com/a/16340.html

相关文章:

  • Win7本地化部署deepseek-r1等大模型详解
  • Base64 PDF解析器
  • 大模型为什么离不开PyTorch
  • python使用try-except-else处理异常
  • AndroidStudio查看Sqlite和SharedPreference
  • 利用蓝耘智算平台深度搭建deepseek R1模型,进行深度机器学习
  • git 提示 fatal: The remote end hung up unexpectedly
  • 网络安全 “免疫力”:从人体免疫系统看防御策略
  • Windchill开发-电子仓相关对象信息查询SQL
  • CCF-GESP 等级考试 2024年9月认证C++二级真题解析
  • 《网络编程卷2:进程间通信》第八章:共享内存深度解析与多进程高性能通信实践
  • 【前端OCR】如何用paddlejs开发一个属于前端本地的OCR文本识别功能
  • 江科大51单片机学习笔记(2)
  • 在Linux中Redis不支持lua脚本的处理方法
  • 基于 GEE 计算研究区年均地表温度数据
  • 通过C或C++编程语言实现某一个或多个具体算法
  • AI大模型(DeepSeek)科研应用、论文写作、数据分析与AI绘图学习
  • Winform禁止高分辨下缩放布局成功方法
  • 08模拟法 + 技巧 + 数学 + 缓存(D2_技巧)
  • 运用Deek Seeker协助数据分析
  • GitCode 助力 Dora SSR:开启游戏开发新征程
  • 对PosWiseFFN的改进: MoE、PKM、UltraMem
  • RocketMQ与kafka如何解决消息积压问题?
  • 网络性能测试工具ipref
  • 深入探索现代CSS:从基础到未来趋势
  • 防火墙是什么?详解网络安全的关键守护者
  • 【Abnormal build process termination: xxx, Unrecognized option: --add-opens】
  • 【SVN基础】
  • 使用 Flask 构建流式返回服务
  • 处理项目中存在多个版本的jsqlparser依赖