[Gluster-devel] glfsheal test failures

Jeff Darcy jdarcy at redhat.com
Fri Dec 12 16:55:37 UTC 2014


> > Back to the point, it seems like we should use "ld -l" for some
> > things (e.g. libglusterfs) and dlopen for others (e.x. xlators),
> > but never "cross the streams" or just add a .so to the list of
> > objects.  Does that sound right?
> 
> You should use libtool link everywhere, and with -module when it
> should be dlopen'able.

Good point.  So we should use "libtool -module" if we plan to load
via dlopen, "libtool" alone otherwise, never both or anything else.
That seems like an easy enough rule to follow.


More information about the Gluster-devel mailing list