Re: [sage-support] SageMath-9.2 does not start with Jupyter on macOS 10.15.7

2020-11-04 Thread John H Palmieri
By way of comparison, I am using the system's version of all of these 
(/usr/bin/...), not homebrew's. Sage builds fine for me.


On Wednesday, November 4, 2020 at 2:39:58 PM UTC-8, Isuru Fernando wrote:
>
> Looks to me like you are using gcc,g++ from the system and ar, ranlib from 
> homebrew. Can you try switching all to system or all to homebrew?
>
> Isuru
>
> On Wed, Nov 4, 2020 at 3:09 PM phiparis19 > 
> wrote:
>
>> /usr/bin/gcc
>>
>> /usr/bin/g++
>>
>> /usr/local/bin/ar
>>
>> /usr/local/bin/ranlib
>>
>>
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
>>
>> /Applications/sage-9.2/local/var/tmp/sage/build/gf2x-1.3.0/.libs/libtuneup-s1.a:
>>  
>> cannot open 
>> `/Applications/sage-9.2/local/var/tmp/sage/build/gf2x-1.3.0/.libs/libtuneup-s1.a'
>>  
>> (No such file or directory)
>>
>> Philippe
>>
>> Le mercredi 4 novembre 2020 à 21:45:52 UTC+1, isu...@gmail.com a écrit :
>>
>>> What do you get for each of the commands?
>>>
>>> which gcc
>>> which g++
>>> which ar
>>> which ranlib
>>> gcc -print-prog-name=ld
>>> file 
>>> /Applications/sage-9.2/local/var/tmp/sage/build/gf2x-1.3.0/.libs/libtuneup-s1.a
>>>
>>> Isuru
>>>
>>> On Wed, Nov 4, 2020 at 2:30 PM phiparis19  wrote:
>>>
 Here is the file
 Thank you

 Le mercredi 4 novembre 2020 à 21:04:09 UTC+1, isu...@gmail.com a 
 écrit :

> > I get ld: warning: ignoring file ./.libs/libtuneup-s1.a, building 
> for macOS-x86_64 but attempting to link with file built for 
> unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 
> 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )
>
> Can you send `gf2x`'s `config.log`?
>
> This happens when you are using a linker without LTO support.
>
> Isuru
>
> On Wed, Nov 4, 2020 at 1:53 PM phiparis19  wrote:
>
>>
>> Thank you for helping me.
>>
>> I followed the instructions at the end of ./configure output  (brew 
>> install ...)
>>
>> I get ld: warning: ignoring file ./.libs/libtuneup-s1.a, building for 
>> macOS-x86_64 but attempting to link with file built for 
>> unknown-unsupported 
>> file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 
>> 0x20 
>> 0x20 0x20 0x20 0x20 )
>>
>> Error installing package gf2x-1.3.0
>>
>> I have also tried to compile sage-9.2 on another partition of my mac 
>> : il fails after 4h of compilation for the same reason for one of the 
>> last 
>> packages.
>> Le mercredi 4 novembre 2020 à 18:18:41 UTC+1, John H Palmieri a 
>> écrit :
>>
>>>
>>>
>>> On Tuesday, November 3, 2020 at 11:30:54 PM UTC-8, Dima Pasechnik 
>>> wrote:

 As far as building from source is concerned, I'd recommend using 
 Homebrew, instead of trying 
 to build most packages from scratch (as it is the case if you don't 
 use it). 
 Please pay attention that you need to run 

 source .homebrew-build-env 


 and to the list of packages you'd install printed out by 
 ./configure 
 (at the end of its run) 

>>>
>>> And after installing new system packages, it's a good idea to run 
>>> 'make distclean' and then rerun './configure' (with whatever options 
>>> you 
>>> want to pass to it).
>>>  
>>>

 On Wed, Nov 4, 2020 at 6:18 AM phiparis19  
 wrote: 
 > 
 > Hello, 
 > 
 > After upgrading from SageMath-9.1 to SageMath-9.2, 
 > 
 > ./sage -n jupyter fails 
 > 
 > ModuleNotFoundError: No module named '_ssl' 
 > 
 > The Jupyter notebook requires ssl, even if you do not use https. 
 Install the openssl development packages in your system and then 
 rebuild 
 Python (sage -f python3). 
 > 
 > Unfortunately,  openssl installation has failed : 
 > 
 > [openssl-1.1.1g] Undefined symbols for architecture x86_64: 
 > 
 >  
 > 
 > [openssl-1.1.1g] ld: symbol(s) not found for architecture x86_64 
 > 
 > [openssl-1.1.1g] clang: error: linker command failed with exit 
 code 1 (use -v to see invocation) 
 > 
 > Same issue when recompiling sage from sage-9.2.tar.gz 
 > 
 > ./configure --enable-openssl=yes 
 > 
 > make 
 > 
 > [patch-2.7.5] ld: symbol(s) not found for architecture x86_64 
 > 
 > 
 > I have macports and hombres installed 
 > 
 > So I dit 
 > 
 >  sudo mv /opt/local /opt/local_old 
 > 
 > sudo mv /usr/local/Homebrew /usr/local/Homebrew_old 

 Unless you use a non-standard installaI don't think you achieve 
 much 
 by the latter, as Homebrew installs several packages di

Re: [sage-support] SageMath-9.2 does not start with Jupyter on macOS 10.15.7

2020-11-04 Thread Isuru Fernando
Looks to me like you are using gcc,g++ from the system and ar, ranlib from
homebrew. Can you try switching all to system or all to homebrew?

Isuru

On Wed, Nov 4, 2020 at 3:09 PM phiparis19  wrote:

> /usr/bin/gcc
>
> /usr/bin/g++
>
> /usr/local/bin/ar
>
> /usr/local/bin/ranlib
>
>
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
>
> /Applications/sage-9.2/local/var/tmp/sage/build/gf2x-1.3.0/.libs/libtuneup-s1.a:
> cannot open
> `/Applications/sage-9.2/local/var/tmp/sage/build/gf2x-1.3.0/.libs/libtuneup-s1.a'
> (No such file or directory)
>
> Philippe
>
> Le mercredi 4 novembre 2020 à 21:45:52 UTC+1, isu...@gmail.com a écrit :
>
>> What do you get for each of the commands?
>>
>> which gcc
>> which g++
>> which ar
>> which ranlib
>> gcc -print-prog-name=ld
>> file
>> /Applications/sage-9.2/local/var/tmp/sage/build/gf2x-1.3.0/.libs/libtuneup-s1.a
>>
>> Isuru
>>
>> On Wed, Nov 4, 2020 at 2:30 PM phiparis19  wrote:
>>
>>> Here is the file
>>> Thank you
>>>
>>> Le mercredi 4 novembre 2020 à 21:04:09 UTC+1, isu...@gmail.com a écrit :
>>>
 > I get ld: warning: ignoring file ./.libs/libtuneup-s1.a, building for
 macOS-x86_64 but attempting to link with file built for unknown-unsupported
 file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20
 0x20 0x20 0x20 0x20 )

 Can you send `gf2x`'s `config.log`?

 This happens when you are using a linker without LTO support.

 Isuru

 On Wed, Nov 4, 2020 at 1:53 PM phiparis19  wrote:

