English 中文(简体)
Mac M1 dyld 失踪象征号通过RVERS安装
原标题:Mac M1 dyld missing symbol called on Ruby ARM64 installation via RVM

我与Ruby在我的信任M1 Mac上ising了,但现在却没有任何血汗,特别是在良好的旧的<代码>x86_64模式(在罗塞塔港码头通过RVERV)。 生活良好。

rvm ls
   ruby-2.7.7 [ x86_64 ]
=* ruby-3.0.5 [ arm64 ]
   ruby-3.0.6 [ x86_64 ] 

我决定接受本土未来,并在本土的<代码>arm64模式中安装Ruby 3.0.5。 容易 pe,正确吗? Wrong

弹道,安装时没有点击,甚至看着它有失。 我通过<代码>bundlestal 安装了我的铁路轮.,我想我是清楚的。 但是,一旦我试图把我的铁路连接起来,我就拿着这一光亮的信息:

dyld[*****]: missing symbol called

我甚至重新插入了<代码>libffi sith arm64 homebrew,因为根据我在网上发现的一些指示,可以连在一起,但在<代码>上没有成功。 rvm reinstall ,因为它最终以同样的错误结束......

I found this related SO post but it doesn t apply to me because it was related to mysql - my project uses postgres. There s another sad, lonely StackOverflow post out there with zero answers, and it s like looking in a mirror. A sad, unsolved mirror...

我重新插入了巴尼亚姆和校准,然后重新安卡拉,没有uck。 设置,指代号,也无uck。 我在网上找到了所有东西,但没有任何解决办法。

问题回答

它要么带有本土延伸(最有可能)或通过罗塞塔安装的其他一些平衡/组合。

假设该错误没有其他胎儿,我们就不得不试图用枪而不是pel子来解决这个问题。 因此,我首先要完全删除/重排车(事实上,我借此机会来up levelsasdf),因此,你无法知道以英特尔/罗塞塔模式建造的土长。

如果做不到工作,那么就与回家者重复工作。

我希望没有人会这样做,但是如果你不像我这样幸运的话,这就是我如何设法解决这个问题:

Open an arch x86_64 terminal session and uninstall the x86_64 Homebrew alongside all its installed libs (you really need to open the terminal in x86_64 mode, otherwise the uninstall script will remove the arm64 Homebrew stuff):

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"

rel=“nofollow noreferer”>Reinstall rvm

curl -sSL https://get.rvm.io | bash

此时,安装过程应显示,确实有活力的图书馆在座。 在我的案件中,编号为libgmp

Downloading https://github.com/rvm/rvm/archive/master.tar.gz
Upgrading the RVM installation in /Users/andyruizgarramones/.rvm/
    RVM PATH line found in /Users/andyruizgarramones/.mkshrc /Users/andyruizgarramones/.profile /Users/andyruizgarramones/.bashrc.
    RVM PATH line not found for Zsh, rerun this command with  --auto-dotfiles  flag to fix it.
    RVM sourcing line found in /Users/andyruizgarramones/.profile /Users/andyruizgarramones/.bash_profile /Users/andyruizgarramones/.zlogin.
    Installing rvm gem in 2 gemsets./scripts/functions/gemset: line 134: 68320 Abort trap: 6           "${rvm_ruby_binary}" -rrubygems -e "$gem_spec" 2> /dev/null
dyld[68326]: Library not loaded: /usr/local/opt/gmp/lib/libgmp.10.dylib

你现在应当受到罚款,因为现在你可以看到什么错误,并寻找如何纠正错误。 在我的案件中,我不得不重新加入<代码>gmp,并处理<编码>cmake和pkg-config

brew reinstall gmp
brew link gmp
brew reinstall cmake
brew reinstall pkg-config && brew unlink pkg-config && brew link pkg-config




相关问题
rails collection_select vs. select

collection_select and select Rails helpers: Which one should I use? I can t see a difference in both ways. Both helpers take a collection and generates options tags inside a select tag. Is there a ...

SSL slowness in EC2

We ve deployed our rails app to EC2. In our setup, we have two proxies on small instances behind round-robin DNS. These run nginx load balancers for a dynamically growing and shrinking farm of web ...

Auth-code with A-Za-z0-9 to use in an URL parameter

As part of a web application I need an auth-code to pass as a URL parameter. I am currently using (in Rails) : Digest::SHA1.hexdigest((object_id + rand(255)).to_s) Which provides long strings like : ...

RubyCAS-Client question: Rails

I ve installed RubyCAS-Client version 2.1.0 as a plugin within a rails app. It s working, but I d like to remove the ?ticket= in the url. Is this possible?

activerecord has_many :through find with one sql call

I have a these 3 models: class User < ActiveRecord::Base has_many :permissions, :dependent => :destroy has_many :roles, :through => :permissions end class Permission < ActiveRecord::...

Ordering a hash to xml: Rails

I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml

Text Editor for Ruby-on-Rails

guys which text editor is good for Rubyonrails? i m using Windows and i was using E-Texteditor but its not free n its expired now can anyone plese tell me any free texteditor? n which one is best an ...

How to get SQL queries for each user where env is production

I’m developing an application dedicated to generate statistical reports, I would like that user after saving their stat report they save sql queries too. To do that I wrote the following module: ...

热门标签