libstdc++ requiring '.' on aix?

Alexandre Oliva aoliva@redhat.com
Thu Feb 15 12:59:00 GMT 2001


On Feb 15, 2001, Robert A Nesius <rnesius@ichips.intel.com> wrote:

> [pdx206]-> src 47> ./aspell
> Could not load program ./aspell
> Could not load library .
> Error was: Permission denied

<aol>me too</aol>

> 1                                    libc.a              shr.o
> 2                                    .

> That's odd.  libstdc++ includes '.'?

> Has anyone seen this problem before on AIX?

Yep.  Every time I used gcc -shared to create a shared library that
depended on another shared library.

GCC would generate an import file starting with `#! .'.  This would
cause the generated library to depend on `.'.  Ugh!

This is fixed in the development sources.  GCC 3.0 will be the first
release of GCC to properly support the construction of shared
libraries on AIX 4.1.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-help mailing list