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
export_dynamic_flag_spec="\${wl}--export-dynamic"


Roumen



_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to