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.