Mailinglist Archive: opensuse-packaging (162 mails)

< Previous Next >
Re: [opensuse-packaging] Build fails during linking, but executing the command manually goes fine.
  • From: Philipp Thomas <pth@xxxxxxx>
  • Date: Tue, 16 Feb 2010 20:39:33 +0100
  • Message-id: <20100216193933.GD23357@xxxxxxxxxxxxxxxx>
* Richard Bos (rbos@xxxxxxxxxxxx) [20100216 20:17]:

Any idea why the build failed with 'osc build .... kfritz.spec' and why the
build succeeded when I run the exact same command (copy and pasted) in the
chroot from the command line?

I guess because osc build adds --as-needed to the link options and that in
turn lets the linker add DT_NEEDED only for libraries explicitely passed to
it and whose symbols are indeed referenced.

To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >