On Thu, 5 Nov 2009, Tim wrote:

With libtool-1, no problem, the single .so file
is built and works with QT3 Designer.

libtool-2, however, insists on linking the runtime
library (-lrt) with the .so, hence we get an
error that main() is not found in the .so

Where does the -lrt come into play? When you compile, two lines are printed for each linking action; the first is an invocation of libtool, the second is where libtool invokes the linker/compiler with link flags.

Does -lrt appear in both lines or just the second? That should help us bisect the problem.

Later,
Daniel


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to