* Török Edwin wrote on Sat, Feb 28, 2009 at 12:02:26PM CET:
> On 2009-02-28 12:58, Ralf Wildenhues wrote:
> > * Török Edwin wrote on Sat, Feb 28, 2009 at 10:33:06AM CET:
> >   
> >> libtool2.2.6a, when run under zsh, adds bogus directories to linker lines:
[...]
> >> libtool: link: gcc -shared  .libs/unrar_iface.o   -Wl,-rpath
> >> -Wl,/tmp/clamav-0.95rc1/libclamav/.libs -Wl,-rpath -Wl,/usr/local/lib/elf
> >> ./.libs/libclamunrar.so /usr/local/bin -lz  -Wl,--version-script
> >> -Wl,../libclamunrar_iface/libclamunrar_iface.map   -Wl,-soname
> >> -Wl,libclamunrar_iface.so.6 -o .libs/libclamunrar_iface.so.6
> >> /usr/local/bin: file not recognized: File format not recognized

> >> See https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1434 for more details,

> > There is one thing that I don't understand yet: the 'emulate sh' early
> > in the libtool script should disable zsh special variables like $path.
> > How come that is not happening here?
> >   
> 
> I attached the output of zsh -x, maybe you can figure out what is wrong.
> I am not a zsh expert, I only use bash ;)

More helpful would be the output of

/usr/local/bin/zsh -x ../libtool --tag=CC    --mode=link gcc  -g -O2  -module 
-thread-safe  -version-info 6:0:0  -no-undefined 
-Wl,--version-script,../libclamunrar_iface/libclamunrar_iface.map  -o 
libclamunrar_iface.la -rpath /usr/local/lib/elf unrar_iface.lo libclamunrar.la 
-lz

Thanks,
Ralf



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to