[Fedora-haskell-list] [Bug 601640] New: fails to link - dependency missing from register.sh

bugzilla at redhat.com bugzilla at redhat.com
Tue Jun 8 11:41:25 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: fails to link - dependency missing from register.sh

https://bugzilla.redhat.com/show_bug.cgi?id=601640

           Summary: fails to link - dependency missing from register.sh
           Product: Fedora
           Version: 12
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: medium
          Priority: low
         Component: ghc-GLUT
        AssignedTo: bos at serpentine.com
        ReportedBy: imc at comlab.ox.ac.uk
         QAContact: extras-qa at fedoraproject.org
                CC: petersen at redhat.com, bos at serpentine.com,
                    loupgaroublond at gmail.com,
                    fedora-haskell-list at redhat.com
    Classification: Fedora


Description of problem:
When GLUT is called from within ghci it fails to link because the dependency on
libglut is not mentioned in the package registration.

Version-Release number of selected component (if applicable):
ghc-GLUT-devel-2.1.1.2-2.fc12.x86_64

How reproducible:
100%

Steps to Reproduce:
$ ghci
> import Graphics.UI.GLUT
> getArgsAndInitialize

Actual results:

Loading package GLUT-2.1.1.2 ... linking ... <interactive>:
/usr/lib64/ghc-6.10.4/GLUT-2.1.1.2/HSGLUT-2.1.1.2.o: unknown symbol `glutGet'
ghc: unable to load package `GLUT-2.1.1.2'

Expected results:

Loading package GLUT-2.1.1.2 ... linking ... done.
("<interactive>",[])

Additional info:
If the file /usr/lib64/ghc-6.10.3/GLUT-2.1.1.2/register.sh is edited to append
"glut" to the line that says "extra-libraries:" and then the package is
unregistered and reregistered, the error goes away.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the haskell-devel mailing list