Date: Around 1993
I have a question about UNIX. I found that there are lots of
files with .so suffix in usr/lib directory. What does it mean? I need
libX11.a, but I do not have it. I have libX11.so and libX11.so.5.0. Are they
related? Could I transfer .so to .a? How would I do that? Thanks.
".so" means "shareable object", and you can use a .so file inplace
of a .a file if you tell the linker it is ok. On the Sun, you do this by
specifying the "-Bdynamic" switch to the linker, ld. In general, type "man
ld" or "man cc" to find out what to do.
Click here to return to the Computer Science Archives
Update: June 2012