Problem with "make & make install" software on linux
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, fo开发者_Python百科r 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!
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.
精彩评论