On Thu, 5 Feb 2009 10:41:57 +0000 Mark Ellis wrote:

> However, I'm making progress :)
> 
> Looking at the command line again...
> 
> libtool: link: gcc
> -shared  .libs/dllinflate.o .libs/extract.o .libs/helper.o 
> .libs/installshield_sfx.o
> .libs/liborange_log.o .libs/nullsoft.o .libs/pe.o .libs/rsrc.o 
> .libs/separate.o
> .libs/squeeze.o .libs/suf.o .libs/tomtom.o   /usr/lib/libsynce.so
> -L//lib -L/usr/lib -lhal -ldbus-glib-1
> -ldbus-1 /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so
> -lm /usr/lib/libdynamite.so /usr/lib/libunshield.so /usr/lib/libmagic.so
> -lz  -Wl,-z -Wl,defs -Wl,--as-needed   -Wl,-soname -Wl,liborange.so.0
> -o .libs/liborange.so.0.0.0
> 
> then looking at the ld man page
> 
> --as-needed
> --no-as-needed
> This  option  affects  ELF DT_NEEDED tags for dynamic libraries
> mentioned on the command line after the --as-needed option.  Normally,
> the linker will add a......
> 
> Aha !
> 
> Run that command manually with -Wl,--as-needed before all the libs and
> it works !

Yes and no.
Yes it works, but it worked with the late --as-needed in 0.3.2 too. So
thats prolly not the problem here.
And btw, here at Debian, libtool is patched not to do such insane
things like reoderings of the arguments :)
But the gcc -shared ... line still looks like your above, and the deps
are stripped. Go figure.
I guess the 2.2 scripts fetch some deps from
libsynce.la and dont know they can strip those, while 1.5 knows that.

Regards
Evgeni

-- 
Bruce Schneier Fact Number 404:
It is thought that Bruce Schneier lives on a hidden sub-basement level
deep under Fort Meade.

Attachment: pgp6oFRHO5oVz.pgp
Description: PGP signature

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to