what is a .la file

Sam Varshavchik mrsam at courier-mta.com
Tue Apr 3 11:08:12 UTC 2007


Globe Trotter writes:

> 
> Thanks very much! I guess I am not confident enough to call myself a developer,
> I am just writing a C program and I would like to use the library. So, there
> are also two .so files?
> 
> /usr/lib/libqhull.so.5
> /usr/lib/libqhull.so.5.0.0

You need a separate -devel package that will install a libqhull.so link, 
which is what you'll link against.

> I was wondering: how do I link a .so file? I know how to handle .a files (for
> instance, I can call libm.a using -lm and -L for the library path). But I don't
> know what to do with a .so file. I also don't know how to find the difference
> between the two .so files above.

This is one file, and a symlink.  After you install the -devel package with 
the libqhull.so link, you just link against it just like a .a:  -lqnull, 
that's it.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070403/661d94c1/attachment-0001.sig>


More information about the fedora-list mailing list