libtool
[Top][All Lists]
Advanced

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

Re: _lt_libltdl_LTX_preloaded_symbols in consistence.


From: Steven Wu
Subject: Re: _lt_libltdl_LTX_preloaded_symbols in consistence.
Date: Sun, 13 Apr 2008 09:20:10 -0700

It was _lt__PROGRAM__LTX_preloaded_symbols, however, in libltdl.a, it was _lt_libltdl_LTX_preloaded_symbols. That is why I changed the name in ltdl.h.

here:
$ nm libltdlS.o
         U _dlopen_LTX_get_vtable
000002c0 S _lt_libltdl_LTX_preloaded_symbols

and nm libltdl.a
...
nm libltdlS.o
         U _dlopen_LTX_get_vtable
000002c0 S _lt_libltdl_LTX_preloaded_symbols
...

That symbol name was inconsistent with ltdl.h. When I tried to link with with -lltdl, and I got the following error. I hence got around the problem by changing the macro definition in ltdl.h to match the symbol in the ltdl libraries. Hopefully we can find the real solution to this problem.

steve
On Apr 13, 2008, at 1:14 AM, Ralf Wildenhues wrote:

* Steven Wu wrote on Sun, Apr 13, 2008 at 07:34:13AM CEST:
|
| (cd .libs && gcc  -g -O2 -c -fno-builtin "guileS.c")
| rm -f .libs/guileS.c .libs/guile.nm .libs/guile.nmS .libs/guile.nmT
| gcc -D_THREAD_SAFE -g -O2 -Wall -Wmissing-prototypes -Werror
| .libs/guileS.o -D_THREAD_SAFE -o .libs/guile guile-guile.o
| ./.libs/libguile.dylib -lintl -lgmp -lm -lltdl
| Undefined symbols:
|   "_lt__PROGRAM__LTX_preloaded_symbols", referenced from:
| _lt__PROGRAM__LTX_preloaded_symbols$non_lazy_ptr in guile- guile.o

Can you show the output of
 nm -p .libs/guileS.o

please?  It should define _lt__PROGRAM__LTX_preloaded_symbols.

Thanks,
Ralf






reply via email to

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