Mailinglist Archive: opensuse-buildservice (354 mails)

< Previous Next >
Re: [opensuse-buildservice] x86_64 build issues
  • From: Andreas Jaeger <aj@xxxxxxx>
  • Date: Tue, 13 Feb 2007 09:58:47 +0100
  • Message-id: <hofy9ao2m0.fsf@xxxxxxxxxxxxx>
Andrew Wafaa <andrew@xxxxxxxxxx> writes:

> I'm having difficulty building on the x86_64 systems, for some reason it doesn't want to accept the following statement:
> %ifarch x86_64
> %files -n lib%{name}
> %defattr(-,root,root,0755)
> %{prefix}/lib64/
> %endif
> I get the following error:
> /var/tmp/build-root-bongo/usr/lib/ file format elf64-x86-64
> /var/tmp/build-root-bongo/usr/lib/ should be in */lib64
> error: Bad exit status from /var/tmp/rpm-tmp.46374 (%install)
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.46374 (%install)
> mount: can't find / in /etc/fstab or /etc/mtab
> md: stopping all md devices.
> System halted.
> I know it may sound like a dumb question, but.... Is it telling me to remove %{prefix}/lib64 and replace it with */lib64? I don't have a 64bit machine so I'm not entirely sure on the differences between architecture filesystem layouts.

It'S telling you that is a 64-bit library and
you installed it to /usr/lib instead of /usr/lib64. Move it to
lib*64* and everything should be fine,

Andreas Jaeger, aj@xxxxxxx,
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
< Previous Next >
Follow Ups