> > 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.
_______________________________________________
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Reply via email to