<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>use a static lib, get rid of .so?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>hello spread users,<BR>
<BR>
i casually looked through the mailing list archives, but didn't see any questions like this.<BR>
<BR>
i am evaluating spread for potential use in a project.&nbsp; i wrote a bunch of test code on macosx to figure out the api.&nbsp; so far, so good.&nbsp; but actual full-scale deployment would take place on linux machines, so i tried recompiling my code over there.&nbsp; it builds okay, but when i try to run the resultant program, this is the message i get:<BR>
<BR>
&nbsp; error while loading shared libraries: libspread.so: cannot open shared object file:<BR>
&nbsp; No such file or directory<BR>
<BR>
i suppose i could figure out why the program can't find libspread.so, but i don't want to do that.&nbsp; i'd rather build a program that links against libspread.a and does not require any shared objects at all.&nbsp; if we end up using spread, it will be deployed on hundreds of linux machines.&nbsp; i don't want to have to install libraries on all those machines.&nbsp; that's how i *thought* i'd built the program, but apparently not.&nbsp; i just used -lspread on the link line, and there is a libspread.a available, so i figured that's what it would link against.<BR>
<BR>
i built spread 4.0.0 from source and installed it on a suse linux box myself.&nbsp; can anybody tell me how to either a) build it only as a .a lib, rather than a .so lib, or b) how to link my program so that it doesn't require the .so?<BR>
<BR>
thanks,<BR>
allen</FONT>
</P>


<DIV><P><HR>
********************************************<BR>
This message is intended only for the use of the Addressee and<BR>
may contain information that is PRIVILEGED and CONFIDENTIAL.<BR>
<BR>
If you are not the intended recipient, you are hereby notified<BR>
that any dissemination of this communication is strictly prohibited.<BR>
<BR>
If you have received this communication in error, please erase<BR>
all copies of the message and its attachments and notify us<BR>
immediately.<BR>
<BR>
Thank you.<BR>
********************************************
</P></DIV>
</BODY>
</HTML>