>
> Thank you for helping me.
>
> I followed the instructions at the end of ./configure output  (brew
> install ...)
>
> I get ld: warning: ignoring file ./.libs/libtuneup-s1.a, building for
> macOS-x86_64 but attempting to link with file built for 
> unknown-unsupported
> file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20
> 0x20 0x20 0x20 0x20 )
>
> Error installing package gf2x-1.3.0
>
> I have also tried to compile sage-9.2 on another partition of my mac :
> il fails after 4h of compilation for the same reason for one of the last
> packages.
> Le mercredi 4 novembre 2020 à 18:18:41 UTC+1, John H Palmieri a écrit :
>
>>
>>
>> On Tuesday, November 3, 2020 at 11:30:54 PM UTC-8, Dima Pasechnik
>> wrote:
>>>
>>> As far as building from source is concerned, I'd recommend using
>>> Homebrew, instead of trying
>>> to build most packages from scratch (as it is the case if you don't
>>> use it).
>>> Please pay attention that you need to run
>>>
>>> source .homebrew-build-env
>>>
>>>
>>> and to the list of packages you'd install printed out by ./configure
>>> (at the end of its run)
>>>
>>
>> And after installing new system packages, it's a good idea to run
>> 'make distclean' and then rerun './configure' (with whatever options you
>> want to pass to it).
>>
>>
>>>
>>> On Wed, Nov 4, 2020 at 6:18 AM phiparis19 
>>> wrote:
>>> >
>>> > Hello,
>>> >
>>> > After upgrading from SageMath-9.1 to SageMath-9.2,
>>> >
>>> > ./sage -n jupyter fails
>>> >
>>> > ModuleNotFoundError: No module named '_ssl'
>>> >
>>> > The Jupyter notebook requires ssl, even if you do not use https.
>>> Install the openssl development packages in your system and then rebuild
>>> Python (sage -f python3).
>>> >
>>> > Unfortunately,  openssl installation has failed :
>>> >
>>> > [openssl-1.1.1g] Undefined symbols for architecture x86_64:
>>> >
>>> > 
>>> >
>>> > [openssl-1.1.1g] ld: symbol(s) not found for architecture x86_64
>>> >
>>> > [openssl-1.1.1g] clang: error: linker command failed with exit
>>> code 1 (use -v to see invocation)
>>> >
>>> > Same issue when recompiling sage from sage-9.2.tar.gz
>>> >
>>> > ./configure --enable-openssl=yes
>>> >
>>> > make
>>> >
>>> > [patch-2.7.5] ld: symbol(s) not found for architecture x86_64
>>> >
>>> >
>>> > I have macports and hombres installed
>>> >
>>> > So I dit
>>> >
>>> >  sudo mv /opt/local /opt/local_old
>>> >
>>> > sudo mv /usr/local/Homebrew /usr/local/Homebrew_old
>>>
>>> Unless you use a non-standard installaI don't think you achieve much
>>> by the latter, as Homebrew installs several packages directly into
>>> /usr/local (i.e. /usr/local/bin, etc), so this is more or less just
>>> breaks Homebrew, but is very far from uninstalling it.
>>>
>>>
>>> >
>>> > before typing make for sage
>>> >
>>> > See file enclose for configure output
>>> >
>>> > Thank you for helping
>>> >
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> Groups "sage-support" group.
>>>
>> > To unsubscribe from this group and stop

