Department of Energy Argonne National Laboratory Office of Science NEWTON's Homepage NEWTON's Homepage
NEWTON, Ask A Scientist!
NEWTON Home Page NEWTON Teachers Visit Our Archives Ask A Question How To Ask A Question Question of the Week Our Expert Scientists Volunteer at NEWTON! Frequently Asked Questions Referencing NEWTON About NEWTON About Ask A Scientist Education At Argonne UNIX library
Name: SJW
Status: N/A
Age: N/A
Location: N/A
Country: N/A
Date: Around 1993


Question:
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.



Replies:
".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.

Mooney



Click here to return to the Computer Science Archives

NEWTON is an electronic community for Science, Math, and Computer Science K-12 Educators, sponsored and operated by Argonne National Laboratory's Educational Programs, Andrew Skipor, Ph.D., Head of Educational Programs.

For assistance with NEWTON contact a System Operator (help@newton.dep.anl.gov), or at Argonne's Educational Programs

NEWTON AND ASK A SCIENTIST
Educational Programs
Building 360
9700 S. Cass Ave.
Argonne, Illinois
60439-4845, USA
Update: June 2012
Weclome To Newton

Argonne National Laboratory