MacOS 10.14 compiling Sage GSL error

49 views
Skip to first unread message

Markéta Sluková

unread,
May 9, 2019, 10:57:13 AM5/9/19
to sage-devel
Hi,

I have been trying to compile Sage from source code on my Macbook with macOS 10.14.3. However, I get the error  'Error installing package gsl-2.5' I have HomeBrew installed. I have attached the log file as per the error message. Could anyone please help me with fixing this?

Many thanks,
Marketa
config.log

E. Madison Bray

unread,
May 9, 2019, 11:11:54 AM5/9/19
to sage-devel
Hi,

It might be helpful to see your full install log from
logs/install.log. If it's too large to post as an attachment you'll
need to upload it somewhere.

What does

$ otool -L /Users/Em/sage/local/lib/libopenblas_sandybridgep-r0.3.5.dylib

output?

And do you have any environment variables set like DYLD_LIBRARY_PATH
(perhaps related to homebrew)?

It's strange that it seems to be looking for a shared library (I guess
from a fortran provided by homebrew) but it doesn't think it exists.
> --
> You received this message because you are subscribed to the Google Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
> To post to this group, send email to sage-...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/181c22c6-3eeb-4d79-9d7e-bade5fa64acb%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Dima Pasechnik

unread,
May 9, 2019, 12:33:32 PM5/9/19
to sage-devel
On Thu, May 9, 2019 at 4:11 PM E. Madison Bray <erik....@gmail.com> wrote:
>
> Hi,
>
> It might be helpful to see your full install log from
> logs/install.log. If it's too large to post as an attachment you'll
> need to upload it somewhere.
>
> What does
>
> $ otool -L /Users/Em/sage/local/lib/libopenblas_sandybridgep-r0.3.5.dylib
>
> output?
>
> And do you have any environment variables set like DYLD_LIBRARY_PATH
> (perhaps related to homebrew)?
>
> It's strange that it seems to be looking for a shared library (I guess
> from a fortran provided by homebrew) but it doesn't think it exists.

I certainly was able to build Sage with gfortran from Homebrew -
perhaps you modified/updated Homebrew in the course of building Sage?
Do you still have /usr/local/opt/gcc/lib/gcc/5/libgfortran.3.dylib ?



>
> On Thu, May 9, 2019 at 4:57 PM Markéta Sluková <em.sl...@gmail.com> wrote:
> >
> > Hi,
> >
> > I have been trying to compile Sage from source code on my Macbook with macOS 10.14.3. However, I get the error 'Error installing package gsl-2.5' I have HomeBrew installed. I have attached the log file as per the error message. Could anyone please help me with fixing this?
> >
> > Many thanks,
> > Marketa
> >
> > --
> > You received this message because you are subscribed to the Google Groups "sage-devel" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
> > To post to this group, send email to sage-...@googlegroups.com.
> > Visit this group at https://groups.google.com/group/sage-devel.
> > To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/181c22c6-3eeb-4d79-9d7e-bade5fa64acb%40googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
> To post to this group, send email to sage-...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAOTD34YF2bygTQy8OP%3DuuYADjH-LtWp_2uq4dgw7dtoETaPLzw%40mail.gmail.com.

Markéta Sluková

unread,
May 13, 2019, 10:06:18 AM5/13/19
to sage-devel
It was my PATH that was causing issues. I fixed it and now it built successfully. Thank you for your help!
Reply all
Reply to author
Forward
0 new messages