我正在Ubuntu22.04.1中安装zammad,当我运行以下命令时:
zammad run rails r "Setting.set('es_url', 'http://localhost:9200')"得到了这个错误
/opt/zammad/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require': /lib/x86_64-linux-gnu/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /opt/zammad/vendor/bundle/ruby/3.0.0/gems/openssl-3.0.0/lib/openssl.so) - /opt/zammad/vendor/bundle/ruby/3.0.0/gems/openssl-3.0.0/lib/openssl.so (LoadError)
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/openssl-3.0.0/lib/openssl.rb:13:in `<main>'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6.1/lib/active_support/key_generator.rb:4:in `<main>'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/railties-6.1.6.1/lib/rails/application.rb:6:in `<main>'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/railties-6.1.6.1/lib/rails.rb:13:in `<main>'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/railties-6.1.6.1/lib/rails/all.rb:5:in `<main>'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /opt/zammad/config/application.rb:5:in `<main>'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/railties-6.1.6.1/lib/rails/command/actions.rb:22:in `require_application!'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/railties-6.1.6.1/lib/rails/command/actions.rb:14:in `require_application_and_environment!'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/railties-6.1.6.1/lib/rails/commands/runner/runner_command.rb:33:in `perform'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/railties-6.1.6.1/lib/rails/command/base.rb:69:in `perform'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/railties-6.1.6.1/lib/rails/command.rb:48:in `invoke'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/railties-6.1.6.1/lib/rails/commands.rb:18:in `<main>'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /opt/zammad/bin/rails:10:in `<main>'我试过了,但也帮不上忙
echo "export LD_LIBRARY_PATH=/usr/bin/openssl" >> ~/.bashrc有人能帮忙吗?
发布于 2022-08-24 15:00:27
Ubuntu22.04目前在Zammad5.2x中不支持!将在下一个版本5.3左右完成。
问候
https://stackoverflow.com/questions/73278404
复制相似问题