libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool-2 problem: Building a QT3 Designer plugin


From: Daniel Herring
Subject: Re: libtool-2 problem: Building a QT3 Designer plugin
Date: Thu, 5 Nov 2009 22:12:47 -0500 (EST)
User-agent: Alpine 1.10 (LNX 962 2008-03-14)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]