[Top][All Lists]

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

Re: AIX: More troubles

From: Roumen Petrov
Subject: Re: AIX: More troubles
Date: Wed, 06 Feb 2008 23:08:34 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20071129 SeaMonkey/1.1.7

Daniel Sands wrote:
I have an executable that dlopens modules, and the modules make use of symbols provided by the executable. Since AIX does not export symbols unless either it has to (if needed for direct linkage to a shared object) or you REALLY want it to (either by -bexpall or by providing an exports list), these symbols don't resolve. So it either crashes (if compiled without -brtl) or complains about unresolved references. Is there a Libtool-standard way to make the executable export all of its symbols?

The standard is to add libtool flag -export-dynamic to executable LDFLAGS but may be libtool is not ported to you linker.

For GNU linker:
./libtool --config | grep export_dynamic


reply via email to

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