Thanks for looking at this.  See below:

> On Mar 31, 2021, at 17:33 , Matthias Köppe <[email protected]> wrote:
> 
> On Wednesday, March 31, 2021 at 2:53:22 PM UTC-7 [email protected] wrote:
> 
>> with rc0 and rc1, I have a real problem on all three macOS systems of mine 
>> (10.13.6, 10.14.6 and 10.15.7): the build proceeds a while, and then blows 
>> up on pynac. The log for this build, and the config.log, are attached (and I 
>> do not use any package managers). 
>> 
>> One possibly odd thing is this line near the end of the pynac log: 
>> ld: can't map file, errno=22 file '/Users/Sage/sage-9.3.rc1/local/lib' for 
>> architecture x86_64
> From pynac.log:
> 
> /bin/bash ../libtool  --tag=CXX   --mode=link g++ -std=gnu++11 -std=c++11  
> -O2 -g -O2 -g -march=native -version-info 21:5:3 
> -L/Users/Sage/sage-9.3.rc0/local/lib 
> -Wl,-rpath,/Users/Sage/sage-9.3.rc0/local/lib  -o libpynac.la -rpath 
> /Users/Sage/sage-9.3.rc0/local/lib libpynac_la-add.lo [...] 
> libpynac_la-useries.lo -bundle -undefined dynamic_lookup 
> -L/Users/Sage/sage-9.3.rc0/local/lib 
> -Wl,-rpath,/Users/Sage/sage-9.3.rc0/local/lib -L. 
> -L/Users/Sage/sage-9.3.rc0/local/lib 
> -Wl,-rpath,/Users/Sage/sage-9.3.rc0/local/lib 
> -L/Users/Sage/sage-9.3.rc0/local/lib 
> -Wl,-rpath,/Users/Sage/sage-9.3.rc0/local/lib -O2 -g -march=native -lflint 
> -lgmp  -lfactory -Wl,/Users/Sage/sage-9.3.rc0/local/lib -lflint -lmpfr -lntl 
> -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -lgmp -lomalloc 
> -L/Users/Sage/sage-9.3.rc0/local/lib -lsingular_resources    -lflint -lgmp 
> 
> Note the "-Wl,-rpath -Wl,/usr/local/lib" - which gets reordered by libtool in 
> the next line to something that causes the error.
> Correct would be "-Wl,-rpath,/usr/local/lib". It would be worth checking 
> whether this is coming in from some environment variables that you may have 
> set.

Here is the environment in my normal shell:

$ env|grep lib
$

so nothing that mentions ‘lib’.  I ran this in SAGE_ROOT for 9.3-rc1

Then, following the instructions near the end of the pynac log, I did the same:

(sage-buildsh) justin@Kronecker:pynac-0.7.27.p1$ env|grep lib
LDFLAGS=-L/Users/Sage/sage-9.3.rc1/local/lib 
-Wl,-rpath,/Users/Sage/sage-9.3.rc1/local/lib 
R_MAKEVARS_SITE=/Users/Sage/sage-9.3.rc1/local/lib/R/share/Makevars.site
ECLDIR=/Users/Sage/sage-9.3.rc1/local/lib/ecl/
LIBRARY_PATH=/Users/Sage/sage-9.3.rc1/local/lib
PERL5LIB=/Users/Sage/sage-9.3.rc1/local/lib/perl5:
MPLCONFIGDIR=/Users/justin/.sage//matplotlib-1.5.1
SAGE_SPKG_INST=/Users/Sage/sage-9.3.rc1/local/var/lib/sage/installed
RANLIB=ranlib
SAGE_PARI_CFG=/Users/Sage/sage-9.3.rc1/local/lib/pari/pari.cfg
(sage-buildsh) justin@Kronecker:pynac-0.7.27.p1$ 

Doesn’t seem like “/usr/local/lib” is mentioned.  Does ‘env’ catch all 
environment variables?

Justin

--
Justin C. Walker
Director
Institute for the Enhancement of the Director's Income
--
Fame is fleeting, but obscurity
   just drags on and on.      F&E



-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/E5A1FD63-D709-44C6-8812-3E017C8E2286%40mac.com.

Reply via email to