[Bug 726744] New: ghc-libs fails to symlink libHSsyb and libHSold
https://bugzilla.novell.com/show_bug.cgi?id=726744 https://bugzilla.novell.com/show_bug.cgi?id=726744#c0 Summary: ghc-libs fails to symlink libHSsyb and libHSold Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@suse.com ReportedBy: admin@damienradtke.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 After installing cabal-install (version 0.8.2) and ghc-libs (version 6.12.3) from the openSUSE 11.4 Haskell repo, trying to run cabal results in a missing library error. Two libraries need to be located before cabal works, through either symlinking or editing LD_LIBRARY_PATH. The quickfix is to run this command: $ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib64/ghc-6.12.3/syb-0.1.0.2/:/usr/lib64/ghc-6.12.3/old-locale-1.0.0.2/ After these paths are added to the path, cabal works fine. The more permanent fix would be to symlink them to /usr/lib64 in the package's spec file: $ cd /usr/lib64 $ sudo ln -s /usr/lib64/ghc-6.12.3/old-locale-1.0.0.2/libHSold-locale-1.0.0.2-ghc6.12.3.so libHSold.so $ sudo ln -s /usr/lib64/ghc-6.12.3/syb-0.1.0.2/libHSsyb-0.1.0.2-ghc6.12.3.so libHSsyb.so $ sudo /sbin/ldconfig /usr/lib64 After these libraries are symlinked, everything will work fine without having to update LD_LIBRARY_PATH. These are the only libraries required by cabal, but it wouldn't hurt to make sure every library provided by ghc-libs is symlinked properly. Reproducible: Always Steps to Reproduce: 1. Install cabal-install and ghc-libs and try to run cabal 2. 3. Actual Results: libHSold and libHSsyb cannot be found Expected Results: Cabal should run normally -- 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=726744 https://bugzilla.novell.com/show_bug.cgi?id=726744#c Philipp Thomas <pth@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pth@suse.com AssignedTo|pth@suse.com |herbert@graeber-clan.de -- 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=726744 https://bugzilla.novell.com/show_bug.cgi?id=726744#c1 Peter Trommler <peter.trommler@ohm-hochschule.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |peter.trommler@ohm-hochschu | |le.de Resolution| |DUPLICATE Severity|Normal |Major --- Comment #1 from Peter Trommler <peter.trommler@ohm-hochschule.de> 2011-11-28 07:46:19 UTC --- Shared libraries are being found through rpath. OBS included rpath only for some libraries. This is a duplicate of 683898. The current version in devel:languages:haskell:platform-2010.2 works. *** This bug has been marked as a duplicate of bug 683898 *** http://bugzilla.novell.com/show_bug.cgi?id=683898 -- 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=726744 https://bugzilla.novell.com/show_bug.cgi?id=726744#c2 Peter Trommler <peter.trommler@ohm-hochschule.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|RESOLVED |REOPENED Version|Final |12.3 Beta 1 Component|Development |Development Platform|x86-64 |PC Resolution|DUPLICATE | AssignedTo|herbert@graeber-clan.de |bnc-team-screening@forge.pr | |ovo.novell.com Product|openSUSE 11.4 |openSUSE Factory Summary|ghc-libs fails to symlink |ghc does not set RUNPATH on |libHSsyb and libHSold |libraries Alias| |ghc-libs-symlink Severity|Major |Minor OS/Version|openSUSE 11.4 |SUSE Other --- Comment #2 from Peter Trommler <peter.trommler@ohm-hochschule.de> 2013-02-06 09:00:12 UTC --- The root cause is that ghc's build system does not add RUNPATHs to its libraries. This issue has been fixed upstream (see http://hackage.haskell.org/trac/ghc/ticket/7062 and http://hackage.haskell.org/trac/ghc/ticket/3072). Those fixes will be included in the upcoming 7.8.1 release of ghc. In Factory, where we have ghc 7.4.2, we currently override ld's default to use RUNPATH and rely on RPATH which does not have this issue. All binaries linked by ghc will have an RPATH and no RUNPATH. I will reopen this ticket with low priority as the issue might affect users that wish to link ghc objects using ld directly. If you need this fixed, please increase priority on this ticket and I will backport the upstream fixes. -- 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=726744 https://bugzilla.novell.com/show_bug.cgi?id=726744#c Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |peter.trommler@ohm-hochschu |ovo.novell.com |le.de -- 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=726744 https://bugzilla.novell.com/show_bug.cgi?id=726744#c Peter Trommler <peter.trommler@ohm-hochschule.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |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.
http://bugzilla.novell.com/show_bug.cgi?id=726744 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| |obs:running:4098:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=726744 http://bugzilla.novell.com/show_bug.cgi?id=726744#c4 Peter Trommler <peter.trommler@ohm-hochschule.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #4 from Peter Trommler <peter.trommler@ohm-hochschule.de> --- This issue is fixed in ghc 7.8.4 in openSUSE 13.2. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=726744 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|obs:running:4098:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=726744 http://bugzilla.novell.com/show_bug.cgi?id=726744#c5 --- Comment #5 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-RU-2015:1865-1: An update that has three recommended fixes can now be installed. Category: recommended (moderate) Bug References: 711489,726744,845572 CVE References: Sources used: SUSE Package Hub for SUSE Linux Enterprise 12 (src): ghc-7.10.2-2.1, ghc-bootstrap-7.8.3-2.1, ghc-rpm-macros-1.4.94-2.1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=726744 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| |obs:running:4098:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=726744 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|obs:running:4098:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com