Hello, I've been using a project with autoconf, automake and libtool for some time. Today I added libltdl to my code. I ran libtoolize --ltdl --copy. My configure.ac has this:
LT_CONFIG_LTDL_DIR([libltdl]) LT_INIT([dlopen]) LT_LANG([C++]) LTDL_INIT([recursive]) And my Makefile.am has this: SUBDIRS = libltdl generator resources And this: libforxxq_la_LIBADD = $(LIBLTDL) And this: AM_CPPFLAGS = $(INCLTDL) When I build on Mac OS X, everything is great. It all works perfectly. When I build on Solaris 10 with CC, my executables fail to link because of this: Undefined first referenced symbol in file lt__argz_insert ./.libs/libforxxq.so lt__argz_append ./.libs/libforxxq.so lt__argz_create_sep ./.libs/libforxxq.so lt__argz_stringify ./.libs/libforxxq.so lt__argz_next ./.libs/libforxxq.so I can see no way to convince libtool that it should actually compile the argz stuff. In the Makefile I see ltdl_LIBOBJS = argz.o, but I can't see how to tell the system to actually target that file. Has anyone seen this problem before? Can anyone help me sort this out? Thanks a lot for any help, Will
_______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool