I'm pretty sure I got the path outputed by the last compile right - 
unfortunately,

(sage-sh) sbh@sbh-MacBookPro:src$ readelf -d 
/home/sbh/SW/Sage6.1.1/sage-6.1.1/src/build/lib.linux-x86_64-2.7/sage/rings/complex_double.so
 


Dynamic section at offset 0x2bc68 contains 28 entries:
  Tag        Type                         Name/Value
 0x0000000000000003 (PLTGOT)             0x2cfe8
 0x0000000000000002 (PLTRELSZ)           3360 (bytes)
 0x0000000000000017 (JMPREL)             0x66b8
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000007 (RELA)               0x2728
 0x0000000000000008 (RELASZ)             16272 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffff9 (RELACOUNT)          632
 0x0000000000000006 (SYMTAB)             0x228
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000005 (STRTAB)             0x1428
 0x000000000000000a (STRSZ)              4181 (bytes)
 0x000000006ffffef5 (GNU_HASH)           0x2480
 0x0000000000000001 (NEEDED)             Shared library: [libcsage.so]
 0x0000000000000001 (NEEDED)             Shared library: [libgsl.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libpari-gmp.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: 
[libpython2.7.so.1.0]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000c (INIT)               0x73d8
 0x000000000000000d (FINI)               0x26978
 0x000000006ffffff0 (VERSYM)             0x2538
 0x000000006ffffffc (VERDEF)             0x26b8
 0x000000006ffffffd (VERDEFNUM)          1
 0x000000006ffffffe (VERNEED)            0x26d4
 0x000000006fffffff (VERNEEDNUM)         2
 0x0000000000000000 (NULL)               0x0

(sage-sh) sbh@sbh-MacBookPro:src$ ldd -r 
/home/sbh/SW/Sage6.1.1/sage-6.1.1/src/build/lib.linux-x86_64-2.7/sage/rings/complex_double.so
 

    linux-vdso.so.1 =>  (0x00007fff1115f000)
    libcsage.so => /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libcsage.so 
(0x00007f72787c9000)
    libgsl.so.0 => /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0 
(0x00007f727859f000)
    libpari-gmp.so.3 => 
/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libpari-gmp.so.3 
(0x00007f7278113000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7277e01000)
    libpython2.7.so.1.0 => 
/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libpython2.7.so.1.0 
(0x00007f7277c21000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x00007f7277a03000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7277643000)
    libntl.so.0 => /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libntl.so.0 
(0x00007f7277469000)
    libgmp.so.11 => 
/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgmp.so.11 
(0x00007f72773f7000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
(0x00007f72770f7000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x00007f7276ee1000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f7276cdc000)
    libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f7276ad9000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f727881e000)
    libgf2x.so.1 => 
/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgf2x.so.1 
(0x00007f7276ac0000)
undefined symbol: cblas_sdsdot    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dsdot    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_sdot    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_ddot    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_cdotu_sub    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_cdotc_sub    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_zdotu_sub    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_zdotc_sub    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_sswap    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dswap    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_cswap    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_zswap    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_scopy    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dcopy    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_ccopy    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_zcopy    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_saxpy    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_daxpy    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_caxpy    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_zaxpy    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_srotg    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_drotg    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_srot    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_drot    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_srotmg    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_drotmg    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_srotm    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_drotm    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_cscal    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_zscal    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_sgemv    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dgemv    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_cgemv    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_zgemv    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_chemv    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_zhemv    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_ssymv    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dsymv    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_strmv    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dtrmv    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_ctrmv    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_ztrmv    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_strsv    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dtrsv    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_ctrsv    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_ztrsv    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_sger    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dger    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_cgeru    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_zgeru    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_cgerc    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_zgerc    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_cher    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_zher    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_cher2    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_zher2    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_ssyr    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dsyr    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_ssyr2    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dsyr2    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_sgemm    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dgemm    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_cgemm    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_zgemm    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_ssymm    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dsymm    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_csymm    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_zsymm    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_chemm    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_zhemm    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_ssyrk    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dsyrk    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_csyrk    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_zsyrk    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_cherk    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_zherk    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_ssyr2k    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dsyr2k    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_csyr2k    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_zsyr2k    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_cher2k    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_zher2k    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_strmm    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dtrmm    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_ctrmm    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_ztrmm    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_strsm    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dtrsm    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_ctrsm    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_ztrsm    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_snrm2    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dnrm2    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_scnrm2    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dznrm2    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_sasum    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dasum    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_scasum    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dzasum    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_isamax    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_idamax    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_icamax    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_izamax    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_sscal    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_dscal    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_csscal    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)
undefined symbol: cblas_zdscal    
(/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0)


On Thursday, February 6, 2014 7:38:34 PM UTC-7, François wrote:
>
> yes do both. 
>
> On Thu, 06 Feb 2014 18:36:58 sho...@ualberta.ca <javascript:> wrote: 
> > Hmmm it must have worked - no complaints, just another line. Run ldd or 
> > readelf on it? (complex_double.so) 
> > 
> > On Thursday, February 6, 2014 7:24:06 PM UTC-7, François wrote: 
> > > On Thu, 06 Feb 2014 18:13:37 sho...@ualberta.ca <javascript:> wrote: 
> > > > Hi, the only thing I built before this, as a prerequisite, was ppl 
> > > 
> > > (parma 
> > > 
> > > > polyhedra.... from bugseng) and which I included in the ld.so... 
> path, 
> > > 
> > > etc. 
> > > 
> > > > However, I am doing absolutely nothing special to build sage: untar 
> the 
> > > > source, make.  That's it. (I wish I knew more about what was going 
> on) 
> > > > 
> > > > Here is the output from ldd: 
> > > > 
> > > > (sage-sh) sbh@sbh-MacBookPro:sage-6.1.1$ ldd -r 
> local/lib/libcblas.so 
> > > > 
> > > >     linux-vdso.so.1 =>  (0x00007fffdc325000) 
> > > >     libatlas.so.3 => 
> > > > 
> > > > /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libatlas.so.3 
> > > > (0x00007f7dc1029000) 
> > > > 
> > > >     libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 
> (0x00007f7dc0c53000) 
> > > >     libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
> > > > 
> > > > (0x00007f7dc0a35000) 
> > > > 
> > > >     libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 
> (0x00007f7dc0739000) 
> > > >     /lib64/ld-linux-x86-64.so.2 (0x00007f7dc148b000) 
> > > > 
> > > > Thanks, 
> > > > Brett 
> > > > 
> > > > On Thursday, February 6, 2014 7:08:48 PM UTC-7, François wrote: 
> > > > > I have no idea why you don't even have libcblas in the readelf 
> output. 
> > > > > Are you trying to use your distro atlas or building Sage's own? 
> > > > > Is local/lib/libcblas.so broken (ldd -r output)? 
> > > 
> > > Let's try something from a sage shell in src does 
> > > gcc -pthread -shared -L/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib 
> > > build/temp.linux-x86_64-2.7/sage/rings/complex_double.o - 
> > > L/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib - 
> > > L/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib -lcsage -lgsl -lcblas 
> -latlas 
> > > - 
> > > lpari -lgmp -lm -lstdc++ -lntl -lpython2.7 -o build/lib.linux- 
> > > x86_64-2.7/sage/rings/complex_double.so -Wl,--no-as-needed 
> > > -Wl,--no-undefined 
> > > 
> > > work and spit out anything? 
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to