Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-27-2012, 08:25 AM   #1
LQ Newbie
Registered: May 2010
Posts: 6

Rep: Reputation: 1
Where can I get the source for an old version of libffi - for Haskell

I'm making a package of ghc (Glasgow Haskell compiler) for Salix (a Slackware-based distro). It needs an old version of libgmp, which I found and built; but it seems it also needs an old libffi. The current file is (salix/Slakware 14.0).

This could probably be solved with a symlink, but I can't put an ugly hack like that in a package.

Searching for the source turned up nothing.
Old 10-27-2012, 10:55 AM   #2
Senior Member
Registered: Jul 2006
Location: London
Distribution: CentOS, Xubuntu
Posts: 4,924

Rep: Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608
The version in Slackware 14 is actually 3.0.11. Version 3 has been around for some time, but there are sources for older versions if you search, such as this link for version 1.2:

But what version of ghc are you using? The latest (7.6.1) only came out last month.

Last edited by DavidMcCann; 10-29-2012 at 12:42 PM.
Old 10-27-2012, 06:27 PM   #3
LQ Newbie
Registered: May 2010
Posts: 6

Original Poster
Rep: Reputation: 1
Thanks David. I don't understand the relation between the library version numbers and what you see in /usr/lib. For Slackware/Salix 14.0, I think it's When I built the library from that link, it produced '.1':

vanilla[libffi-1.20]$ find ./ -name*
Regarding the ghc version, that one [EDIT: 7.4.2, as at] works with the latest version of Haskell platform (in fact the *previous* version of ghc is officially recommended, but that one works). And it works with xmonad.

However, maybe a more recent ghc would avoid problems with ancient libraries. I think I'll leave that for the next release cycle, though.

I'll keep searching (the very fact that you found this file inspires me to persist), but if anyone happens to have specific info, I'd be delighted.

Last edited by mimosa; 10-27-2012 at 06:33 PM.
Old 10-28-2012, 08:04 AM   #4
LQ Newbie
Registered: May 2010
Posts: 6

Original Poster
Rep: Reputation: 1
I found what looks like a comprehensive archive of old versions here:

but when I built a selection, I found the numbers seem to jump straight from to I've also asked on the libffi mailing list (yes, it actually has a mailing list).

I'll go back to the build environment and check I haven't made a mistake here.

EDIT indeed I did: what's wanted is I got muddled because of a smilar problem with another library.

This is therefore SOLVED; I can't see how to edit the original subject to reflect this, but will investigate.

Last edited by mimosa; 10-28-2012 at 08:26 AM. Reason: Mistake!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] gnutls and libffi missing VisionIncision Slackware 12 07-23-2012 10:32 AM
[SOLVED] The installed libffi not found! irajjs Mandriva 6 07-19-2012 04:36 AM
[SOLVED] libffi in multilib slackware? BroX Slackware 1 07-17-2012 04:29 AM
where is mreff555 Linux - Software 7 05-12-2012 09:44 AM
No package 'libffi' found woow Linux - Software 7 02-07-2012 08:30 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration