当前位置: 首页 > 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.lryc.cn/news/536954.html

相关文章:

  • 什么是HTTP和HTTPS?它们之间有什么区别?
  • 【一文读懂】TCP与UDP协议
  • 数据结构 树的存储和遍历
  • Jenkins项目CICD流程
  • EasyRTC轻量级SDK:智能硬件音视频通信资源的高效利用方案
  • AI Agent未来走向何方?
  • Visual Studio Code的键盘快捷键
  • 【Jenkins流水线搭建】
  • PHP 基础介绍
  • DeepSeek如何重塑我的编程学习:计算机新生的AI实践
  • spring boot和spring cloud的关系
  • ThreadLocal原理和存在问题
  • 用Echarts的柱状图实现圆柱体效果
  • Docker 常用命令基础详解(一)
  • Java并发中的CAS机制:原理、应用与挑战(通俗易懂版)
  • 腾讯发布混元-3D 2.0: 首个开源高质3D-DiT生成大模型
  • 【机器学习】线性回归与一元线性回归
  • 哈希表-两个数的交集
  • 望远镜成像系统--科学评价光学镜头
  • 服务器延迟给视频网站造成的影响
  • C++算法竞赛基础语法-9
  • 国产编辑器EverEdit - 极简追梦人的福音:迷你查找
  • Flutter 异步编程利器:Future 与 Stream 深度解析
  • 数据结构 day05
  • 股票数据接口API实例代码python、JAVA等多种语言演示免费获取实时数据、历史数据、CDMA、KDJ等指标数据配有API说明文档
  • 【Map vs Set】:Java数据存储的“双子星”对决
  • ollama+langchain+deepseek本机跑通大模型
  • 03【FreeRTO队列-如何获取任务信息与队列的动静态创建】
  • vue-plugin-hiprint (vue2
  • 【后端面试总结】什么是堆,什么是栈