On Thursday, November 14, 2002, at 08:39 AM, Alexandre Duret-Lutz wrote:
David, could you explain where `-L../autoopts/.libs -lopts' comes
from?
Sure.
Here are my original libtool link and compiler link commands:
/bin/sh ../libtool --mode=link gcc -g -O2 -L/sw/lib -o autogen
autogen-opts.o
>>> "Bruce" == Bruce Korb <[EMAIL PROTECTED]> writes:
Bruce> Alexandre Duret-Lutz wrote:
>> >> /bin/sh ../libtool --mode=link gcc -g -O2 -L/sw/lib -o autogen \
>> >> -export-dynamic -lguile *.o -L/sw/lib -lguile -lm \
>> >> -L../autoopts/.libs -lopts -ldl
>> >> ld: Undefined symbols:
>> >
>>> "Bruce" == Bruce Korb <[EMAIL PROTECTED]> writes:
Bruce> David Bacher wrote:
[...]
>> /bin/sh ../libtool --mode=link gcc -g -O2 -L/sw/lib -o autogen \
>> -export-dynamic -lguile *.o -L/sw/lib -lguile -lm \
>> -L../autoopts/.libs -lopts -ldl
>> ld: Undefined symbols:
>> _aopts_alloc
Alexandre Duret-Lutz wrote:
> >> /bin/sh ../libtool --mode=link gcc -g -O2 -L/sw/lib -o autogen \
> >> -export-dynamic -lguile *.o -L/sw/lib -lguile -lm \
> >> -L../autoopts/.libs -lopts -ldl
> >> ld: Undefined symbols:
> >> _aopts_alloc
> >> _aopts_realloc
> >> _aopts_strdup
> >> make[1
David Bacher wrote:
>
> Hi Bruce,
>
> I'm having a problem building the latest autogen 5.4.6 on Mac OS X,
> while the old autogen is installed.
>
> When linking the new autogen executable, it finds the old (installed)
> verison of libopts instead of the new (local) libopts library. This
> causes