On Mon, 2007-04-02 at 21:34 -0700, Globe Trotter wrote:
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
This looks like a runtime package. You might also need to install the
corresponding devel package which would have /usr/lib/libqhull.so (a
symlink to /usr/lib/libqhull.so.5.0.0).
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).
The same for a .so. The linker will link to the .so in preference to .a
unless you specified non_shared or static as a compiler/linker option.
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.
Probably /usr/lib/libqhull.so.5 is just a symlink
to /usr/lib/libqhull.so.5.0.0.
--
Ian