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: Bob Friesenhahn
Subject: Re: libtool-2 problem: Building a QT3 Designer plugin
Date: Fri, 6 Nov 2009 08:58:10 -0600 (CST)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

On Thu, 5 Nov 2009, Tim wrote:

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

I am not sure what OS you are using but on most systems -lrt brings in the library for the POSIX .4 Real Time extensions ("rt" == "Real Time"). This is needed for things like POSIX message queues, POSIX memory mapping, and nanosleep(). Using this library should not impose a requirement for main() in a shared library. A requirement for main() would imply that libtool was attempting to link a program rather than a library.

Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




reply via email to

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