Apparently I need to rebuild Julia?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Apparently I need to rebuild Julia?

Daniel Carrera
Hello,

I just upgraded my Ubuntu install and now I get this message:

% julia
WARNING: Error during initialization of module GMP:
ErrorException("The dynamically loaded GMP library (version 6.1.0 with __gmp_bits_per_limb == 64)
does not correspond to the compile time version (version 5.1.3 with __gmp_bits_per_limb == 64).
Please rebuild Julia.")



I tried Googling but I can't figure out what I need to do. Help?

Cheers,
Daniel.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Apparently I need to rebuild Julia?

Uwe Fechner
Could you give some more information:
- which Ubuntu version
- which version of Julia
- how did you install Julia?

Regards, Uwe

On Sunday, August 7, 2016 at 12:43:39 PM UTC+2, Daniel Carrera wrote:
Hello,

I just upgraded my Ubuntu install and now I get this message:

% julia
WARNING: Error during initialization of module GMP:
ErrorException("The dynamically loaded GMP library (version 6.1.0 with __gmp_bits_per_limb == 64)
does not correspond to the compile time version (version 5.1.3 with __gmp_bits_per_limb == 64).
Please rebuild Julia.")



I tried Googling but I can't figure out what I need to do. Help?

Cheers,
Daniel.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Apparently I need to rebuild Julia?

Daniel Carrera
Ah, sorry.

- Ubuntu 16.04 LTS, the one that just came out.

- Julia 0.4.6, the current stable release.

- Hmm... I couldn't remember how I installed Julia, so I decided to try with the package manager... I found it, uninstalled it, then re-installed it and now I seem to have been downgraded to 0.4.5 but now there is no error... So I'm not sure what happened. I looked at my /etc/apt/sources.list file and I don't see any Julia repository. So I figure that I must have installed Julia using a PPA, so I found the PPA:



This time, instead of the PPA, I edited /etc/apt/sources.list and ran `apt-get update && apt-get upgrade`. This upgraded Julia again to 0.4.6 and *now* it doesn't show any errors.

So... I guess we figured out and fixed the issue. Thanks for your help!

Cheers,
Daniel.




On 7 August 2016 at 15:40, Uwe Fechner <[hidden email]> wrote:
Could you give some more information:
- which Ubuntu version
- which version of Julia
- how did you install Julia?

Regards, Uwe

On Sunday, August 7, 2016 at 12:43:39 PM UTC+2, Daniel Carrera wrote:
Hello,

I just upgraded my Ubuntu install and now I get this message:

% julia
WARNING: Error during initialization of module GMP:
ErrorException("The dynamically loaded GMP library (version 6.1.0 with __gmp_bits_per_limb == 64)
does not correspond to the compile time version (version 5.1.3 with __gmp_bits_per_limb == 64).
Please rebuild Julia.")



I tried Googling but I can't figure out what I need to do. Help?

Cheers,
Daniel.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Apparently I need to rebuild Julia?

Andre Bieler
I have the same problem for v0.4.6. I have Julia running for a while on my machine
(Mint 17.2 --> Ubuntu 14.04), but now I get this error message on startup:

WARNING: Error during initialization of module GMP:
ErrorException("The dynamically loaded GMP library (version 6.1.0 with __gmp_bits_per_limb == 64)
does not correspond to the compile time version (version 5.1.3 with __gmp_bits_per_limb == 64).
Please rebuild Julia.")


I had Julia installed via the ppa.

I uninstalled Julia, removed the ppa and installed from the package manager. This gave me v0.2.1 :)
Removed that. Added PPA again, install Julia. Same warning on start up.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Apparently I need to rebuild Julia?

Andre Bieler
All works fine if I download the binary from 
http://julialang.org/downloads/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Apparently I need to rebuild Julia?

Loic Chappaz
Hi there,

I just had the same issue under Ubuntu 14 and a fresh Julia 0.4.6 install.
It seems that Ubuntu updated my gmp library to version 6.1.0 during the last round of updates and that does not seem to agree with Julia (Even after reinstalling it from the PPA after uninstalling it)

To solve it: I simply downgraded gmp back to 5.1.3 using: `sudo apt-get install libgmp10=2:5.1.3+dfsg-1ubuntu1`
and finding the proper version name using:  `apt-cache showpkg libgmp10`
And that works fine.
I also did: `sudo apt-mark hold libgmp10` to keep it from automatically updating next time around.

There's likely a better fix than that though, as I'm no Linux guru.

Cheers,
Loic


On Friday, September 2, 2016 at 8:52:48 AM UTC-7, Andre Bieler wrote:
All works fine if I download the binary from 
<a href="http://julialang.org/downloads/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fjulialang.org%2Fdownloads%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEtjraduQnGnON9KJCGfvyrI523NQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fjulialang.org%2Fdownloads%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEtjraduQnGnON9KJCGfvyrI523NQ&#39;;return true;">http://julialang.org/downloads/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Apparently I need to rebuild Julia?

Yichao Yu


On Wed, Sep 7, 2016 at 3:34 PM, Loic Chappaz <[hidden email]> wrote:
Hi there,

I just had the same issue under Ubuntu 14 and a fresh Julia 0.4.6 install.
It seems that Ubuntu updated my gmp library to version 6.1.0 during the last round of updates and that does not seem to agree with Julia (Even after reinstalling it from the PPA after uninstalling it)

To solve it: I simply downgraded gmp back to 5.1.3 using: `sudo apt-get install libgmp10=2:5.1.3+dfsg-1ubuntu1`
and finding the proper version name using:  `apt-cache showpkg libgmp10`
And that works fine.
I also did: `sudo apt-mark hold libgmp10` to keep it from automatically updating next time around.

There's likely a better fix than that though, as I'm no Linux guru.

The better fix is that the binary package maintainer should update the julia version if necessary (and I've heard that Elliot have fixed it and the build should be up and running again).
 

Cheers,
Loic


On Friday, September 2, 2016 at 8:52:48 AM UTC-7, Andre Bieler wrote:
All works fine if I download the binary from 

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Apparently I need to rebuild Julia?

Loic Chappaz
Great.
Does that propagate to the PPA or does one need to build from the binaries?

Thanks

On Wed, Sep 7, 2016 at 12:41 PM Yichao Yu <[hidden email]> wrote:
On Wed, Sep 7, 2016 at 3:34 PM, Loic Chappaz <[hidden email]> wrote:
Hi there,

I just had the same issue under Ubuntu 14 and a fresh Julia 0.4.6 install.
It seems that Ubuntu updated my gmp library to version 6.1.0 during the last round of updates and that does not seem to agree with Julia (Even after reinstalling it from the PPA after uninstalling it)

To solve it: I simply downgraded gmp back to 5.1.3 using: `sudo apt-get install libgmp10=2:5.1.3+dfsg-1ubuntu1`
and finding the proper version name using:  `apt-cache showpkg libgmp10`
And that works fine.
I also did: `sudo apt-mark hold libgmp10` to keep it from automatically updating next time around.

There's likely a better fix than that though, as I'm no Linux guru.

The better fix is that the binary package maintainer should update the julia version if necessary (and I've heard that Elliot have fixed it and the build should be up and running again).
 

Cheers,
Loic


On Friday, September 2, 2016 at 8:52:48 AM UTC-7, Andre Bieler wrote:
All works fine if I download the binary from 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Apparently I need to rebuild Julia?

Yaakov Borstein
In reply to this post by Loic Chappaz
as of sep 10 this remains the quickest solution

On Wednesday, September 7, 2016 at 10:34:15 PM UTC+3, Loic Chappaz wrote:
Hi there,

I just had the same issue under Ubuntu 14 and a fresh Julia 0.4.6 install.
It seems that Ubuntu updated my gmp library to version 6.1.0 during the last round of updates and that does not seem to agree with Julia (Even after reinstalling it from the PPA after uninstalling it)

To solve it: I simply downgraded gmp back to 5.1.3 using: `sudo apt-get install libgmp10=2:5.1.3+dfsg-1ubuntu1`
and finding the proper version name using:  `apt-cache showpkg libgmp10`
And that works fine.
I also did: `sudo apt-mark hold libgmp10` to keep it from automatically updating next time around.

There's likely a better fix than that though, as I'm no Linux guru.

Cheers,
Loic


On Friday, September 2, 2016 at 8:52:48 AM UTC-7, Andre Bieler wrote:
All works fine if I download the binary from 
<a href="http://julialang.org/downloads/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fjulialang.org%2Fdownloads%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEtjraduQnGnON9KJCGfvyrI523NQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fjulialang.org%2Fdownloads%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEtjraduQnGnON9KJCGfvyrI523NQ&#39;;return true;">http://julialang.org/downloads/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Apparently I need to rebuild Julia?

Ludger Solbach
I had this problem installing Julia on 'Bash on Ubuntu' in Windows 10 after copy/pasting the whole set of lines in one go according to the Ubuntu instructions in http://julialang.org/downloads/platform.html. When I went to /etc/apt/sources.list.d/, I noticed that julia-deps was still missing, so I reran that add-apt-repository line, at which point I was prompted for confirmation. This I had not seen the first time, probably because of the two following two lines that were still coming in the paste job. After answering yes, julia-deps was successfully added, and after another update/upgrade cycle, starting Julia no longer produced this error. You guys may want to check whether this is your problem as well.

Cheers,

        Ludger.

 --
 
On Saturday, September 10, 2016 at 12:38:23 AM UTC-7, Yaakov Borstein wrote:
as of sep 10 this remains the quickest solution

On Wednesday, September 7, 2016 at 10:34:15 PM UTC+3, Loic Chappaz wrote:
Hi there,

I just had the same issue under Ubuntu 14 and a fresh Julia 0.4.6 install.
It seems that Ubuntu updated my gmp library to version 6.1.0 during the last round of updates and that does not seem to agree with Julia (Even after reinstalling it from the PPA after uninstalling it)

To solve it: I simply downgraded gmp back to 5.1.3 using: `sudo apt-get install libgmp10=2:5.1.3+dfsg-1ubuntu1`
and finding the proper version name using:  `apt-cache showpkg libgmp10`
And that works fine.
I also did: `sudo apt-mark hold libgmp10` to keep it from automatically updating next time around.

There's likely a better fix than that though, as I'm no Linux guru.

Cheers,
Loic


On Friday, September 2, 2016 at 8:52:48 AM UTC-7, Andre Bieler wrote:
All works fine if I download the binary from 
<a href="http://julialang.org/downloads/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fjulialang.org%2Fdownloads%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEtjraduQnGnON9KJCGfvyrI523NQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fjulialang.org%2Fdownloads%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEtjraduQnGnON9KJCGfvyrI523NQ&#39;;return true;">http://julialang.org/downloads/
Loading...