[Bug 683898] New: cabal from devel:languages:haskell:platform-2010.2: openSUSE 11.4 does not work
https://bugzilla.novell.com/show_bug.cgi?id=683898 https://bugzilla.novell.com/show_bug.cgi?id=683898#c0 Summary: cabal from devel:languages:haskell:platform-2010.2: openSUSE 11.4 does not work Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: herbert@graeber-clan.de ReportedBy: olszewst@gmail.com QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: Customer Blocker: Yes I've installed packages from devel:languages:haskell:platform-2010.2: in openSUSE 11.4. After that cabal tool fails to run with the following error message: cabal: error while loading shared libraries: libHSold-locale-1.0.0.2-ghc6.12.3.so: cannot open shared object file: No such file or directory The problem is that libHSold-locale-1.0.0.2-ghc6.12.3.so is placed in a directory where neither ld configuration nor RUNPATH of involved binaries know about. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683898 https://bugzilla.novell.com/show_bug.cgi?id=683898#c Herbert Graeber <herbert@graeber-clan.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683898 https://bugzilla.novell.com/show_bug.cgi?id=683898#c1 jorge aires <jorge.adriano@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jorge.adriano@gmail.com --- Comment #1 from jorge aires <jorge.adriano@gmail.com> 2011-10-22 10:42:34 UTC --- Same with libHSsyb-0.1.0.2-ghc6.12.3.so, at least in openSUSE 12.1 RC1. Creating symlinks for both .so files in /usr/lib64 solved the issue for me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683898 https://bugzilla.novell.com/show_bug.cgi?id=683898#c2 --- Comment #2 from Herbert Graeber <herbert@graeber-clan.de> 2011-10-24 07:48:46 UTC --- I have tried to build the packages like fedora does. There each so is located in it's own subdirectory and RPATH is needed to find them. I think there lies the problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683898 https://bugzilla.novell.com/show_bug.cgi?id=683898#c3 --- Comment #3 from Adam Spiers <novell@adamspiers.org> 2011-10-30 12:18:51 UTC --- On openSUSE 11.4 this worked for me: cd /usr/lib64 ln -s ghc-6.12.3/syb-0.1.0.2/libHSsyb-0.1.0.2-ghc6.12.3.so ln -s ghc-6.12.3/old-time-1.0.0.5/libHSold-time-1.0.0.5-ghc6.12.3.so ln -s ghc-6.12.3/old-locale-1.0.0.2/libHSold-locale-1.0.0.2-ghc6.12.3.so -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683898 https://bugzilla.novell.com/show_bug.cgi?id=683898#c4 Peter Trommler <peter.trommler@ohm-hochschule.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |peter.trommler@ohm-hochschu | |le.de Resolution| |FIXED --- Comment #4 from Peter Trommler <peter.trommler@ohm-hochschule.de> 2011-11-21 15:43:28 UTC --- I fixed the issue in OBS request 92467. OBS sets SUSE_ASNEEDED=1 which in turn causes ld to include RPATHs only for libraries that are used to resolve undefined symbols. AFAIK order of libraries in linker arguments matters, too. Package cabal-install and all other packages built with ghc-rpm-macros work with the above mentioned patch. So I suggest to close the bug. If a user sets SUSE_ASNEEDED=1, however, all executables produced by ghc will face the same issue. We should open a new bug and investigate how to override SUSE_ASNEEDED in ghc or perhaps fix the library order issue. We might have to file a bug with upstream for the latter. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683898 https://bugzilla.novell.com/show_bug.cgi?id=683898#c5 Peter Trommler <peter.trommler@ohm-hochschule.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |admin@damienradtke.org --- Comment #5 from Peter Trommler <peter.trommler@ohm-hochschule.de> 2011-11-28 07:46:19 UTC --- *** Bug 726744 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=726744 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com