RaspberryPi 上的 Pharo:启动时找不到模块
Pharo on RaspberryPi: Module not found at startup
我正在使用 raspbian 拉伸系统,其中包含用于 ARM 的 spur32 VM 和 Pharo 7 映像。在启动时,我总是得到 exception: Error - Module not found
。
好像和lgitlibrary
有关。我真的无法弄清楚这个错误是什么。
有任何想法吗?
谢谢,
亨里克
我明白了。如果你勾选 #unixModuleName
unixModuleName
| pluginDir |
pluginDir := Smalltalk vm binary parent.
#('libgit2.so' 'libgit2.so.0')
detect: [ :each | (pluginDir / each) exists ]
ifFound: [ :libName | ^ libName ].
self error: 'Module not found.'
这里有你的错误信息:self error: 'Module not found.'
您可能缺少 libgit2.so
或 libgit2.so.0
(或依赖项)。您可能会遇到与我类似的问题:Getting error when adding OSSubprocess to my Pharo 6.1 on Centos 7.4x。
您应该使用 ldd
检查依赖项(查看我的问题了解详情)。
编辑 由于评论添加信息:
我还没有使用 IceBerg(Pharo 的 git 集成)。我的猜测是 "(重新)初始化它": (Smalltalk at: #LGitLibrary) initialize.
有关更多信息,我建议阅读这些内容:pharo's iceberg and some Pharo project that uses git like pharo-contributor and checking blog pharoweekly (for some information about the pharo-contributor) - https://pharoweekly.wordpress.com/2018/04/24/pharo-contributor-to-contribute-to-pharo。
您可能需要一些指南 "How to use git and github with Pharo". Which was done by Peter Uhnak(您可以在 SO 上找到他)。
我遇到了类似的问题,我需要使用这个 instructions 从源代码构建 libgit2 库。基本构建不起作用,因为 Pharo 无法初始化库。我用参数 -DSTDCALL=ON 再次编译它,它工作了。
我正在使用 raspbian 拉伸系统,其中包含用于 ARM 的 spur32 VM 和 Pharo 7 映像。在启动时,我总是得到 exception: Error - Module not found
。
好像和lgitlibrary
有关。我真的无法弄清楚这个错误是什么。
有任何想法吗?
谢谢,
亨里克
我明白了。如果你勾选 #unixModuleName
unixModuleName
| pluginDir |
pluginDir := Smalltalk vm binary parent.
#('libgit2.so' 'libgit2.so.0')
detect: [ :each | (pluginDir / each) exists ]
ifFound: [ :libName | ^ libName ].
self error: 'Module not found.'
这里有你的错误信息:self error: 'Module not found.'
您可能缺少 libgit2.so
或 libgit2.so.0
(或依赖项)。您可能会遇到与我类似的问题:Getting error when adding OSSubprocess to my Pharo 6.1 on Centos 7.4x。
您应该使用 ldd
检查依赖项(查看我的问题了解详情)。
编辑 由于评论添加信息:
我还没有使用 IceBerg(Pharo 的 git 集成)。我的猜测是 "(重新)初始化它": (Smalltalk at: #LGitLibrary) initialize.
有关更多信息,我建议阅读这些内容:pharo's iceberg and some Pharo project that uses git like pharo-contributor and checking blog pharoweekly (for some information about the pharo-contributor) - https://pharoweekly.wordpress.com/2018/04/24/pharo-contributor-to-contribute-to-pharo。
您可能需要一些指南 "How to use git and github with Pharo". Which was done by Peter Uhnak(您可以在 SO 上找到他)。
我遇到了类似的问题,我需要使用这个 instructions 从源代码构建 libgit2 库。基本构建不起作用,因为 Pharo 无法初始化库。我用参数 -DSTDCALL=ON 再次编译它,它工作了。