有关“make &”的问题进行安装” Linux 上的软件
我在 Linux 上工作了一年。困扰我的一件事是我不熟悉使用源代码安装新软件的过程(由于环境限制我无法从网络安装它们)。
我经常被不同类型的错误阻止,例如:
------------------------
libtool: install: error: relink `Magick++/lib/libMagick++.la' with the above command before installing it
------------------------
或者
------------------------
magick/.libs/libMagickCore.so: undefined reference to `gzseek64'
magick/.libs/libMagickCore.so: undefined reference to `gztell64'
------------------------
虽然我最终通过谷歌找到了解决方案,但我不知道它到底为什么有效。
任何人都可以帮助我解决这种情况,或者给我一些关于如何在此类事情上提高自己的建议吗?
我缺乏“配置”,“制作”,“64位差异”,“共享库”的知识;有人能给我指出正确的方向并给我一些有用的书籍或文章吗?
提前致谢!
I have worked on Linux for a year. One thing bothers me is that I am not familar with the process of installing new software with source code(I can't install them from netword due to environment limitations).
I was often blocked with different kinds of error, for example:
------------------------
libtool: install: error: relink `Magick++/lib/libMagick++.la' with the above command before installing it
------------------------
or
------------------------
magick/.libs/libMagickCore.so: undefined reference to `gzseek64'
magick/.libs/libMagickCore.so: undefined reference to `gztell64'
------------------------
Though I finally found solution with google, I don't know exactly why it works.
Can anyone helps me with this situation or give me some advice on how to improve myself on such kind of things?
I am lack of the knowledage of "configure","make","difference of 64bit","shared lib"; Could anyone point me in the right direction and give me some helpful books or articles?
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个复杂的主题,我能想到的唯一建议是从下到上学习,当你觉得自己已经足够了时就停止。首先学习用您喜欢的任何语言编译代码。一旦您了解了这一点,您就可以继续链接事物以及构建和使用库。当您对这个想法感到满意时,您可以尝试 make。如果这没有吓到您,您可以学习如何配置。
这是一个复杂的过程,令人惊奇的是我们现在还没有更好地驯服它。
This is a complex subject, and the only advice I can think of is to learn it from the bottom up, and stop when you feel you have enough. First learn to compile code, in whatever language you like. Once you understand that you can move on to linking things, and building and using libraries. When you're comfortable with that idea you can experiment with make. If that doesn't scare you off, you can then learn how to configure.
It's a complicated process, and it's kind of amazing that we don't haven't tamed it better by now.