Re: [sage-support] SageMath-9.2 does not start with Jupyter on macOS 10.15.7

2020-11-04 Thread phiparis19


/usr/bin/gcc

/usr/bin/g++

/usr/local/bin/ar

/usr/local/bin/ranlib

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld

/Applications/sage-9.2/local/var/tmp/sage/build/gf2x-1.3.0/.libs/libtuneup-s1.a:
 
cannot open 
`/Applications/sage-9.2/local/var/tmp/sage/build/gf2x-1.3.0/.libs/libtuneup-s1.a'
 
(No such file or directory)

Philippe

Le mercredi 4 novembre 2020 à 21:45:52 UTC+1, isu...@gmail.com a écrit :

> What do you get for each of the commands?
>
> which gcc
> which g++
> which ar
> which ranlib
> gcc -print-prog-name=ld
> file 
> /Applications/sage-9.2/local/var/tmp/sage/build/gf2x-1.3.0/.libs/libtuneup-s1.a
>
> Isuru
>
> On Wed, Nov 4, 2020 at 2:30 PM phiparis19  wrote:
>
>> Here is the file
>> Thank you
>>
>> Le mercredi 4 novembre 2020 à 21:04:09 UTC+1, isu...@gmail.com a écrit :
>>
>>> > I get ld: warning: ignoring file ./.libs/libtuneup-s1.a, building for 
>>> macOS-x86_64 but attempting to link with file built for unknown-unsupported 
>>> file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 
>>> 0x20 0x20 0x20 0x20 )
>>>
>>> Can you send `gf2x`'s `config.log`?
>>>
>>> This happens when you are using a linker without LTO support.
>>>
>>> Isuru
>>>
>>> On Wed, Nov 4, 2020 at 1:53 PM phiparis19  wrote:
>>>

 Thank you for helping me.

 I followed the instructions at the end of ./configure output  (brew 
 install ...)

 I get ld: warning: ignoring file ./.libs/libtuneup-s1.a, building for 
 macOS-x86_64 but attempting to link with file built for 
 unknown-unsupported 
 file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 
 0x20 0x20 0x20 0x20 )

 Error installing package gf2x-1.3.0

 I have also tried to compile sage-9.2 on another partition of my mac : 
 il fails after 4h of compilation for the same reason for one of the last 
 packages.
 Le mercredi 4 novembre 2020 à 18:18:41 UTC+1, John H Palmieri a écrit :

>
>
> On Tuesday, November 3, 2020 at 11:30:54 PM UTC-8, Dima Pasechnik 
> wrote:
>>
>> As far as building from source is concerned, I'd recommend using 
>> Homebrew, instead of trying 
>> to build most packages from scratch (as it is the case if you don't 
>> use it). 
>> Please pay attention that you need to run 
>>
>> source .homebrew-build-env 
>>
>>
>> and to the list of packages you'd install printed out by ./configure 
>> (at the end of its run) 
>>
>
> And after installing new system packages, it's a good idea to run 
> 'make distclean' and then rerun './configure' (with whatever options you 
> want to pass to it).
>  
>
>>
>> On Wed, Nov 4, 2020 at 6:18 AM phiparis19  wrote: 
>> > 
>> > Hello, 
>> > 
>> > After upgrading from SageMath-9.1 to SageMath-9.2, 
>> > 
>> > ./sage -n jupyter fails 
>> > 
>> > ModuleNotFoundError: No module named '_ssl' 
>> > 
>> > The Jupyter notebook requires ssl, even if you do not use https. 
>> Install the openssl development packages in your system and then rebuild 
>> Python (sage -f python3). 
>> > 
>> > Unfortunately,  openssl installation has failed : 
>> > 
>> > [openssl-1.1.1g] Undefined symbols for architecture x86_64: 
>> > 
>> >  
>> > 
>> > [openssl-1.1.1g] ld: symbol(s) not found for architecture x86_64 
>> > 
>> > [openssl-1.1.1g] clang: error: linker command failed with exit code 
>> 1 (use -v to see invocation) 
>> > 
>> > Same issue when recompiling sage from sage-9.2.tar.gz 
>> > 
>> > ./configure --enable-openssl=yes 
>> > 
>> > make 
>> > 
>> > [patch-2.7.5] ld: symbol(s) not found for architecture x86_64 
>> > 
>> > 
>> > I have macports and hombres installed 
>> > 
>> > So I dit 
>> > 
>> >  sudo mv /opt/local /opt/local_old 
>> > 
>> > sudo mv /usr/local/Homebrew /usr/local/Homebrew_old 
>>
>> Unless you use a non-standard installaI don't think you achieve much 
>> by the latter, as Homebrew installs several packages directly into 
>> /usr/local (i.e. /usr/local/bin, etc), so this is more or less just 
>> breaks Homebrew, but is very far from uninstalling it. 
>>
>>
>> > 
>> > before typing make for sage 
>> > 
>> > See file enclose for configure output 
>> > 
>> > Thank you for helping 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups "sage-support" group. 
>>
> > To unsubscribe from this group and stop receiving emails from it, 
>> send an email to sage-s...@googlegroups.com. 
>>
> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-support/d13b96e9-92ec-4128-b219-92384d3e3110n%40googlegroups.com.
>>  
>>
>>
> -- 
 Yo

Re: [sage-support] SageMath-9.2 does not start with Jupyter on macOS 10.15.7

2020-11-04 Thread Isuru Fernando
What do you get for each of the commands?

which gcc
which g++
which ar
which ranlib
gcc -print-prog-name=ld
file
/Applications/sage-9.2/local/var/tmp/sage/build/gf2x-1.3.0/.libs/libtuneup-s1.a

Isuru

On Wed, Nov 4, 2020 at 2:30 PM phiparis19  wrote:

> Here is the file
> Thank you
>
> Le mercredi 4 novembre 2020 à 21:04:09 UTC+1, isu...@gmail.com a écrit :
>
>> > I get ld: warning: ignoring file ./.libs/libtuneup-s1.a, building for
>> macOS-x86_64 but attempting to link with file built for unknown-unsupported
>> file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20
>> 0x20 0x20 0x20 0x20 )
>>
>> Can you send `gf2x`'s `config.log`?
>>
>> This happens when you are using a linker without LTO support.
>>
>> Isuru
>>
>> On Wed, Nov 4, 2020 at 1:53 PM phiparis19  wrote:
>>
>>>
>>> Thank you for helping me.
>>>
>>> I followed the instructions at the end of ./configure output  (brew
>>> install ...)
>>>
>>> I get ld: warning: ignoring file ./.libs/libtuneup-s1.a, building for
>>> macOS-x86_64 but attempting to link with file built for unknown-unsupported
>>> file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20
>>> 0x20 0x20 0x20 0x20 )
>>>
>>> Error installing package gf2x-1.3.0
>>>
>>> I have also tried to compile sage-9.2 on another partition of my mac :
>>> il fails after 4h of compilation for the same reason for one of the last
>>> packages.
>>> Le mercredi 4 novembre 2020 à 18:18:41 UTC+1, John H Palmieri a écrit :
>>>


 On Tuesday, November 3, 2020 at 11:30:54 PM UTC-8, Dima Pasechnik wrote:
>
> As far as building from source is concerned, I'd recommend using
> Homebrew, instead of trying
> to build most packages from scratch (as it is the case if you don't
> use it).
> Please pay attention that you need to run
>
> source .homebrew-build-env
>
>
> and to the list of packages you'd install printed out by ./configure
> (at the end of its run)
>

 And after installing new system packages, it's a good idea to run 'make
 distclean' and then rerun './configure' (with whatever options you want to
 pass to it).


>
> On Wed, Nov 4, 2020 at 6:18 AM phiparis19  wrote:
> >
> > Hello,
> >
> > After upgrading from SageMath-9.1 to SageMath-9.2,
> >
> > ./sage -n jupyter fails
> >
> > ModuleNotFoundError: No module named '_ssl'
> >
> > The Jupyter notebook requires ssl, even if you do not use https.
> Install the openssl development packages in your system and then rebuild
> Python (sage -f python3).
> >
> > Unfortunately,  openssl installation has failed :
> >
> > [openssl-1.1.1g] Undefined symbols for architecture x86_64:
> >
> > 
> >
> > [openssl-1.1.1g] ld: symbol(s) not found for architecture x86_64
> >
> > [openssl-1.1.1g] clang: error: linker command failed with exit code
> 1 (use -v to see invocation)
> >
> > Same issue when recompiling sage from sage-9.2.tar.gz
> >
> > ./configure --enable-openssl=yes
> >
> > make
> >
> > [patch-2.7.5] ld: symbol(s) not found for architecture x86_64
> >
> >
> > I have macports and hombres installed
> >
> > So I dit
> >
> >  sudo mv /opt/local /opt/local_old
> >
> > sudo mv /usr/local/Homebrew /usr/local/Homebrew_old
>
> Unless you use a non-standard installaI don't think you achieve much
> by the latter, as Homebrew installs several packages directly into
> /usr/local (i.e. /usr/local/bin, etc), so this is more or less just
> breaks Homebrew, but is very far from uninstalling it.
>
>
> >
> > before typing make for sage
> >
> > See file enclose for configure output
> >
> > Thank you for helping
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "sage-support" group.
>
 > To unsubscribe from this group and stop receiving emails from it,
> send an email to sage-s...@googlegroups.com.
>
 > To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/d13b96e9-92ec-4128-b219-92384d3e3110n%40googlegroups.com.
>
>
 --
>>> You received this message because you are subscribed to the Google
>>> Groups "sage-support" group.
>>>
>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to sage-support...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/sage-support/6c90038f-0d0c-4935-bb3e-20170e82dcdbn%40googlegroups.com
>>> 
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, se

Re: [sage-support] SageMath-9.2 does not start with Jupyter on macOS 10.15.7

2020-11-04 Thread phiparis19
Here is the file
Thank you

Le mercredi 4 novembre 2020 à 21:04:09 UTC+1, isu...@gmail.com a écrit :

> > I get ld: warning: ignoring file ./.libs/libtuneup-s1.a, building for 
> macOS-x86_64 but attempting to link with file built for unknown-unsupported 
> file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 
> 0x20 0x20 0x20 0x20 )
>
> Can you send `gf2x`'s `config.log`?
>
> This happens when you are using a linker without LTO support.
>
> Isuru
>
> On Wed, Nov 4, 2020 at 1:53 PM phiparis19  wrote:
>
>>
>> Thank you for helping me.
>>
>> I followed the instructions at the end of ./configure output  (brew 
>> install ...)
>>
>> I get ld: warning: ignoring file ./.libs/libtuneup-s1.a, building for 
>> macOS-x86_64 but attempting to link with file built for unknown-unsupported 
>> file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 
>> 0x20 0x20 0x20 0x20 )
>>
>> Error installing package gf2x-1.3.0
>>
>> I have also tried to compile sage-9.2 on another partition of my mac : il 
>> fails after 4h of compilation for the same reason for one of the last 
>> packages.
>> Le mercredi 4 novembre 2020 à 18:18:41 UTC+1, John H Palmieri a écrit :
>>
>>>
>>>
>>> On Tuesday, November 3, 2020 at 11:30:54 PM UTC-8, Dima Pasechnik wrote:

 As far as building from source is concerned, I'd recommend using 
 Homebrew, instead of trying 
 to build most packages from scratch (as it is the case if you don't use 
 it). 
 Please pay attention that you need to run 

 source .homebrew-build-env 


 and to the list of packages you'd install printed out by ./configure 
 (at the end of its run) 

>>>
>>> And after installing new system packages, it's a good idea to run 'make 
>>> distclean' and then rerun './configure' (with whatever options you want to 
>>> pass to it).
>>>  
>>>

 On Wed, Nov 4, 2020 at 6:18 AM phiparis19  wrote: 
 > 
 > Hello, 
 > 
 > After upgrading from SageMath-9.1 to SageMath-9.2, 
 > 
 > ./sage -n jupyter fails 
 > 
 > ModuleNotFoundError: No module named '_ssl' 
 > 
 > The Jupyter notebook requires ssl, even if you do not use https. 
 Install the openssl development packages in your system and then rebuild 
 Python (sage -f python3). 
 > 
 > Unfortunately,  openssl installation has failed : 
 > 
 > [openssl-1.1.1g] Undefined symbols for architecture x86_64: 
 > 
 >  
 > 
 > [openssl-1.1.1g] ld: symbol(s) not found for architecture x86_64 
 > 
 > [openssl-1.1.1g] clang: error: linker command failed with exit code 1 
 (use -v to see invocation) 
 > 
 > Same issue when recompiling sage from sage-9.2.tar.gz 
 > 
 > ./configure --enable-openssl=yes 
 > 
 > make 
 > 
 > [patch-2.7.5] ld: symbol(s) not found for architecture x86_64 
 > 
 > 
 > I have macports and hombres installed 
 > 
 > So I dit 
 > 
 >  sudo mv /opt/local /opt/local_old 
 > 
 > sudo mv /usr/local/Homebrew /usr/local/Homebrew_old 

 Unless you use a non-standard installaI don't think you achieve much 
 by the latter, as Homebrew installs several packages directly into 
 /usr/local (i.e. /usr/local/bin, etc), so this is more or less just 
 breaks Homebrew, but is very far from uninstalling it. 


 > 
 > before typing make for sage 
 > 
 > See file enclose for configure output 
 > 
 > Thank you for helping 
 > 
 > -- 
 > You received this message because you are subscribed to the Google 
 Groups "sage-support" group. 

>>> > To unsubscribe from this group and stop receiving emails from it, send 
 an email to sage-s...@googlegroups.com. 

>>> > To view this discussion on the web visit 
 https://groups.google.com/d/msgid/sage-support/d13b96e9-92ec-4128-b219-92384d3e3110n%40googlegroups.com.
  


>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "sage-support" group.
>>
> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to sage-support...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-support/6c90038f-0d0c-4935-bb3e-20170e82dcdbn%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/2299fdbd-5da9-4b0c-b1f0-bf8a3f48c796n%40googlegroups.com.
Found local metadata for gf2x-1.3.0
Using cached file /Applications/sage-9.2/upstream/gf2x-1.3.

Re: [sage-support] SageMath-9.2 does not start with Jupyter on macOS 10.15.7

2020-11-04 Thread Isuru Fernando
> I get ld: warning: ignoring file ./.libs/libtuneup-s1.a, building for
macOS-x86_64 but attempting to link with file built for unknown-unsupported
file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20
0x20 0x20 0x20 0x20 )

Can you send `gf2x`'s `config.log`?

This happens when you are using a linker without LTO support.

Isuru

On Wed, Nov 4, 2020 at 1:53 PM phiparis19  wrote:

>
> Thank you for helping me.
>
> I followed the instructions at the end of ./configure output  (brew
> install ...)
>
> I get ld: warning: ignoring file ./.libs/libtuneup-s1.a, building for
> macOS-x86_64 but attempting to link with file built for unknown-unsupported
> file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20
> 0x20 0x20 0x20 0x20 )
>
> Error installing package gf2x-1.3.0
>
> I have also tried to compile sage-9.2 on another partition of my mac : il
> fails after 4h of compilation for the same reason for one of the last
> packages.
> Le mercredi 4 novembre 2020 à 18:18:41 UTC+1, John H Palmieri a écrit :
>
>>
>>
>> On Tuesday, November 3, 2020 at 11:30:54 PM UTC-8, Dima Pasechnik wrote:
>>>
>>> As far as building from source is concerned, I'd recommend using
>>> Homebrew, instead of trying
>>> to build most packages from scratch (as it is the case if you don't use
>>> it).
>>> Please pay attention that you need to run
>>>
>>> source .homebrew-build-env
>>>
>>>
>>> and to the list of packages you'd install printed out by ./configure
>>> (at the end of its run)
>>>
>>
>> And after installing new system packages, it's a good idea to run 'make
>> distclean' and then rerun './configure' (with whatever options you want to
>> pass to it).
>>
>>
>>>
>>> On Wed, Nov 4, 2020 at 6:18 AM phiparis19  wrote:
>>> >
>>> > Hello,
>>> >
>>> > After upgrading from SageMath-9.1 to SageMath-9.2,
>>> >
>>> > ./sage -n jupyter fails
>>> >
>>> > ModuleNotFoundError: No module named '_ssl'
>>> >
>>> > The Jupyter notebook requires ssl, even if you do not use https.
>>> Install the openssl development packages in your system and then rebuild
>>> Python (sage -f python3).
>>> >
>>> > Unfortunately,  openssl installation has failed :
>>> >
>>> > [openssl-1.1.1g] Undefined symbols for architecture x86_64:
>>> >
>>> > 
>>> >
>>> > [openssl-1.1.1g] ld: symbol(s) not found for architecture x86_64
>>> >
>>> > [openssl-1.1.1g] clang: error: linker command failed with exit code 1
>>> (use -v to see invocation)
>>> >
>>> > Same issue when recompiling sage from sage-9.2.tar.gz
>>> >
>>> > ./configure --enable-openssl=yes
>>> >
>>> > make
>>> >
>>> > [patch-2.7.5] ld: symbol(s) not found for architecture x86_64
>>> >
>>> >
>>> > I have macports and hombres installed
>>> >
>>> > So I dit
>>> >
>>> >  sudo mv /opt/local /opt/local_old
>>> >
>>> > sudo mv /usr/local/Homebrew /usr/local/Homebrew_old
>>>
>>> Unless you use a non-standard installaI don't think you achieve much
>>> by the latter, as Homebrew installs several packages directly into
>>> /usr/local (i.e. /usr/local/bin, etc), so this is more or less just
>>> breaks Homebrew, but is very far from uninstalling it.
>>>
>>>
>>> >
>>> > before typing make for sage
>>> >
>>> > See file enclose for configure output
>>> >
>>> > Thank you for helping
>>> >
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> Groups "sage-support" group.
>>>
>> > To unsubscribe from this group and stop receiving emails from it, send
>>> an email to sage-s...@googlegroups.com.
>>>
>> > To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/sage-support/d13b96e9-92ec-4128-b219-92384d3e3110n%40googlegroups.com.
>>>
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/6c90038f-0d0c-4935-bb3e-20170e82dcdbn%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CA%2B01voMzLW%3DiSmrSNuHptzRgHkysnRXxHy_1EKyDv-4J8pXmfw%40mail.gmail.com.


Re: [sage-support] SageMath-9.2 does not start with Jupyter on macOS 10.15.7

2020-11-04 Thread phiparis19


Thank you for helping me.

I followed the instructions at the end of ./configure output  (brew install 
...)

I get ld: warning: ignoring file ./.libs/libtuneup-s1.a, building for 
macOS-x86_64 but attempting to link with file built for unknown-unsupported 
file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 
0x20 0x20 0x20 0x20 )

Error installing package gf2x-1.3.0

I have also tried to compile sage-9.2 on another partition of my mac : il 
fails after 4h of compilation for the same reason for one of the last 
packages.
Le mercredi 4 novembre 2020 à 18:18:41 UTC+1, John H Palmieri a écrit :

>
>
> On Tuesday, November 3, 2020 at 11:30:54 PM UTC-8, Dima Pasechnik wrote:
>>
>> As far as building from source is concerned, I'd recommend using 
>> Homebrew, instead of trying 
>> to build most packages from scratch (as it is the case if you don't use 
>> it). 
>> Please pay attention that you need to run 
>>
>> source .homebrew-build-env 
>>
>>
>> and to the list of packages you'd install printed out by ./configure 
>> (at the end of its run) 
>>
>
> And after installing new system packages, it's a good idea to run 'make 
> distclean' and then rerun './configure' (with whatever options you want to 
> pass to it).
>  
>
>>
>> On Wed, Nov 4, 2020 at 6:18 AM phiparis19  wrote: 
>> > 
>> > Hello, 
>> > 
>> > After upgrading from SageMath-9.1 to SageMath-9.2, 
>> > 
>> > ./sage -n jupyter fails 
>> > 
>> > ModuleNotFoundError: No module named '_ssl' 
>> > 
>> > The Jupyter notebook requires ssl, even if you do not use https. 
>> Install the openssl development packages in your system and then rebuild 
>> Python (sage -f python3). 
>> > 
>> > Unfortunately,  openssl installation has failed : 
>> > 
>> > [openssl-1.1.1g] Undefined symbols for architecture x86_64: 
>> > 
>> >  
>> > 
>> > [openssl-1.1.1g] ld: symbol(s) not found for architecture x86_64 
>> > 
>> > [openssl-1.1.1g] clang: error: linker command failed with exit code 1 
>> (use -v to see invocation) 
>> > 
>> > Same issue when recompiling sage from sage-9.2.tar.gz 
>> > 
>> > ./configure --enable-openssl=yes 
>> > 
>> > make 
>> > 
>> > [patch-2.7.5] ld: symbol(s) not found for architecture x86_64 
>> > 
>> > 
>> > I have macports and hombres installed 
>> > 
>> > So I dit 
>> > 
>> >  sudo mv /opt/local /opt/local_old 
>> > 
>> > sudo mv /usr/local/Homebrew /usr/local/Homebrew_old 
>>
>> Unless you use a non-standard installaI don't think you achieve much 
>> by the latter, as Homebrew installs several packages directly into 
>> /usr/local (i.e. /usr/local/bin, etc), so this is more or less just 
>> breaks Homebrew, but is very far from uninstalling it. 
>>
>>
>> > 
>> > before typing make for sage 
>> > 
>> > See file enclose for configure output 
>> > 
>> > Thank you for helping 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups "sage-support" group. 
>>
> > To unsubscribe from this group and stop receiving emails from it, send 
>> an email to sage-s...@googlegroups.com. 
>>
> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-support/d13b96e9-92ec-4128-b219-92384d3e3110n%40googlegroups.com.
>>  
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/6c90038f-0d0c-4935-bb3e-20170e82dcdbn%40googlegroups.com.


Re: [sage-support] SageMath-9.2 does not start with Jupyter on macOS 10.15.7

2020-11-04 Thread John H Palmieri


On Tuesday, November 3, 2020 at 11:30:54 PM UTC-8, Dima Pasechnik wrote:
>
> As far as building from source is concerned, I'd recommend using 
> Homebrew, instead of trying 
> to build most packages from scratch (as it is the case if you don't use 
> it). 
> Please pay attention that you need to run 
>
> source .homebrew-build-env 
>
>
> and to the list of packages you'd install printed out by ./configure 
> (at the end of its run) 
>

And after installing new system packages, it's a good idea to run 'make 
distclean' and then rerun './configure' (with whatever options you want to 
pass to it).
 

>
> On Wed, Nov 4, 2020 at 6:18 AM phiparis19 > 
> wrote: 
> > 
> > Hello, 
> > 
> > After upgrading from SageMath-9.1 to SageMath-9.2, 
> > 
> > ./sage -n jupyter fails 
> > 
> > ModuleNotFoundError: No module named '_ssl' 
> > 
> > The Jupyter notebook requires ssl, even if you do not use https. Install 
> the openssl development packages in your system and then rebuild Python 
> (sage -f python3). 
> > 
> > Unfortunately,  openssl installation has failed : 
> > 
> > [openssl-1.1.1g] Undefined symbols for architecture x86_64: 
> > 
> >  
> > 
> > [openssl-1.1.1g] ld: symbol(s) not found for architecture x86_64 
> > 
> > [openssl-1.1.1g] clang: error: linker command failed with exit code 1 
> (use -v to see invocation) 
> > 
> > Same issue when recompiling sage from sage-9.2.tar.gz 
> > 
> > ./configure --enable-openssl=yes 
> > 
> > make 
> > 
> > [patch-2.7.5] ld: symbol(s) not found for architecture x86_64 
> > 
> > 
> > I have macports and hombres installed 
> > 
> > So I dit 
> > 
> >  sudo mv /opt/local /opt/local_old 
> > 
> > sudo mv /usr/local/Homebrew /usr/local/Homebrew_old 
>
> Unless you use a non-standard installaI don't think you achieve much 
> by the latter, as Homebrew installs several packages directly into 
> /usr/local (i.e. /usr/local/bin, etc), so this is more or less just 
> breaks Homebrew, but is very far from uninstalling it. 
>
>
> > 
> > before typing make for sage 
> > 
> > See file enclose for configure output 
> > 
> > Thank you for helping 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "sage-support" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to sage-s...@googlegroups.com . 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/d13b96e9-92ec-4128-b219-92384d3e3110n%40googlegroups.com.
>  
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/08d1fcf0-45de-4d61-9101-21da54768c29o%40googlegroups.com.