LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

Rep: Reputation: 1
Where can I get the source for an old version of libffi - libffi.so.3? 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 libffi.so.6 (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
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,017

Rep: Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777
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:
http://linux.softpedia.com/progDownl...oad-16089.html

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
mimosa
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 libffi.so.6. When I built the library from that link, it produced '.1':


Code:
vanilla[libffi-1.20]$ find ./ -name libffi.so.*
./src/.libs/libffi.so.1.1.3
./src/.libs/libffi.so.1
Regarding the ghc version, that one [EDIT: 7.4.2, as at slackbuilds.org] 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
mimosa
LQ Newbie
 
Registered: May 2010
Posts: 6

Original Poster
Rep: Reputation: 1
I found what looks like a comprehensive archive of old versions here:
http://ltsp.mirrors.tds.net/pub/sourceware.org/libffi/

but when I built a selection, I found the numbers seem to jump straight from libffi.so.1 to libffi.so.5. 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 libffi.so.5. 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!
 
  


Reply


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 libffi.so.6? mreff555 Linux - Software 7 05-12-2012 09:44 AM
No package 'libffi' found woow Linux - Software 7 02-07-2012 08:30 PM


All times are GMT -5. The time now is 04:54 AM.

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