You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

生产服务器部署Highcharts Export Server生成图表遇自动配置失败错误

解决Highcharts Export Server部署时的Auto configuration失败问题

问题描述

在生产服务器部署Highcharts Export Server时,生成图表过程中触发自动配置失败错误,错误信息如下:

Auto configuration failed 140718236727232:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libproviders.so): libproviders.so: cannot open shared object file: No such file or directory 140718236727232:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244: 140718236727232:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:285:module=providers, path=providers 140718236727232:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:222:module=providers

预期行为:正常生成图表。

解决方案

该错误源于OpenSSL无法找到libproviders.so动态库或加载失败,可按以下步骤排查修复:

  • 查找libproviders.so文件
    执行命令定位文件位置:

    find / -name libproviders.so 2>/dev/null
    
  • 添加动态库加载路径
    如果找到文件,将其所在目录加入系统动态库加载路径:

    • 临时生效:
      export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/libproviders/dir
      
    • 永久生效:将上述命令写入/etc/profile或用户的~/.bashrc,然后执行source /etc/profile或source ~/.bashrc使配置生效。
  • 重新安装OpenSSL(若文件缺失)
    根据系统包管理器重新安装完整的OpenSSL:

    • Debian/Ubuntu系统:
      apt-get install --reinstall openssl libssl-dev
      
    • RHEL/CentOS系统:
      yum reinstall openssl openssl-devel
      
  • 修正OpenSSL配置文件
    检查/etc/ssl/openssl.cnf配置文件,若存在providers模块的错误加载语句,注释掉或修正路径,确保指向正确的库文件位置。

内容的提问来源于stack exchange,提问作者Vijay Kumar

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.13 22:15:01