I know a .so file is a shared library file similar to a .dll file in windows, but what about a .lo file?
1 Answer
.o object (contains compiled code)
.lo library object (contains information for building a .so with `libtool`)
.so shared object (indeed compareable to a DLL)
.ko kernel object (usually kernel modules)
-
2It stated a little obscure. *.lo (and *.la) are text files that contains some definitions for libtool. If you don't use libtool - you don't need that. It just some hints bundled with corresponding *.o. *.la serves same purpose for *.so, which is a shared library.– keltarAug 29, 2013 at 10:42
-
@Cobra_fast, thanks for your answer. what do you mean by built into a .so. Aug 29, 2013 at 10:45
-
2He meant libtool could use this files to assemble *.so (and *.la too). libtool is a script designed to help shared libraries, but it's quite possible it just lost it's relevance nowadays - for my years in programming for linux, i've never seen necessity to use it.– keltarAug 29, 2013 at 11:31