public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
* souurce for old version of libffi
@ 2012-10-27 23:50 tim.beech
  2012-10-28 13:31 ` Tim Beech
  2012-10-29 10:21 ` Andrew Haley
  0 siblings, 2 replies; 5+ messages in thread
From: tim.beech @ 2012-10-27 23:50 UTC (permalink / raw)
  To: libffi-discuss

I'm packaging GHC (Glasgow Haskell Compiler) for Salix, a Slackware
derivative, and it depends on old versions of libgmp and libffi.

Specificaly, it is looking for /usr/lib/libffi.so.3
and finding libffi.so.6

These numbers don't seem to correspond to the version numbers for
libffi; as far as I know, the latest libffi for Slackware is
libffi-3.something.

I've searched without success. I'd be extremely grateful if anyone could
point me in the direction of a tarball.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: souurce for old version of libffi
  2012-10-27 23:50 souurce for old version of libffi tim.beech
@ 2012-10-28 13:31 ` Tim Beech
  2012-10-29 10:21 ` Andrew Haley
  1 sibling, 0 replies; 5+ messages in thread
From: Tim Beech @ 2012-10-28 13:31 UTC (permalink / raw)
  To: libffi-discuss

I'm sorry to say I got my wires crossed. ghc does indeed require an
earlier version of libffi, but the previous one will do. It's
libffi.so.5 it's looking for. I got muddled because of a similar
problem with another library.

On 27 October 2012 20:50, tim.beech <tim.beech@gmail.com> wrote:
> I'm packaging GHC (Glasgow Haskell Compiler) for Salix, a Slackware
> derivative, and it depends on old versions of libgmp and libffi.
>
> Specificaly, it is looking for /usr/lib/libffi.so.3
> and finding libffi.so.6
>
> These numbers don't seem to correspond to the version numbers for
> libffi; as far as I know, the latest libffi for Slackware is
> libffi-3.something.
>
> I've searched without success. I'd be extremely grateful if anyone could
> point me in the direction of a tarball.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: souurce for old version of libffi
  2012-10-27 23:50 souurce for old version of libffi tim.beech
  2012-10-28 13:31 ` Tim Beech
@ 2012-10-29 10:21 ` Andrew Haley
  2012-10-29 11:34   ` Samuli Suominen
  1 sibling, 1 reply; 5+ messages in thread
From: Andrew Haley @ 2012-10-29 10:21 UTC (permalink / raw)
  To: tim.beech; +Cc: libffi-discuss

On 10/28/2012 12:50 AM, tim.beech wrote:
> I'm packaging GHC (Glasgow Haskell Compiler) for Salix, a Slackware
> derivative, and it depends on old versions of libgmp and libffi.
> 
> Specificaly, it is looking for /usr/lib/libffi.so.3
> and finding libffi.so.6
> 
> These numbers don't seem to correspond to the version numbers for
> libffi; as far as I know, the latest libffi for Slackware is
> libffi-3.something.
> 
> I've searched without success. I'd be extremely grateful if anyone could
> point me in the direction of a tarball.

Please, don't do this.  Let's fix GHC.  I may be able to help.

Andrew.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: souurce for old version of libffi
  2012-10-29 10:21 ` Andrew Haley
@ 2012-10-29 11:34   ` Samuli Suominen
  2012-10-29 11:40     ` Andrew Haley
  0 siblings, 1 reply; 5+ messages in thread
From: Samuli Suominen @ 2012-10-29 11:34 UTC (permalink / raw)
  To: libffi-discuss

On 29/10/12 12:21, Andrew Haley wrote:
> On 10/28/2012 12:50 AM, tim.beech wrote:
>> I'm packaging GHC (Glasgow Haskell Compiler) for Salix, a Slackware
>> derivative, and it depends on old versions of libgmp and libffi.
>>
>> Specificaly, it is looking for /usr/lib/libffi.so.3
>> and finding libffi.so.6
>>
>> These numbers don't seem to correspond to the version numbers for
>> libffi; as far as I know, the latest libffi for Slackware is
>> libffi-3.something.
>>
>> I've searched without success. I'd be extremely grateful if anyone could
>> point me in the direction of a tarball.
>
> Please, don't do this.  Let's fix GHC.  I may be able to help.
>
> Andrew.
>
>

I believe this is the link you are looking for:

http://hackage.haskell.org/trac/ghc/ticket/5743
http://bugs.gentoo.org/show_bug.cgi?id=411925 (downstream bug linking to 
the above bug)

The problem was that the bundled libffi conflicted with the system 
libffi, as in, both got picked up one way or another


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: souurce for old version of libffi
  2012-10-29 11:34   ` Samuli Suominen
@ 2012-10-29 11:40     ` Andrew Haley
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Haley @ 2012-10-29 11:40 UTC (permalink / raw)
  To: Samuli Suominen; +Cc: libffi-discuss

On 10/29/2012 11:30 AM, Samuli Suominen wrote:
> On 29/10/12 12:21, Andrew Haley wrote:
>> On 10/28/2012 12:50 AM, tim.beech wrote:
>>> I'm packaging GHC (Glasgow Haskell Compiler) for Salix, a Slackware
>>> derivative, and it depends on old versions of libgmp and libffi.
>>>
>>> Specificaly, it is looking for /usr/lib/libffi.so.3
>>> and finding libffi.so.6
>>>
>>> These numbers don't seem to correspond to the version numbers for
>>> libffi; as far as I know, the latest libffi for Slackware is
>>> libffi-3.something.
>>>
>>> I've searched without success. I'd be extremely grateful if anyone could
>>> point me in the direction of a tarball.
>>
>> Please, don't do this.  Let's fix GHC.  I may be able to help.
> 
> I believe this is the link you are looking for:
> 
> http://hackage.haskell.org/trac/ghc/ticket/5743
> http://bugs.gentoo.org/show_bug.cgi?id=411925 (downstream bug linking to 
> the above bug)

Yes, that looks like it.  AFAIK most distros won't allow packages to
bundle magic library versions anyway.

> The problem was that the bundled libffi conflicted with the system 
> libffi, as in, both got picked up one way or another

Yes, I see.

Andrew.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-10-29 11:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-27 23:50 souurce for old version of libffi tim.beech
2012-10-28 13:31 ` Tim Beech
2012-10-29 10:21 ` Andrew Haley
2012-10-29 11:34   ` Samuli Suominen
2012-10-29 11:40     ` Andrew Haley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).