Bugzilla – Bug 136766
digikam-0.8.0-3.src.rpm (Supplementary) doesn't rebuild on x86_64
Last modified: 2006-02-04 09:49:16 UTC
I have this error, when i rebuild the src-rpm: ../digikam/utilities/setup/libsetup.la /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: ../../digikam/utilities/setup/.libs/libsetup.a(setupgeneral.o): relocation R_X86_64_PC32 against `QDir::operator!=(QDir const&) const' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status make[4]: *** [libdigikam.la] Error 1
Created attachment 59746 [details] config.log
Created attachment 59747 [details] digikam.log
it works in our build system and we can't debug your build failures. I guess you could ask on opensuse mailing lists
(In reply to comment #3) > it works in our build system and we can't debug your build failures. I guess > you could ask on opensuse mailing lists What's the different between your build system and my minimal-suse-installation? I have no other repos and installed only minimal with digikam-requires. I think, it's a bug, see: http://qa.mandriva.com/show_bug.cgi?id=18984 http://linux.derkeiler.com/Mailing-Lists/SuSE/2005-10/1374.html
somehow the files are not built with -fPIC add it to CFLAGS and CXXFLAGS as workaround.
(In reply to comment #5) > somehow the files are not built with -fPIC > add it to CFLAGS and CXXFLAGS as workaround. That's always the first, what i try, no chance ;)