On Tue, Feb 13, 2007 at 08:36:04AM +0000, Andrew Wafaa wrote:
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/libbongostreamio.so.0: file format elf64-x86-64 /var/tmp/build-root-bongo/usr/lib/libbongostreamio.so.0: 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.
Use: %files -n lib%{name} %defattr(-,root,root,0755) %{_libdir}/libbongo* And use %configure or ./configure .... --libdir=%_libdir Ciao, Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org