Re: Installing GHC and libgmp.so

2013-07-24 Thread harry
Stephen Paul Weber wrote
> You can create the link somewhere else, and use LD_LIBRARY_PATH
> I have done this before.  If your version of libgmp is compatible, it
> should 
> work.

Thank you - that worked!



--
View this message in context: 
http://haskell.1045720.n5.nabble.com/Installing-GHC-and-libgmp-so-tp570p5733387.html
Sent from the Haskell - Glasgow-haskell-users mailing list archive at 
Nabble.com.

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Installing GHC and libgmp.so

2013-07-23 Thread Stephen Paul Weber

Somebody claiming to be harry wrote:

Stephen Paul Weber wrote

Somebody claiming to be harry wrote:

I also
need to install GHC on systems where I don't have root access, so I can't
create the link.


You can create the link somewhere else, and use LD_LIBRARY_PATH
I have done this before.  If your version of libgmp is compatible, it should 
work.


--
Stephen Paul Weber, @singpolyma
See  for how I prefer to be contacted
edition right joseph


signature.asc
Description: Digital signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Installing GHC and libgmp.so

2013-07-23 Thread harry
Brandon Allbery wrote
> Linux ld.so doesn't work that way.

What does the --with-gmp-libraries option do? I've tried using it with a
local shortcut, but it didn't help.



--
View this message in context: 
http://haskell.1045720.n5.nabble.com/Installing-GHC-and-libgmp-so-tp570p5733351.html
Sent from the Haskell - Glasgow-haskell-users mailing list archive at 
Nabble.com.

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Installing GHC and libgmp.so

2013-07-23 Thread Brandon Allbery
On Tue, Jul 23, 2013 at 10:33 AM, harry  wrote:

> Could GHC be configured to look for libgmp.so.3, or whatever version it was
> actually linked against, if it can't find libgmp.so?
>

Linux ld.so doesn't work that way.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Installing GHC and libgmp.so

2013-07-23 Thread Brandon Allbery
On Tue, Jul 23, 2013 at 10:28 AM, Stephen Paul Weber <
singpol...@singpolyma.net> wrote:

> Somebody claiming to be harry wrote:
>
>> all of this stems from GHC
>> looking for libgmp.so, instead of libgmp.so.3
>>
>
> Most systems symlink libgmp.so to the default version installed.  On
> Debian stable it's libgmp.so.10 ... so it may work for you, but you may
> want to upgrade.


Actually, the unversioned .so is often in a -dev package.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Installing GHC and libgmp.so

2013-07-23 Thread harry
Stephen Paul Weber wrote
> Somebody claiming to be harry wrote:
>>all of this stems from GHC
>>looking for libgmp.so, instead of libgmp.so.3
> 
> Most systems symlink libgmp.so to the default version installed.  On
> Debian 
> stable it's libgmp.so.10 ... so it may work for you, but you may want to 
> upgrade.

It's not symlinked on the systems that I'm working with (mostly CentOS and
Red Hat - I'm not disputing that it might work on "most" systems). I also
need to install GHC on systems where I don't have root access, so I can't
create the link.

Could GHC be configured to look for libgmp.so.3, or whatever version it was
actually linked against, if it can't find libgmp.so?



--
View this message in context: 
http://haskell.1045720.n5.nabble.com/Installing-GHC-and-libgmp-so-tp570p5733348.html
Sent from the Haskell - Glasgow-haskell-users mailing list archive at 
Nabble.com.

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Installing GHC and libgmp.so

2013-07-23 Thread Stephen Paul Weber

Somebody claiming to be harry wrote:

all of this stems from GHC
looking for libgmp.so, instead of libgmp.so.3


Most systems symlink libgmp.so to the default version installed.  On Debian 
stable it's libgmp.so.10 ... so it may work for you, but you may want to 
upgrade.


--
Stephen Paul Weber, @singpolyma
See  for how I prefer to be contacted
edition right joseph


signature.asc
Description: Digital signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users