shared lib problem with atexit

Ulrich Drepper drepper@redhat.com
Tue May 8 11:08:00 GMT 2001


Bruno Haible <haible@ilog.fr> writes:

> Why should they build their libqt with "-lc"? It is necessary to give
> all the dependencies on the link command line on AIX. But in ELF this
> has not been necessary since 1995.

It always is necessary to define the inter-dependencies.  Nobody must
create DSOs other than with gcc -shared which automatically links in
libc.

> Before jumping to the conclusion, could you (Ulrich or H.J.) please
> explain the cause of the error?

Very simple: there is no default symbol atexit anymore.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-alpha mailing list