Error installing package conway_polynomials-0.5.p0 on Ubuntu 12.04 - Sage 6.1.1

501 views
Skip to first unread message

sho...@ualberta.ca

unread,
Feb 5, 2014, 6:40:10 PM2/5/14
to sage-...@googlegroups.com
Hello, after installing all prerequisites and updating, I downloaded the latest Sage source code, sage-6.1.1.tar.gz. After unpacking all I did was type

export SAGE64=yes

and then I just typed

make.

My laptop is a MacBook Pro (4,1) running Ubuntu 12.04LTS, 3.8GiB, Intel Core 2 Duo CPU T8300 @ 2.4GHz x 2 with 300 GB free.

Copy and pasted below is the relevant spkg log file.

I would like to be able to finalize install of Sage.

Thank you!

**********************************************************

Found local metadata for conway_polynomials-0.4.p0
Found local sources at /home/sbh/SW/Sage6.1.1/sage-6.1.1/upstream/conway_polynomials-0.4.tar.bz2
Checksum: 25b7abe5c935d20c3ebcde943308652c412d14dc vs 25b7abe5c935d20c3ebcde943308652c412d14dc
conway_polynomials-0.4.p0
====================================================
Setting up build directory for conway_polynomials-0.4.p0
Finished set up
****************************************************
Host system:
Linux sbh-MacBookPro 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:37:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
****************************************************
Traceback (most recent call last):
  File "./spkg-install", line 4, in <module>
    from sage.all import save
  File "/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/python2.7/site-packages/sage/all.py", line 86, in <module>
    from sage.misc.all       import *         # takes a while
  File "/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/python2.7/site-packages/sage/misc/all.py", line 93, in <module>
    from functional import (additive_order,
  File "/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/python2.7/site-packages/sage/misc/functional.py", line 36, in <module>
    from sage.rings.complex_double import CDF
ImportError: /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0: undefined symbol: cblas_sdsdot

real    0m1.490s
user    0m0.304s
sys    0m0.136s
************************************************************************
Error installing package conway_polynomials-0.4.p0
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /home/sbh/SW/Sage6.1.1/sage-6.1.1/logs/pkgs/conway_polynomials-0.4.p0.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/var/tmp/sage/build/conway_polynomials-0.4.p0 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/var/tmp/sage/build/conway_polynomials-0.4.p0' && '/home/sbh/SW/Sage6.1.1/sage-6.1.1/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************

Francois Bissey

unread,
Feb 5, 2014, 9:29:10 PM2/5/14
to sage-...@googlegroups.com
Can you start a sage shell(./sage -sh from the root directory of the tarball)?
If so start one and give the output of
ldd -r /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0
and
readelf -d /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0
Also do you have libclas.so.* in local/lib?

François
________________________________________
From: sage-...@googlegroups.com [sage-...@googlegroups.com] on behalf of sho...@ualberta.ca [sho...@ualberta.ca]
Sent: Thursday, 6 February 2014 12:40
To: sage-...@googlegroups.com
Subject: [sage-devel] Error installing package conway_polynomials-0.5.p0 on Ubuntu 12.04 - Sage 6.1.1
--
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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.
This email may be confidential and subject to legal privilege, it may
not reflect the views of the University of Canterbury, and it is not
guaranteed to be virus free. If you are not an intended recipient,
please notify the sender immediately and erase all copies of the message
and any attachments.

Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more
information.

sho...@ualberta.ca

unread,
Feb 5, 2014, 11:27:55 PM2/5/14
to sage-...@googlegroups.com
Hi, thank you for the offer of help!

The first command's output (from ./sage -sh) gives:

sbh@sbh-MacBookPro:~/SW/Sage6.1.1/sage-6.1.1$ ./sage -sh

Starting subshell with Sage environment variables set.  Don't forget
to exit when you are done.  Beware:
 * Do not do anything with other copies of Sage on your system.
 * Do not use this for installing Sage packages using "sage -i" or for
   running "make" at Sage's root directory.  These should be done
   outside the Sage shell.

Bypassing shell configuration files...

Note: SAGE_ROOT=/home/sbh/SW/Sage6.1.1/sage-6.1.1
(sage-sh) sbh@sbh-MacBookPro:sage-6.1.1$ ldd -r /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0
    linux-vdso.so.1 =>  (0x00007fffc14ba000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7c65f56000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7c65b96000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f7c66494000)
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)

and the output of the second command is:

(sage-sh) sbh@sbh-MacBookPro:sage-6.1.1$ readelf -d /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0

Dynamic section at offset 0x217b28 contains 24 entries:
  Tag        Type                         Name/Value
 0x0000000000000003 (PLTGOT)             0x218fe8
 0x0000000000000002 (PLTRELSZ)           28272 (bytes)
 0x0000000000000017 (JMPREL)             0x45570
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000007 (RELA)               0x3f2a0
 0x0000000000000008 (RELASZ)             25296 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffff9 (RELACOUNT)          963
 0x0000000000000006 (SYMTAB)             0x228
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000005 (STRTAB)             0x19b60
 0x000000000000000a (STRSZ)              107239 (bytes)
 0x000000006ffffef5 (GNU_HASH)           0x33e48
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000e (SONAME)             Library soname: [libgsl.so.0]
 0x000000000000000c (INIT)               0x4c3e0
 0x000000000000000d (FINI)               0x1b49f8
 0x000000006ffffff0 (VERSYM)             0x3cfe8
 0x000000006ffffffc (VERDEF)             0x3f204
 0x000000006ffffffd (VERDEFNUM)          1
 0x000000006ffffffe (VERNEED)            0x3f220
 0x000000006fffffff (VERNEEDNUM)         2
 0x0000000000000000 (NULL)               0x0

Lastly, I have ls'd (2 columns wide) the contents of the .../local/lib (in case you meant cblas - I didn't know for sure)

sbh@sbh-MacBookPro:~/SW/Sage6.1.1/sage-6.1.1/local/lib$ ls
dbmsr.so                  libmenu.so.5.9
ecl                       libmenuw.so
ecl-12.12.1               libmenuw.so.5
libatlas.la               libmenuw.so.5.9
libatlas.so               libmpc.a
libatlas.so.3             libmpc.la
libatlas.so.3.0.0         libmpc.so
libbz2.a                  libmpc.so.3
libcblas.la               libmpc.so.3.0.0
libcblas.so               libmpfi.a
libcblas.so.3             libmpfi.la
libcblas.so.3.0.0         libmpfi.so
libcdd.a                  libmpfi.so.0
libcddgmp.a               libmpfi.so.0.0.0
libcddgmp.la              libmpfr.a
libcddgmp.so              libmpfr.la
libcddgmp.so.0            libmpfr.so
libcddgmp.so.0.0.0        libmpfr.so.4
libcdd.la                 libmpfr.so.4.1.2
libcdd.so                 libmpir.a
libcdd.so.0               libmpir.la
libcdd.so.0.0.0           libmpir.so
libcf.a                   libmpir.so.11
libcfmem.a                libmpir.so.11.0.0
libcliquer.so             libmpirxx.a
libcord.a                 libmpirxx.la
libcord.la                libmpirxx.so
libcord.so                libmpirxx.so.4
libcord.so.1              libmpirxx.so.4.0.21
libcord.so.1.0.3          libncurses++.a
libcsage.so               libncurses.so
libcurses.so              libncurses.so.5
libec.a                   libncurses.so.5.9
libec.la                  libncurses++w.a
libecl.so                 libncursesw.so
libecl.so.12              libncursesw.so.5
libecl.so.12.12           libncursesw.so.5.9
libecl.so.12.12.1         libntl.a
libecm.a                  libntl.la
libecm.la                 libntl.so
libec.so                  libntl.so.0
libec.so.0                libntl.so.0.1.0
libec.so.0.0.0            libomalloc.a
libf77blas.la             libomalloc_ndebug.a
libf77blas.so             libpanel.so
libf77blas.so.3           libpanel.so.5
libf77blas.so.3.0.0       libpanel.so.5.9
libflint.a                libpanelw.so
libflint.so               libpanelw.so.5
libform.so                libpanelw.so.5.9
libform.so.5              libpari.a
libform.so.5.9            libpari-gmp.so.2.5.5
libformw.so               libpari-gmp.so.3
libformw.so.5             libpari.so
libformw.so.5.9           libpng12.a
libfplll.a                libpng12.la
libfplll.la               libpng12.so
libfplll.so               libpng12.so.0
libfplll.so.0             libpng12.so.0.35.0
libfplll.so.0.1.0         libpng.a
libfreetype.a             libpng.la
libfreetype.la            libpng.so
libfreetype.so            libpng.so.3
libfreetype.so.6          libpng.so.3.35.0
libfreetype.so.6.11.1     libpolybori-0.8.so
libgap.la                 libpolybori-0.8.so.3
libgap.so                 libpolybori-0.8.so.3.0.0
libgap.so.0               libpolybori_groebner-0.8.so
libgap.so.0.0.0           libpolybori_groebner-0.8.so.3
libgc.a                   libpolybori_groebner-0.8.so.3.0.0
libgc.la                  libpolybori_groebner.so
libgc.so                  libpolybori.so
libgc.so.1                libppl.a
libgc.so.1.0.3            libppl_c.a
libgd.a                   libppl_c.la
libgd.la                  libppl_c.so
libgd.so                  libppl_c.so.4
libgd.so.2                libppl_c.so.4.0.0
libgd.so.2.0.0            libppl.la
libgf2x.a                 libppl.so
libgf2x.la                libppl.so.13
libgf2x.so                libppl.so.13.0.0
libgf2x.so.1              libptcblas.la
libgf2x.so.1.0.0          libptcblas.so
libgivaro.a               libptcblas.so.3
libgivaro.la              libptcblas.so.3.0.0
libgivaro.so              libptf77blas.la
libgivaro.so.0            libptf77blas.so
libgivaro.so.0.5.1        libptf77blas.so.3
libglpk.la                libptf77blas.so.3.0.0
libglpk.so                libptlapack.la
libglpk.so.0              libptlapack.so
libglpk.so.0.29.0         libptlapack.so.3
libgmp.a                  libptlapack.so.3.0.0
libgmp.la                 libpynac.la
libgmp.so                 libpynac.so
libgmp.so.11              libpynac.so.0
libgmp.so.11.0.0          libpynac.so.0.0.0
libgmpxx.a                libpython2.7.so
libgmpxx.la               libpython2.7.so.1.0
libgmpxx.so               libratpoints.a
libgmpxx.so.4             libreadline.so
libgmpxx.so.4.0.21        libreadline.so.6
libgsl.a                  libreadline.so.6.2
libgslcblas.a             libsatlas.so
libgslcblas.la            libsingcf.a
libgslcblas.so            libsingcf_g.a
libgslcblas.so.0          libsingfac.a
libgslcblas.so.0.0.0      libsingfac_g.a
libgsl.la                 libsingular.so
libgsl.so                 libsqlite3.a
libgsl.so.0               libsqlite3.la
libgsl.so.0.16.0          libsqlite3.so
libhistory.so             libsqlite3.so.0
libhistory.so.6           libsqlite3.so.0.8.6
libhistory.so.6.2         libsymmetrica.a
libiml.a                  libtatlas.so
libiml.la                 libtinfo.so
libiml.so                 libtinfo.so.5
libiml.so.0               libtinfo.so.5.9
libiml.so.0.0.0           libtinfow.so
liblapack.la              libtinfow.so.5
liblapack.so              libtinfow.so.5.9
liblapack.so.3            libyasm.a
liblapack.so.3.0.0        libz.a
libLfunction.so           libzn_poly-0.9.so
liblinbox.la              libzn_poly.so
liblinboxsage.la          libz.so
liblinboxsage.so          libz.so.1
liblinboxsage.so.0        libz.so.1.2.8
liblinboxsage.so.0.0.0    omalloc_debug.o
liblinbox.so              omalloc.o
liblinbox.so.0            pari
liblinbox.so.0.0.0        pkgconfig
libm4ri-0.0.20121224.so   p_Procs_FieldGeneral.so
libm4ri.a                 p_Procs_FieldIndep.so
libm4rie-0.0.20130416.so  p_Procs_FieldQ.so
libm4rie.a                p_Procs_FieldZp.so
libm4rie.la               python
libm4rie.so               python2.7
libm4ri.la                sage-force-relocate.txt
libm4ri.so                scons-1.2.0
libmenu.so                terminfo
libmenu.so.5

In the above list are the following though....

sbh@sbh-MacBookPro:~/SW/Sage6.1.1/sage-6.1.1/local/lib$ ls libcblas.so.*
libcblas.so.3  libcblas.so.3.0.0

Thanks again!!

Brett

Francois Bissey

unread,
Feb 6, 2014, 3:58:40 AM2/6/14
to sage-...@googlegroups.com
OK your gsl install is completely broken but atlas is there.
Can you try to re-install gsl? "./sage -f gsl" should do
the trick. If it still doesn't work post the build log from gsl (found under logs/pkgs).

Francois
________________________________________
From: sage-...@googlegroups.com [sage-...@googlegroups.com] on behalf of sho...@ualberta.ca [sho...@ualberta.ca]
Sent: Thursday, 6 February 2014 17:27
To: sage-...@googlegroups.com
Subject: Re: [sage-devel] Error installing package conway_polynomials-0.5.p0 on Ubuntu 12.04 - Sage 6.1.1

sho...@ualberta.ca

unread,
Feb 6, 2014, 1:36:33 PM2/6/14
to sage-...@googlegroups.com
Okay, I ran that command and it said gsl was successfully installed.

Do I then need to complete the building process or can I just run it? If the former, I suppose I should say

export SAGE_KEEP_BUILT_SPKGS=yes
make
?

Thanks again,
Brett

Francois Bissey

unread,
Feb 6, 2014, 1:41:08 PM2/6/14
to sage-...@googlegroups.com
Before you proceed with "make" to finish the install check that libgsl is properly built this time.
ldd -r shouldn't find any undefined symbols and readelf should show libcblas or libptcblas as one
of its output.

Francois
________________________________________
From: sage-...@googlegroups.com [sage-...@googlegroups.com] on behalf of sho...@ualberta.ca [sho...@ualberta.ca]
Sent: Friday, 7 February 2014 7:36
libatlas.la<http://libatlas.la> libmenuw.so.5.9
libatlas.so libmpc.a
libatlas.so.3 libmpc.la<http://libmpc.la>
libatlas.so.3.0.0 libmpc.so
libbz2.a libmpc.so.3
libcblas.la<http://libcblas.la> libmpc.so.3.0.0
libcblas.so libmpfi.a
libcblas.so.3 libmpfi.la<http://libmpfi.la>
libcblas.so.3.0.0 libmpfi.so
libcdd.a libmpfi.so.0
libcddgmp.a libmpfi.so.0.0.0
libcddgmp.la<http://libcddgmp.la> libmpfr.a
libcddgmp.so libmpfr.la<http://libmpfr.la>
libcddgmp.so.0 libmpfr.so
libcddgmp.so.0.0.0 libmpfr.so.4
libcdd.la<http://libcdd.la> libmpfr.so.4.1.2
libcdd.so libmpir.a
libcdd.so.0 libmpir.la<http://libmpir.la>
libcdd.so.0.0.0 libmpir.so
libcf.a libmpir.so.11
libcfmem.a libmpir.so.11.0.0
libcliquer.so libmpirxx.a
libcord.a libmpirxx.la<http://libmpirxx.la>
libcord.la<http://libcord.la> libmpirxx.so
libcord.so libmpirxx.so.4
libcord.so.1 libmpirxx.so.4.0.21
libcord.so.1.0.3 libncurses++.a
libcsage.so libncurses.so
libcurses.so libncurses.so.5
libec.a libncurses.so.5.9
libec.la<http://libec.la> libncurses++w.a
libecl.so libncursesw.so
libecl.so.12 libncursesw.so.5
libecl.so.12.12 libncursesw.so.5.9
libecl.so.12.12.1 libntl.a
libecm.a libntl.la<http://libntl.la>
libecm.la<http://libecm.la> libntl.so
libec.so libntl.so.0
libec.so.0 libntl.so.0.1.0
libec.so.0.0.0 libomalloc.a
libf77blas.la<http://libf77blas.la> libomalloc_ndebug.a
libf77blas.so libpanel.so
libf77blas.so.3 libpanel.so.5
libf77blas.so.3.0.0 libpanel.so.5.9
libflint.a libpanelw.so
libflint.so libpanelw.so.5
libform.so libpanelw.so.5.9
libform.so.5 libpari.a
libform.so.5.9 libpari-gmp.so.2.5.5
libformw.so libpari-gmp.so.3
libformw.so.5 libpari.so
libformw.so.5.9 libpng12.a
libfplll.a libpng12.la<http://libpng12.la>
libfplll.la<http://libfplll.la> libpng12.so
libfplll.so libpng12.so.0
libfplll.so.0 libpng12.so.0.35.0
libfplll.so.0.1.0 libpng.a
libfreetype.a libpng.la<http://libpng.la>
libfreetype.la<http://libfreetype.la> libpng.so
libfreetype.so libpng.so.3
libfreetype.so.6 libpng.so.3.35.0
libfreetype.so.6.11.1 libpolybori-0.8.so<http://libpolybori-0.8.so>
libgap.la<http://libgap.la> libpolybori-0.8.so.3
libgap.so libpolybori-0.8.so.3.0.0
libgap.so.0 libpolybori_groebner-0.8.so<http://libpolybori_groebner-0.8.so>
libgap.so.0.0.0 libpolybori_groebner-0.8.so.3
libgc.a libpolybori_groebner-0.8.so.3.0.0
libgc.la<http://libgc.la> libpolybori_groebner.so
libgc.so libpolybori.so
libgc.so.1 libppl.a
libgc.so.1.0.3 libppl_c.a
libgd.a libppl_c.la<http://libppl_c.la>
libgd.la<http://libgd.la> libppl_c.so
libgd.so libppl_c.so.4
libgd.so.2 libppl_c.so.4.0.0
libgd.so.2.0.0 libppl.la<http://libppl.la>
libgf2x.a libppl.so
libgf2x.la<http://libgf2x.la> libppl.so.13
libgf2x.so libppl.so.13.0.0
libgf2x.so.1 libptcblas.la<http://libptcblas.la>
libgf2x.so.1.0.0 libptcblas.so
libgivaro.a libptcblas.so.3
libgivaro.la<http://libgivaro.la> libptcblas.so.3.0.0
libgivaro.so libptf77blas.la<http://libptf77blas.la>
libgivaro.so.0 libptf77blas.so
libgivaro.so.0.5.1 libptf77blas.so.3
libglpk.la<http://libglpk.la> libptf77blas.so.3.0.0
libglpk.so libptlapack.la<http://libptlapack.la>
libglpk.so.0 libptlapack.so
libglpk.so.0.29.0 libptlapack.so.3
libgmp.a libptlapack.so.3.0.0
libgmp.la<http://libgmp.la> libpynac.la<http://libpynac.la>
libgmp.so libpynac.so
libgmp.so.11 libpynac.so.0
libgmp.so.11.0.0 libpynac.so.0.0.0
libgmpxx.a libpython2.7.so<http://libpython2.7.so>
libgmpxx.la<http://libgmpxx.la> libpython2.7.so.1.0
libgmpxx.so libratpoints.a
libgmpxx.so.4 libreadline.so
libgmpxx.so.4.0.21 libreadline.so.6
libgsl.a libreadline.so.6.2
libgslcblas.a libsatlas.so
libgslcblas.la<http://libgslcblas.la> libsingcf.a
libgslcblas.so libsingcf_g.a
libgslcblas.so.0 libsingfac.a
libgslcblas.so.0.0.0 libsingfac_g.a
libgsl.la<http://libgsl.la> libsingular.so
libgsl.so libsqlite3.a
libgsl.so.0 libsqlite3.la<http://libsqlite3.la>
libgsl.so.0.16.0 libsqlite3.so
libhistory.so libsqlite3.so.0
libhistory.so.6 libsqlite3.so.0.8.6
libhistory.so.6.2 libsymmetrica.a
libiml.a libtatlas.so
libiml.la<http://libiml.la> libtinfo.so
libiml.so libtinfo.so.5
libiml.so.0 libtinfo.so.5.9
libiml.so.0.0.0 libtinfow.so
liblapack.la<http://liblapack.la> libtinfow.so.5
liblapack.so libtinfow.so.5.9
liblapack.so.3 libyasm.a
liblapack.so.3.0.0 libz.a
libLfunction.so libzn_poly-0.9.so<http://libzn_poly-0.9.so>
liblinbox.la<http://liblinbox.la> libzn_poly.so
liblinboxsage.la<http://liblinboxsage.la> libz.so
liblinboxsage.so libz.so.1
liblinboxsage.so.0 libz.so.1.2.8
liblinboxsage.so.0.0.0 omalloc_debug.o
liblinbox.so omalloc.o
liblinbox.so.0 pari
liblinbox.so.0.0.0 pkgconfig
libm4ri-0.0.20121224.so<http://libm4ri-0.0.20121224.so> p_Procs_FieldGeneral.so
libm4ri.a p_Procs_FieldIndep.so
libm4rie-0.0.20130416.so<http://libm4rie-0.0.20130416.so> p_Procs_FieldQ.so
libm4rie.a p_Procs_FieldZp.so
libm4rie.la<http://libm4rie.la> python
libm4rie.so python2.7
libm4ri.la<http://libm4ri.la> sage-force-relocate.txt

sho...@ualberta.ca

unread,
Feb 6, 2014, 1:50:09 PM2/6/14
to sage-...@googlegroups.com
Well it said,

----------------------------------------------------------------------
Libraries have been installed in:
   /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/bin" || /bin/mkdir -p "/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/bin"
  /bin/bash ./libtool   --mode=install /usr/bin/install -c gsl-randist gsl-histogram '/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/bin'
libtool: install: /usr/bin/install -c .libs/gsl-randist /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/bin/gsl-randist
libtool: install: /usr/bin/install -c .libs/gsl-histogram /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/bin/gsl-histogram
test -z "/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/bin" || /bin/mkdir -p "/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/bin"
 /usr/bin/install -c gsl-config '/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/bin'
test -z "/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/share/aclocal" || /bin/mkdir -p "/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/share/aclocal"
 /usr/bin/install -c -m 644 gsl.m4 '/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/share/aclocal'
test -z "/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/pkgconfig" || /bin/mkdir -p "/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/pkgconfig"
 /usr/bin/install -c -m 644 gsl.pc '/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/pkgconfig'
test -z "/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/include/gsl" || /bin/mkdir -p "/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/include/gsl"
 /usr/bin/install -c -m 644 gsl_math.h gsl_pow_int.h gsl_nan.h gsl_machine.h gsl_mode.h gsl_precision.h gsl_types.h gsl_version.h gsl_minmax.h gsl_inline.h '/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/include/gsl'
make[2]: Leaving directory `/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/var/tmp/sage/build/gsl-1.15.p1/src'
make[1]: Leaving directory `/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/var/tmp/sage/build/gsl-1.15.p1/src'

real    3m57.363s
user    2m55.551s
sys    0m30.330s
Successfully installed gsl-1.15.p1
You can safely delete the temporary build directory
/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/var/tmp/sage/build/gsl-1.15.p1
Finished installing gsl-1.15.p1.spkg

But then that ldd command said there were still undefined symbols....

sbh@sbh-MacBookPro:~/SW/Sage6.1.1/sage-6.1.1$ ldd -r /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0
    linux-vdso.so.1 =>  (0x00007fffd49ff000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0d30b88000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0d307c8000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f0d310c6000)

Thanks!
Brett

Francois Bissey

unread,
Feb 6, 2014, 2:04:57 PM2/6/14
to sage-...@googlegroups.com
Still busted. Compress the build log of gsl found under logs/pkgs/ and put it somewhere we can download it.
It may be too big for the list.
________________________________________
From: sage-...@googlegroups.com [sage-...@googlegroups.com] on behalf of sho...@ualberta.ca [sho...@ualberta.ca]
Sent: Friday, 7 February 2014 7:50
libatlas.la<http://libatlas.la><http://libatlas.la> libmenuw.so.5.9
libatlas.so libmpc.a
libatlas.so.3 libmpc.la<http://libmpc.la><http://libmpc.la>
libatlas.so.3.0.0 libmpc.so
libbz2.a libmpc.so.3
libcblas.la<http://libcblas.la><http://libcblas.la> libmpc.so.3.0.0
libcblas.so libmpfi.a
libcblas.so.3 libmpfi.la<http://libmpfi.la><http://libmpfi.la>
libcblas.so.3.0.0 libmpfi.so
libcdd.a libmpfi.so.0
libcddgmp.a libmpfi.so.0.0.0
libcddgmp.la<http://libcddgmp.la><http://libcddgmp.la> libmpfr.a
libcddgmp.so libmpfr.la<http://libmpfr.la><http://libmpfr.la>
libcddgmp.so.0 libmpfr.so
libcddgmp.so.0.0.0 libmpfr.so.4
libcdd.la<http://libcdd.la><http://libcdd.la> libmpfr.so.4.1.2
libcdd.so libmpir.a
libcdd.so.0 libmpir.la<http://libmpir.la><http://libmpir.la>
libcdd.so.0.0.0 libmpir.so
libcf.a libmpir.so.11
libcfmem.a libmpir.so.11.0.0
libcliquer.so libmpirxx.a
libcord.a libmpirxx.la<http://libmpirxx.la><http://libmpirxx.la>
libcord.la<http://libcord.la><http://libcord.la> libmpirxx.so
libcord.so libmpirxx.so.4
libcord.so.1 libmpirxx.so.4.0.21
libcord.so.1.0.3 libncurses++.a
libcsage.so libncurses.so
libcurses.so libncurses.so.5
libec.a libncurses.so.5.9
libec.la<http://libec.la><http://libec.la> libncurses++w.a
libecl.so libncursesw.so
libecl.so.12 libncursesw.so.5
libecl.so.12.12 libncursesw.so.5.9
libecl.so.12.12.1 libntl.a
libecm.a libntl.la<http://libntl.la><http://libntl.la>
libecm.la<http://libecm.la><http://libecm.la> libntl.so
libec.so libntl.so.0
libec.so.0 libntl.so.0.1.0
libec.so.0.0.0 libomalloc.a
libf77blas.la<http://libf77blas.la><http://libf77blas.la> libomalloc_ndebug.a
libf77blas.so libpanel.so
libf77blas.so.3 libpanel.so.5
libf77blas.so.3.0.0 libpanel.so.5.9
libflint.a libpanelw.so
libflint.so libpanelw.so.5
libform.so libpanelw.so.5.9
libform.so.5 libpari.a
libform.so.5.9 libpari-gmp.so.2.5.5
libformw.so libpari-gmp.so.3
libformw.so.5 libpari.so
libformw.so.5.9 libpng12.a
libfplll.a libpng12.la<http://libpng12.la><http://libpng12.la>
libfplll.la<http://libfplll.la><http://libfplll.la> libpng12.so
libfplll.so libpng12.so.0
libfplll.so.0 libpng12.so.0.35.0
libfplll.so.0.1.0 libpng.a
libfreetype.a libpng.la<http://libpng.la><http://libpng.la>
libfreetype.la<http://libfreetype.la><http://libfreetype.la> libpng.so
libfreetype.so libpng.so.3
libfreetype.so.6 libpng.so.3.35.0
libfreetype.so.6.11.1 libpolybori-0.8.so<http://libpolybori-0.8.so><http://libpolybori-0.8.so>
libgap.la<http://libgap.la><http://libgap.la> libpolybori-0.8.so.3
libgap.so libpolybori-0.8.so.3.0.0
libgap.so.0 libpolybori_groebner-0.8.so<http://libpolybori_groebner-0.8.so><http://libpolybori_groebner-0.8.so>
libgap.so.0.0.0 libpolybori_groebner-0.8.so.3
libgc.a libpolybori_groebner-0.8.so.3.0.0
libgc.la<http://libgc.la><http://libgc.la> libpolybori_groebner.so
libgc.so libpolybori.so
libgc.so.1 libppl.a
libgc.so.1.0.3 libppl_c.a
libgd.a libppl_c.la<http://libppl_c.la><http://libppl_c.la>
libgd.la<http://libgd.la><http://libgd.la> libppl_c.so
libgd.so libppl_c.so.4
libgd.so.2 libppl_c.so.4.0.0
libgd.so.2.0.0 libppl.la<http://libppl.la><http://libppl.la>
libgf2x.a libppl.so
libgf2x.la<http://libgf2x.la><http://libgf2x.la> libppl.so.13
libgf2x.so libppl.so.13.0.0
libgf2x.so.1 libptcblas.la<http://libptcblas.la><http://libptcblas.la>
libgf2x.so.1.0.0 libptcblas.so
libgivaro.a libptcblas.so.3
libgivaro.la<http://libgivaro.la><http://libgivaro.la> libptcblas.so.3.0.0
libgivaro.so libptf77blas.la<http://libptf77blas.la><http://libptf77blas.la>
libgivaro.so.0 libptf77blas.so
libgivaro.so.0.5.1 libptf77blas.so.3
libglpk.la<http://libglpk.la><http://libglpk.la> libptf77blas.so.3.0.0
libglpk.so libptlapack.la<http://libptlapack.la><http://libptlapack.la>
libglpk.so.0 libptlapack.so
libglpk.so.0.29.0 libptlapack.so.3
libgmp.a libptlapack.so.3.0.0
libgmp.la<http://libgmp.la><http://libgmp.la> libpynac.la<http://libpynac.la><http://libpynac.la>
libgmp.so libpynac.so
libgmp.so.11 libpynac.so.0
libgmp.so.11.0.0 libpynac.so.0.0.0
libgmpxx.a libpython2.7.so<http://libpython2.7.so><http://libpython2.7.so>
libgmpxx.la<http://libgmpxx.la><http://libgmpxx.la> libpython2.7.so.1.0
libgmpxx.so libratpoints.a
libgmpxx.so.4 libreadline.so
libgmpxx.so.4.0.21 libreadline.so.6
libgsl.a libreadline.so.6.2
libgslcblas.a libsatlas.so
libgslcblas.la<http://libgslcblas.la><http://libgslcblas.la> libsingcf.a
libgslcblas.so libsingcf_g.a
libgslcblas.so.0 libsingfac.a
libgslcblas.so.0.0.0 libsingfac_g.a
libgsl.la<http://libgsl.la><http://libgsl.la> libsingular.so
libgsl.so libsqlite3.a
libgsl.so.0 libsqlite3.la<http://libsqlite3.la><http://libsqlite3.la>
libgsl.so.0.16.0 libsqlite3.so
libhistory.so libsqlite3.so.0
libhistory.so.6 libsqlite3.so.0.8.6
libhistory.so.6.2 libsymmetrica.a
libiml.a libtatlas.so
libiml.la<http://libiml.la><http://libiml.la> libtinfo.so
libiml.so libtinfo.so.5
libiml.so.0 libtinfo.so.5.9
libiml.so.0.0.0 libtinfow.so
liblapack.la<http://liblapack.la><http://liblapack.la> libtinfow.so.5
liblapack.so libtinfow.so.5.9
liblapack.so.3 libyasm.a
liblapack.so.3.0.0 libz.a
libLfunction.so libzn_poly-0.9.so<http://libzn_poly-0.9.so><http://libzn_poly-0.9.so>
liblinbox.la<http://liblinbox.la><http://liblinbox.la> libzn_poly.so
liblinboxsage.la<http://liblinboxsage.la><http://liblinboxsage.la> libz.so
liblinboxsage.so libz.so.1
liblinboxsage.so.0 libz.so.1.2.8
liblinboxsage.so.0.0.0 omalloc_debug.o
liblinbox.so omalloc.o
liblinbox.so.0 pari
liblinbox.so.0.0.0 pkgconfig
libm4ri-0.0.20121224.so<http://libm4ri-0.0.20121224.so><http://libm4ri-0.0.20121224.so> p_Procs_FieldGeneral.so
libm4ri.a p_Procs_FieldIndep.so
libm4rie-0.0.20130416.so<http://libm4rie-0.0.20130416.so><http://libm4rie-0.0.20130416.so> p_Procs_FieldQ.so
libm4rie.a p_Procs_FieldZp.so
libm4rie.la<http://libm4rie.la><http://libm4rie.la> python
libm4rie.so python2.7
libm4ri.la<http://libm4ri.la><http://libm4ri.la> sage-force-relocate.txt

sho...@ualberta.ca

unread,
Feb 6, 2014, 2:26:40 PM2/6/14
to sage-...@googlegroups.com
Hi, it didn't seem like too big a file (otherwise I can use UbuntuOne) so I tar'd the log files up and they are attached.

Thanks again,
Brett
logs.tbz

François Bissey

unread,
Feb 6, 2014, 3:12:17 PM2/6/14
to sage-...@googlegroups.com
On Thu, 06 Feb 2014 11:26:40 sho...@ualberta.ca wrote:
> Hi, it didn't seem like too big a file (otherwise I can use UbuntuOne) so I
> tar'd the log files up and they are attached.
Just the log gsl-1.15.p1.log would have been enough. OK so there is a
configuration and linking problem with your gsl that needs closer
investigation but here are the relevant lines of the log:
/bin/bash ../libtool --mode=install /usr/bin/install -c libgslcblas.la
'/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib'
libtool: install: /usr/bin/install -c .libs/libgslcblas.so.0.0.0
/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgslcblas.so.0.0.0
libtool: install: (cd /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib && { ln -s -
f libgslcblas.so.0.0.0 libgslcblas.so.0 || { rm -f libgslcblas.so.0 && ln -s
libgslcblas.so.0.0.0 libgslcblas.so.0; }; })
libtool: install: (cd /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib && { ln -s -
f libgslcblas.so.0.0.0 libgslcblas.so || { rm -f libgslcblas.so && ln -s
libgslcblas.so.0.0.0 libgslcblas.so; }; })
libtool: install: /usr/bin/install -c .libs/libgslcblas.lai
/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgslcblas.la
libtool: install: /usr/bin/install -c .libs/libgslcblas.a
/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgslcblas.a
libtool: install: chmod 644
/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgslcblas.a
libtool: install: ranlib
/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgslcblas.a
libtool: finish:
PATH="/home/sbh/SW/Sage6.1.1/sage-6.1.1/src/bin:/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/bin:/home/sbh/SW/Sage6.1.1/sage-6.1.1/src/bin:/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/sbh/SW/openmpi1.7.3/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/home/sbh/SW/BUGSENGPPL1.1/build/bin:/sbin"
ldconfig -n /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib
/sbin/ldconfig.real: Can't link
/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib//home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libsatlas.so
to libsatlas.so
/sbin/ldconfig.real: Can't link
/home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib//home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libtatlas.so
to libtatlas.so

It looks for atlas libraries that a vanilla atlas would ship but not what we
ship. I'll look the gsl spkg. In the meantime extra info that you could
provide: If you have set
export SAGE_KEEP_BUILT_SPKGS=yes
already you should be able to find the config.log from gsl in
build/gsl-1.15 if I am not mistaken. That could hold valuable info.

Francois

François Bissey

unread,
Feb 6, 2014, 3:26:33 PM2/6/14
to sage-...@googlegroups.com
Actually after a closer exam of a standard sage install,
the underdefinition of libraries (libgsl in particular)
is built in. Which means that some other part may be
broken. From the sage shell what does
ldd -r local/lib/python2.7/site-packages/sage/rings/complex_double.so
says?
Francois

sho...@ualberta.ca

unread,
Feb 6, 2014, 4:09:10 PM2/6/14
to sage-...@googlegroups.com
Well I've attached the config.log from

./local/var/tmp/sage/build/gsl-1.15.p1/src/config.log
./logs/pkgs/gsl*/config.log

Also, from ./sage -sh;   ldd -r ......

(sage-sh) sbh@sbh-MacBookPro:sage-6.1.1$ ldd -r /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/python2.7/site-packages/sage/rings/complex_double.so
    linux-vdso.so.1 =>  (0x00007fff6adff000)
    libcsage.so => /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libcsage.so (0x00007f42910e2000)
    libgsl.so.0 => /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0 (0x00007f4290eb8000)
    libpari-gmp.so.3 => /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libpari-gmp.so.3 (0x00007f4290a2c000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f429071a000)
    libpython2.7.so.1.0 => /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libpython2.7.so.1.0 (0x00007f429053a000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f429031c000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f428ff5c000)
    libntl.so.0 => /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libntl.so.0 (0x00007f428fd82000)
    libgmp.so.11 => /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgmp.so.11 (0x00007f428fd10000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f428fa10000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f428f7fa000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f428f5f5000)
    libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f428f3f2000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f4291137000)
    libgf2x.so.1 => /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgf2x.so.1 (0x00007f428f3d9000)

Thanks,

Brett
config.log
gsl.log
gsl-1.15.p1.log
config.log

François Bissey

unread,
Feb 6, 2014, 4:19:21 PM2/6/14
to sage-...@googlegroups.com
Not healthy at all. Sage itself has not been properly linked.
Try "./sage -ba" and then see if complex_double.so is still
underlinked.

Francois

sho...@ualberta.ca

unread,
Feb 6, 2014, 8:21:17 PM2/6/14
to sage-...@googlegroups.com
Hi again,

So it didn't seem to complain about "./sage -ba" but still underlinked library...

sbh@sbh-MacBookPro:~/SW/Sage6.1.1/sage-6.1.1$ ./sage -sh

Starting subshell with Sage environment variables set.  Don't forget
to exit when you are done.  Beware:
 * Do not do anything with other copies of Sage on your system.
 * Do not use this for installing Sage packages using "sage -i" or for
   running "make" at Sage's root directory.  These should be done
   outside the Sage shell.

Bypassing shell configuration files...

Note: SAGE_ROOT=/home/sbh/SW/Sage6.1.1/sage-6.1.1
(sage-sh) sbh@sbh-MacBookPro:sage-6.1.1$ ldd -r /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/python2.7/site-packages/sage/rings/complex_double.so
    linux-vdso.so.1 =>  (0x00007fffc09c7000)
    libcsage.so => /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libcsage.so (0x00007fa4f36c9000)
    libgsl.so.0 => /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so.0 (0x00007fa4f349f000)
    libpari-gmp.so.3 => /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libpari-gmp.so.3 (0x00007fa4f3013000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa4f2d01000)
    libpython2.7.so.1.0 => /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libpython2.7.so.1.0 (0x00007fa4f2b21000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa4f2903000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa4f2543000)
    libntl.so.0 => /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libntl.so.0 (0x00007fa4f2369000)
    libgmp.so.11 => /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgmp.so.11 (0x00007fa4f22f7000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fa4f1ff7000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fa4f1de1000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa4f1bdc000)
    libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007fa4f19d9000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fa4f371e000)
    libgf2x.so.1 => /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgf2x.so.1 (0x00007fa4f19c0000)

Thanks again!

Brett

François Bissey

unread,
Feb 6, 2014, 8:24:16 PM2/6/14
to sage-...@googlegroups.com
Send over logs/pkgs/sage-6.1.1.log (compressed) for forensic.

sho...@ualberta.ca

unread,
Feb 6, 2014, 8:34:48 PM2/6/14
to sage-...@googlegroups.com
Thanks for all the effort - appreciate it.

Here it is.

Bret
sage-6.1.1.log.tbz

François Bissey

unread,
Feb 6, 2014, 8:54:24 PM2/6/14
to sage-...@googlegroups.com
On Thu, 06 Feb 2014 17:34:48 sho...@ualberta.ca wrote:
> Thanks for all the effort - appreciate it.
>
> Here it is.
Thanks, nothing obviously suspicious. What does
readelf -d src/build/lib.linux-x86_64-2.7/sage/rings/complex_double.so

says?

sho...@ualberta.ca

unread,
Feb 6, 2014, 9:00:58 PM2/6/14
to sage-...@googlegroups.com
Here it is:

(sage-sh) sbh@sbh-MacBookPro:sage-6.1.1$ ./sage -sh


Starting subshell with Sage environment variables set.  Don't forget
to exit when you are done.  Beware:
 * Do not do anything with other copies of Sage on your system.
 * Do not use this for installing Sage packages using "sage -i" or for
   running "make" at Sage's root directory.  These should be done
   outside the Sage shell.

Bypassing shell configuration files...

Note: SAGE_ROOT=/home/sbh/SW/Sage6.1.1/sage-6.1.1
(sage-sh) sbh@sbh-MacBookPro:sage-6.1.1$ 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

François Bissey

unread,
Feb 6, 2014, 9:08:48 PM2/6/14
to sage-...@googlegroups.com
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)?


sho...@ualberta.ca

unread,
Feb 6, 2014, 9:13:37 PM2/6/14
to sage-...@googlegroups.com
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

François Bissey

unread,
Feb 6, 2014, 9:24:06 PM2/6/14
to sage-...@googlegroups.com
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?

sho...@ualberta.ca

unread,
Feb 6, 2014, 9:36:58 PM2/6/14
to sage-...@googlegroups.com
Hmmm it must have worked - no complaints, just another line. Run ldd or readelf on it? (complex_double.so)

François Bissey

unread,
Feb 6, 2014, 9:38:34 PM2/6/14
to sage-...@googlegroups.com
yes do both.

On Thu, 06 Feb 2014 18:36:58 sho...@ualberta.ca 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:

sho...@ualberta.ca

unread,
Feb 6, 2014, 9:42:30 PM2/6/14
to sage-...@googlegroups.com
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
(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)

François Bissey

unread,
Feb 6, 2014, 9:46:41 PM2/6/14
to sage-...@googlegroups.com
OK I need a bigger gun. Try the same compilation again but add -Wl,-M,
then another time but with -Wl,--verbose
send me the output.

sho...@ualberta.ca

unread,
Feb 6, 2014, 9:51:04 PM2/6/14
to sage-...@googlegroups.com
Hoping I did that right.....

(sage-sh) sbh@sbh-MacBookPro:src$ 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 -Wl,-M
Archive member included because of file (symbol)

/usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.a(_muldc3.o)
                              build/temp.linux-x86_64-2.7/sage/rings/complex_double.o (__muldc3)
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.a(_divdc3.o)
                              build/temp.linux-x86_64-2.7/sage/rings/complex_double.o (__divdc3)

Allocating common symbols
Common symbol       size              file

__pyx_wrapperbase_4sage_5rings_14complex_double_10FloatToCDF___init__
                    0x38              build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
__pyx_wrapperbase_4sage_5rings_14complex_double_20ComplexDoubleElement_10__getitem__
                    0x38              build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
__pyx_wrapperbase_4sage_5rings_14complex_double_20ComplexDoubleElement_16__int__
                    0x38              build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
__pyx_wrapperbase_4sage_5rings_14complex_double_20ComplexDoubleElement_18__long__
                    0x38              build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
__pyx_wrapperbase_4sage_5rings_14complex_double_20ComplexDoubleElement_20__float__
                    0x38              build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
__pyx_wrapperbase_4sage_5rings_14complex_double_20ComplexDoubleElement_28__repr__
                    0x38              build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
__pyx_wrapperbase_4sage_5rings_14complex_double_20ComplexDoubleElement_2__init__
                    0x38              build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
__pyx_wrapperbase_4sage_5rings_14complex_double_20ComplexDoubleElement_42__invert__
                    0x38              build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
__pyx_wrapperbase_4sage_5rings_14complex_double_20ComplexDoubleElement_52__abs__
                    0x38              build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
__pyx_wrapperbase_4sage_5rings_14complex_double_20ComplexDoubleElement_6__hash__
                    0x38              build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
__pyx_wrapperbase_4sage_5rings_14complex_double_20ComplexDoubleElement_78__pow__
                    0x38              build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
__pyx_wrapperbase_4sage_5rings_14complex_double_24ComplexDoubleField_class_20__call__
                    0x38              build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
__pyx_wrapperbase_4sage_5rings_14complex_double_24ComplexDoubleField_class_8__hash__
                    0x38              build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
__pyx_wrapperbase_4sage_5rings_14complex_double_24ComplexDoubleField_class___init__
                    0x38              build/temp.linux-x86_64-2.7/sage/rings/complex_double.o

Discarded input sections

 .note.GNU-stack
                0x0000000000000000        0x0 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crti.o
 .gnu_debuglink
                0x0000000000000000        0xc /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crti.o
 .note.GNU-stack
                0x0000000000000000        0x0 /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginS.o
 .note.GNU-stack
                0x0000000000000000        0x0 build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
 .note.GNU-stack
                0x0000000000000000        0x0 /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.a(_muldc3.o)
 .note.GNU-stack
                0x0000000000000000        0x0 /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.a(_divdc3.o)
 .note.GNU-stack
                0x0000000000000000        0x0 /usr/lib/gcc/x86_64-linux-gnu/4.6/crtendS.o
 .note.GNU-stack
                0x0000000000000000        0x0 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crtn.o
 .gnu_debuglink
                0x0000000000000000        0xc /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crtn.o

Memory map

 ** file header
                0x0000000000000000       0x40
 ** segment headers
                0x0000000000000040      0x1c0

.note.gnu.build-id
                0x0000000000000200       0x24
 ** note header
                0x0000000000000200       0x10
 ** zero fill   0x0000000000000210       0x14

.dynsym         0x0000000000000228     0x1200
 ** dynsym      0x0000000000000228     0x1200

.dynstr         0x0000000000001428     0x1055
 ** string table
                0x0000000000001428     0x1055

.gnu.hash       0x0000000000002480       0xb8
 ** hash        0x0000000000002480       0xb8

.gnu.version    0x0000000000002538      0x180
 ** versions    0x0000000000002538      0x180

.gnu.version_d  0x00000000000026b8       0x1c
 ** version defs
                0x00000000000026b8       0x1c

.gnu.version_r  0x00000000000026d4       0x50
 ** version refs
                0x00000000000026d4       0x50

.rela.dyn       0x0000000000002728     0x3f90
 ** dynamic relocs
                0x0000000000002728     0x3f90

.rela.plt       0x00000000000066b8      0xd20
 ** dynamic relocs
                0x00000000000066b8      0xd20

.init           0x00000000000073d8       0x18
 .init          0x00000000000073d8        0x9 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crti.o
                0x00000000000073d8                _init
 .init          0x00000000000073e1        0x5 /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginS.o
 .init          0x00000000000073e6        0x5 /usr/lib/gcc/x86_64-linux-gnu/4.6/crtendS.o
 .init          0x00000000000073eb        0x5 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crtn.o

.plt            0x00000000000073f0      0x8d0
 ** PLT         0x00000000000073f0      0x8d0

.text           0x0000000000007cc0    0x1ecb8
 .text          0x0000000000007cc0       0x17 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crti.o
 ** fill        0x0000000000007cd7        0x9
 .text          0x0000000000007ce0       0xaa /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginS.o
 ** fill        0x0000000000007d8a        0x6
 .text          0x0000000000007d90    0x1dcb5 build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
                0x0000000000020d50                initcomplex_double
 .text.unlikely
                0x0000000000025a45      0x8fd build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
 ** fill        0x0000000000026342        0xe
 .text          0x0000000000026350      0x2e7 /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.a(_muldc3.o)
                0x0000000000026350                __muldc3
 ** fill        0x0000000000026637        0x9
 .text          0x0000000000026640      0x2f5 /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.a(_divdc3.o)
                0x0000000000026640                __divdc3
 ** fill        0x0000000000026935        0xb
 .text          0x0000000000026940       0x36 /usr/lib/gcc/x86_64-linux-gnu/4.6/crtendS.o
 ** fill        0x0000000000026976        0x2
 .text          0x0000000000026978        0x0 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crtn.o

.fini           0x0000000000026978        0xe
 .fini          0x0000000000026978        0x4 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crti.o
                0x0000000000026978                _fini
 .fini          0x000000000002697c        0x5 /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginS.o
 .fini          0x0000000000026981        0x5 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crtn.o

.rodata         0x0000000000026990     0x2e90
 ** merge strings
                0x0000000000026990      0xa9e
 .rodata.str1.8
                0x0000000000027430     0x22b5 build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
 .rodata        0x00000000000296e8       0xb8 build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
 ** merge constants
                0x00000000000297a0       0x38
 ** merge constants
                0x00000000000297e0       0x40

.eh_frame       0x0000000000029820     0x1c9c
 ** eh_frame    0x0000000000029820     0x1c98
 .eh_frame      0x000000000002b4b8        0x4 /usr/lib/gcc/x86_64-linux-gnu/4.6/crtendS.o

.eh_frame_hdr   0x000000000002b4bc      0x534
 ** eh_frame_hdr
                0x000000000002b4bc      0x534

.ctors          0x000000000002cc40       0x10
 .ctors         0x000000000002cc40        0x8 /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginS.o
 .ctors         0x000000000002cc48        0x8 /usr/lib/gcc/x86_64-linux-gnu/4.6/crtendS.o

.dtors          0x000000000002cc50       0x10
 .dtors         0x000000000002cc50        0x8 /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginS.o
 .dtors         0x000000000002cc58        0x8 /usr/lib/gcc/x86_64-linux-gnu/4.6/crtendS.o
                0x000000000002cc58                __DTOR_END__

.jcr            0x000000000002cc60        0x8
 .jcr           0x000000000002cc60        0x0 /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginS.o
 .jcr           0x000000000002cc60        0x8 /usr/lib/gcc/x86_64-linux-gnu/4.6/crtendS.o

.dynamic        0x000000000002cc68      0x210
 ** dynamic     0x000000000002cc68      0x210

.got            0x000000000002ce78      0x170
 ** GOT         0x000000000002ce78      0x170

.got.plt        0x000000000002cfe8      0x478
 ** GOT PLT     0x000000000002cfe8      0x478
 ** GOT IRELATIVE PLT
                0x000000000002d460        0x0
 ** GOT         0x000000000002d460        0x0

.data           0x000000000002d460     0xede0
 .data          0x000000000002d460        0x0 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crti.o
 .data          0x000000000002d460        0x0 /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginS.o
 .data.rel      0x000000000002d460        0x8 /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginS.o
                0x000000000002d460                __dso_handle
 .data          0x000000000002d480     0xc202 build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
 .data.rel.local
                0x00000000000396a0     0x2ba0 build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
 .data          0x000000000003c240        0x0 /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.a(_muldc3.o)
 .data          0x000000000003c240        0x0 /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.a(_divdc3.o)
 .data          0x000000000003c240        0x0 /usr/lib/gcc/x86_64-linux-gnu/4.6/crtendS.o
 .data          0x000000000003c240        0x0 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crtn.o

.bss            0x000000000003c240     0x12b8
 .bss           0x000000000003c240        0x0 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crti.o
 .bss           0x000000000003c240       0x10 /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginS.o
 .bss           0x000000000003c260      0xf01 build/temp.linux-x86_64-2.7/sage/rings/complex_double.o
                0x000000000003c260                __pyx_module_is_main_sage__rings__complex_double
 .bss           0x000000000003d164        0x0 /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.a(_muldc3.o)
 .bss           0x000000000003d164        0x0 /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.a(_divdc3.o)
 .bss           0x000000000003d164        0x0 /usr/lib/gcc/x86_64-linux-gnu/4.6/crtendS.o
 .bss           0x000000000003d164        0x0 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crtn.o
 ** common      0x000000000003d180      0x378

(sage-sh) sbh@sbh-MacBookPro:src$ 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 -Wl,--verbose
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crti.o succeeded
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginS.o succeeded
/usr/bin/ld: Attempt to open build/temp.linux-x86_64-2.7/sage/rings/complex_double.o succeeded
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/crtendS.o succeeded
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crtn.o succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libcsage.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgsl.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libcblas.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libatlas.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libpari.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgmp.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libm.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libm.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libm.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libm.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libm.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libm.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/../lib/libm.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/../lib/libm.a failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libm.so failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libm.a failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libm.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libstdc++.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libstdc++.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libstdc++.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libstdc++.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libstdc++.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libstdc++.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/../lib/libstdc++.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/../lib/libstdc++.a failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libntl.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libpython2.7.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/../lib/libgcc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/../lib/libgcc.a failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.so failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.a succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc_s.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc_s.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc_s.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc_s.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc_s.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc_s.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/../lib/libgcc_s.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/../lib/libgcc_s.a failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc_s.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libpthread.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libpthread.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libpthread.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libpthread.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libpthread.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libpthread.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/../lib/libpthread.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/../lib/libpthread.a failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libpthread.so failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libpthread.a failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libpthread.so succeeded
/usr/bin/ld: Attempt to open /lib/x86_64-linux-gnu/libpthread.so.0 succeeded
/usr/bin/ld: Attempt to open /usr/lib/x86_64-linux-gnu/libpthread_nonshared.a succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libc.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libc.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libc.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/../lib/libc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/../lib/libc.a failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libc.so failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libc.a failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libc.so succeeded
/usr/bin/ld: Attempt to open /lib/x86_64-linux-gnu/libc.so.6 succeeded
/usr/bin/ld: Attempt to open /usr/lib/x86_64-linux-gnu/libc_nonshared.a succeeded
/usr/bin/ld: Attempt to open /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/../lib/libgcc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/../lib/libgcc.a failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.so failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.a succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc_s.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc_s.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc_s.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc_s.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc_s.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/libgcc_s.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/../lib/libgcc_s.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1/sage-6.1.1/local/lib/../lib/libgcc_s.a failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc_s.so succeeded

Francois Bissey

unread,
Feb 6, 2014, 10:39:14 PM2/6/14
to sage-...@googlegroups.com
I am stumped. I will have to think it over for a bit. Output of "ld -v" please.
________________________________________
From: sage-...@googlegroups.com [sage-...@googlegroups.com] on behalf of sho...@ualberta.ca [sho...@ualberta.ca]
Sent: Friday, 7 February 2014 15:51
To: sage-...@googlegroups.com
Subject: Re: [sage-devel] Error installing package conway_polynomials-0.5.p0 on Ubuntu 12.04 - Sage 6.1.1

On Thursday, February 6, 2014 7:46:41 PM UTC-7, Fran?ois wrote:
OK I need a bigger gun. Try the same compilation again but add -Wl,-M,
then another time but with -Wl,--verbose
send me the output.

sho...@ualberta.ca

unread,
Feb 6, 2014, 10:49:55 PM2/6/14
to sage-...@googlegroups.com
Here it is,

GNU gold (GNU Binutils for Ubuntu 2.22) 1.11

Thanks,
Brett

Niles Johnson

unread,
Feb 7, 2014, 9:40:08 AM2/7/14
to sage-...@googlegroups.com
On Thursday, February 6, 2014 8:39:14 PM UTC-7, François wrote:
I am stumped. I will have to think it over for a bit. Output of "ld -v" please.

While François is thinking, I'll make some other (more rudimentary) suggestions.

* Have you successfully built older versions of sage?  What is the latest one that builds?

* Are there any other packages failing to build? (My guess is no.)

* Could you try checking out and building from the git repository (this shouldn't make a difference, but who knows!?)
[if you checkout the git repository, you can easily roll back to older versions with, e.g., git checkout 6.0]

* In particular, maybe try building the develop branch, just to see whether you get the same or different problems

sho...@ualberta.ca

unread,
Feb 7, 2014, 11:13:34 AM2/7/14
to sage-...@googlegroups.com
Well I did build it successfully once. It was on 12.04 Ubuntu that had been used a lot - many softwares built on it. I then upgraded to 13.10, had many problems, and then decided to reinstall (fresh) 12.04LTS over the top (even reformatted) of 13.10. So in essence, my Ubuntu is pretty new and may not have a lot of "stuff", even though it does have all the prerequisites.

I've actually tried to build 5.13, 6.0, and 6.1.1 and none have worked. It always complains about "conway_polynomail".... I have the log files still too if that can help.

I'll try the GIT build today and see what happens.

I've also wondered about the  PPA build of sagemath, though I don't like the idea of not having a self-contained directory/tree - maybe though it would install something in my /usr/bin or /usr/lib, etc. that I'm missing.....

Thanks for the suggestion.

Brett

Steven Trogdon

unread,
Feb 7, 2014, 12:24:58 PM2/7/14
to sage-...@googlegroups.com
It would seem that there's a problem with Binutils. I basically have the same OS and gcc but with different hardware. However I have

$ ld -v
GNU ld (GNU Binutils for Ubuntu) 2.22

and the linking is good. I had some other hiccups, mainly with cvxopt, when building 6.1.1 but eventually the build completed. I'm not sure why there is a difference in Binutils?

Volker Braun

unread,
Feb 7, 2014, 12:32:32 PM2/7/14
to sage-...@googlegroups.com
So that seems to be the answer, OP uses the gold linker instead of the standard gnu ld. Which apparently can't link Sage. To fix this, uninstall binutils-gold. Gold is geared towards C++ so I'm not too surprised that it fails. Its also relatively new, especially for OP's linux version.

Francois Bissey

unread,
Feb 7, 2014, 1:31:59 PM2/7/14
to sage-...@googlegroups.com
While gold is part of the problem it is not completely its fault in my opinion.
gold I think default to "as-needed" sage/rings/model. complex_double.pyx doesn't directly
call cblas so gold doesn't see it as needed and drop it. The problem here is that libgsl
itself is not linked properly for it to work - regardless of gold.
If you check the readelf -d output for libgsl there is no mention of libcblas/libgslcblas
in the nedded section. So the libgsl doesn't even know where to find its undefined symbols.
I guess gold may be made to work here if we can convince it to include libcblas in the
needed section of complex_double.so. But I think we should fix the somewhat fishy
stuff in libgsl, sure it is legal and all in that you can link with the libclas of your choice
and gold may even do the right thing for an executable where all symbols have to be
resolved but a .so? Well undefined symbols is legal for a library.....

So I would like to know what libgsl looks like before Jean-Pierre's fix for cygwin.

Francois
________________________________________
From: sage-...@googlegroups.com [sage-...@googlegroups.com] on behalf of Volker Braun [vbrau...@gmail.com]
Sent: Saturday, 8 February 2014 6:32
To: sage-...@googlegroups.com
Subject: Re: [sage-devel] Error installing package conway_polynomials-0.5.p0 on Ubuntu 12.04 - Sage 6.1.1

sho...@ualberta.ca

unread,
Feb 7, 2014, 1:46:03 PM2/7/14
to sage-...@googlegroups.com
Hi, just to let you guys know I'm reading... So the "Git" build is presently working in Symmetrica, so I'm not sure if that is before or after the "Conway_polynomials" problem area.... If it works I'll post it in a reply.

Afterwards (in the likely[?] event it fails) I'll try getting rid of Gold and trying 6.1.1 source again. IF that works, I might build another one right beside it with export SAGE_CHECK="yes" set so I feel more confident that it worked....

I'll let you guys know.

Thanks for all the work!!

Brett

Jean-Pierre Flori

unread,
Feb 7, 2014, 2:05:23 PM2/7/14
to sage-...@googlegroups.com


On Friday, February 7, 2014 7:31:59 PM UTC+1, François wrote:
While gold is part of the problem it is not completely its fault in my opinion.
gold I think default to "as-needed" sage/rings/model. complex_double.pyx doesn't directly
call cblas so gold doesn't see it as needed and drop it. The problem here is that libgsl
itself is not linked properly for it to work - regardless of gold.
If you check the readelf -d output for libgsl there is no mention of libcblas/libgslcblas
in the nedded section. So the libgsl doesn't even know where to find its undefined symbols.
I guess gold may be made to work here if we can convince it to include libcblas in the
needed section of complex_double.so. But I think we should fix the somewhat fishy
stuff in libgsl, sure it is legal and all in that you can link with the libclas of your choice
and gold may even do the right thing for an executable where all symbols have to be
resolved but a .so? Well undefined symbols is legal for a library.....

So I would like to know what libgsl looks like before Jean-Pierre's fix for cygwin.

Hum, what did I do?

Volker Braun

unread,
Feb 7, 2014, 2:07:01 PM2/7/14
to sage-...@googlegroups.com
I switched to gold for fun (Fedora 20, gold version 2.23.2) and it dies in Singular. I do have a /usr/lib64/libc_nonshared.a, though:

g++ -O2 -g  -fPIC -I.. -I/home/vbraun/Code/sage.git/local -pipe -fno-implicit-templates -I.. -I/home/vbraun/Code/sage.git/local -I. -I.. -I/home/vbraun/Code/sage.git/local -I/home/vbraun/Code/sage.git/local/include -I/home/vbraun/Code/sage.git/local/include -I/home/vbraun/Code/sage.git/local/include  -I/usr/local/include  -DNDEBUG -DOM_NDEBUG -Dx86_64_Linux -DHAVE_CONFIG_H -fpic -DPIC -c sing_dbm.cc -o sing_dbm.dl_o
ld -shared -o dbmsr.so ndbm.dl_o sing_dbm.dl_o -lc_nonshared
ld: error: cannot find -lc_nonshared
make[1]: *** [dbmsr.so] Error 1
make[1]: Leaving directory `/home/vbraun/Code/sage.git/local/var/tmp/sage/build/singular-3.1.6.p0/src/latest/Singular'


It works with the normal linker:


(sage-sh) vbraun@desktop:Singular$ ld.bfd -shared -o dbmsr.so ndbm.dl_o sing_dbm.dl_o -lc_nonshared
(sage-sh) vbraun@desktop:Singular$ ld.gold -shared -o dbmsr.so ndbm.dl_o sing_dbm.dl_o -lc_nonshared
ld.gold: error: cannot find -lc_nonshared

Steven Trogdon

unread,
Feb 7, 2014, 2:10:07 PM2/7/14
to sage-...@googlegroups.com
On Friday, February 7, 2014 12:31:59 PM UTC-6, François wrote:
While gold is part of the problem it is not completely its fault in my opinion.
gold I think default to "as-needed" sage/rings/model. complex_double.pyx doesn't directly
call cblas so gold doesn't see it as needed and drop it. The problem here is that libgsl
itself is not linked properly for it to work - regardless of gold.
If you check the readelf -d output for libgsl there is no mention of libcblas/libgslcblas
in the nedded section. So the libgsl doesn't even know where to find its undefined symbols.
I guess gold may be made to work here if we can convince it to include libcblas in the
needed section of complex_double.so. But I think we should fix the somewhat fishy
stuff in libgsl, sure it is legal and all in that you can link with the libclas of your choice
and gold may even do the right thing for an executable where all symbols have to be
resolved but a .so? Well undefined symbols is legal for a library.....

 
Yes, I do find it somewhat odd that even with a properly built and linked Sage there are undefined symols in libgsl.so. There must be some level of linking where even this will fail.

Francois Bissey

unread,
Feb 7, 2014, 2:34:30 PM2/7/14
to sage-...@googlegroups.com
Steve, unresolved symbols in library is a "feature" and yes it can make linking dodgy,
as here when one linker needs some stuff that is not there to give you a viable result.

Sorry to Have implicated you Jean-Pierre I just saw that your cygwin patch touched
cblas in gsl so there is a slim chance that it altered the linking of the library.

But really it is probably an upstream feature so that you are not locked in using
libgslcblas but then you have to know what you are doing when linking.

I am not sure which option to pass to gold to make the problem go away got OP
to try --no-undefined on complex_double.so but it doesn't seem to have worked.
Unless I got the syntax wrong of course.

Francois
________________________________________
From: sage-...@googlegroups.com [sage-...@googlegroups.com] on behalf of Steven Trogdon [steven....@gmail.com]
Sent: Saturday, 8 February 2014 8:10
To: sage-...@googlegroups.com
Subject: Re: [sage-devel] Error installing package conway_polynomials-0.5.p0 on Ubuntu 12.04 - Sage 6.1.1

On Friday, February 7, 2014 12:31:59 PM UTC-6, François wrote:
While gold is part of the problem it is not completely its fault in my opinion.
gold I think default to "as-needed" sage/rings/model. complex_double.pyx doesn't directly
call cblas so gold doesn't see it as needed and drop it. The problem here is that libgsl
itself is not linked properly for it to work - regardless of gold.
If you check the readelf -d output for libgsl there is no mention of libcblas/libgslcblas
in the nedded section. So the libgsl doesn't even know where to find its undefined symbols.
I guess gold may be made to work here if we can convince it to include libcblas in the
needed section of complex_double.so. But I think we should fix the somewhat fishy
stuff in libgsl, sure it is legal and all in that you can link with the libclas of your choice
and gold may even do the right thing for an executable where all symbols have to be
resolved but a .so? Well undefined symbols is legal for a library.....


Yes, I do find it somewhat odd that even with a properly built and linked Sage there are undefined symols in libgsl.so. There must be some level of linking where even this will fail.


Francois Bissey

unread,
Feb 7, 2014, 3:22:35 PM2/7/14
to sage-...@googlegroups.com
Just checked on a vanilla install of gsl unresolved cblas is a feature of libgsl.
________________________________________
From: sage-...@googlegroups.com [sage-...@googlegroups.com] on behalf of Francois Bissey [francoi...@canterbury.ac.nz]
Sent: Saturday, 8 February 2014 8:34
To: sage-...@googlegroups.com
Subject: RE: [sage-devel] Error installing package conway_polynomials-0.5.p0 on Ubuntu 12.04 - Sage 6.1.1
--
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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Francois Bissey

unread,
Feb 7, 2014, 4:16:35 PM2/7/14
to sage-...@googlegroups.com
OK one more try at linking complex_double.so add "-Wl,--no-allow-shlib-undefined" at the end of the compilation
line. Note if that works we would need to add it wherever libgsl is linked. In itself not a bad idea. There may be other
place where it end up being needed with gold.
________________________________________
From: sage-...@googlegroups.com [sage-...@googlegroups.com] on behalf of sho...@ualberta.ca [sho...@ualberta.ca]
Sent: Saturday, 8 February 2014 7:46
To: sage-...@googlegroups.com
Subject: Re: [sage-devel] Error installing package conway_polynomials-0.5.p0 on Ubuntu 12.04 - Sage 6.1.1

sho...@ualberta.ca

unread,
Feb 8, 2014, 6:05:11 PM2/8/14
to sage-...@googlegroups.com
Hi, had to leave town for a day... anyways, here is the still bad news (?).

On a separate note, I uninstalled Gold, and compiled everything works fine (a different directory tree). Wish there was a way to have them both on the system and use something like (g)(k)alternatives to choose them. All I could see if changing symbolic links but I dare not do that, especially since my programming doesn't require the subtle differences Sage apparently does.

Thanks for working towards a great product and, of course, all the help.

By the way, this was the GIT pull but exhibited the exact same errors in the compile output. The earlier tree is now working due to the suggestion (VB) to uninstall gold and try it again. I then reinstalled gold and tried your suggested compile command, and below is what I got.

FYI, I'm going to try and build it again (w/o gold) and see if all the tests pass using that export command (that I can't find right now). Or, maybe just ./sage --testall --optional=all --long

Brett

(sage-sh) sbh@sbh-MacBookPro:src$ gcc -pthread -shared -L/home/sbh/SW/Sage6.1.1GIT/local/lib build/temp.linux-x86_64-2.7/sage/rings/complex_double.o -L/home/sbh/SW/Sage6.1.1GIT/sage/local/lib -L/home/sbh/SW/Sage6.1.1GIT/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 -Wl,--verbose -Wl,--no-allow-shlib-undefined/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crti.o succeeded

/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginS.o succeeded
/usr/bin/ld: Attempt to open build/temp.linux-x86_64-2.7/sage/rings/complex_double.o succeeded
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/crtendS.o succeeded
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crtn.o succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libcsage.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libcsage.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libcsage.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libgsl.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libgsl.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libgsl.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libcblas.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libcblas.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libcblas.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libatlas.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libatlas.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libatlas.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libpari.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libpari.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libpari.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libgmp.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libgmp.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libgmp.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libm.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libm.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libm.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libm.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libm.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libm.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/../lib/libm.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/../lib/libm.a failed

/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libm.so failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libm.a failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libm.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libstdc++.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libstdc++.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libstdc++.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libstdc++.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libstdc++.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libstdc++.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/../lib/libstdc++.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/../lib/libstdc++.a failed

/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libntl.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libntl.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libntl.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libpython2.7.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libpython2.7.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libpython2.7.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libgcc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libgcc.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libgcc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libgcc.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libgcc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libgcc.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/../lib/libgcc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/../lib/libgcc.a failed

/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.so failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.a succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libgcc_s.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libgcc_s.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libgcc_s.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libgcc_s.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libgcc_s.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libgcc_s.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/../lib/libgcc_s.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/../lib/libgcc_s.a failed

/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc_s.so succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libpthread.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libpthread.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libpthread.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libpthread.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libpthread.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libpthread.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/../lib/libpthread.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/../lib/libpthread.a failed

/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libpthread.so failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libpthread.a failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libpthread.so succeeded
/usr/bin/ld: Attempt to open /lib/x86_64-linux-gnu/libpthread.so.0 succeeded
/usr/bin/ld: Attempt to open /usr/lib/x86_64-linux-gnu/libpthread_nonshared.a succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libc.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libc.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libc.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/../lib/libc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/../lib/libc.a failed

/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libc.so failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libc.a failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libc.so succeeded
/usr/bin/ld: Attempt to open /lib/x86_64-linux-gnu/libc.so.6 succeeded
/usr/bin/ld: Attempt to open /usr/lib/x86_64-linux-gnu/libc_nonshared.a succeeded
/usr/bin/ld: Attempt to open /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libgcc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libgcc.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libgcc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libgcc.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libgcc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libgcc.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/../lib/libgcc.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/../lib/libgcc.a failed

/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.so failed
/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.a succeeded
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libgcc_s.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libgcc_s.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libgcc_s.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/libgcc_s.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libgcc_s.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/local/lib/libgcc_s.a failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/../lib/libgcc_s.so failed
/usr/bin/ld: Attempt to open /home/sbh/SW/Sage6.1.1GIT/sage/local/lib/../lib/libgcc_s.a failed

/usr/bin/ld: Attempt to open /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc_s.so succeeded
(sage-sh) sbh@sbh-MacBookPro:src$

Jean-Pierre Flori

unread,
Apr 25, 2014, 9:36:43 AM4/25/14
to sage-...@googlegroups.com


On Friday, February 7, 2014 8:07:01 PM UTC+1, Volker Braun wrote:
I switched to gold for fun (Fedora 20, gold version 2.23.2) and it dies in Singular. I do have a /usr/lib64/libc_nonshared.a, though:

g++ -O2 -g  -fPIC -I.. -I/home/vbraun/Code/sage.git/local -pipe -fno-implicit-templates -I.. -I/home/vbraun/Code/sage.git/local -I. -I.. -I/home/vbraun/Code/sage.git/local -I/home/vbraun/Code/sage.git/local/include -I/home/vbraun/Code/sage.git/local/include -I/home/vbraun/Code/sage.git/local/include  -I/usr/local/include  -DNDEBUG -DOM_NDEBUG -Dx86_64_Linux -DHAVE_CONFIG_H -fpic -DPIC -c sing_dbm.cc -o sing_dbm.dl_o
ld -shared -o dbmsr.so ndbm.dl_o sing_dbm.dl_o -lc_nonshared
ld: error: cannot find -lc_nonshared
make[1]: *** [dbmsr.so] Error 1
make[1]: Leaving directory `/home/vbraun/Code/sage.git/local/var/tmp/sage/build/singular-3.1.6.p0/src/latest/Singular'


It works with the normal linker:


(sage-sh) vbraun@desktop:Singular$ ld.bfd -shared -o dbmsr.so ndbm.dl_o sing_dbm.dl_o -lc_nonshared
(sage-sh) vbraun@desktop:Singular$ ld.gold -shared -o dbmsr.so ndbm.dl_o sing_dbm.dl_o -lc_nonshared
ld.gold: error: cannot find -lc_nonshared

I now get a similar error on Debian (experimental) with the default ld...
And I have
"""
find /lib /usr/ -name "libc_nonshared*"
/usr/lib32/libc_nonshared.a
/usr/lib/x86_64-linux-gnu/libc_nonshared.a
/usr/libx32/libc_nonshared.a
"""

Jean-Pierre Flori

unread,
Apr 25, 2014, 9:38:01 AM4/25/14
to sage-...@googlegroups.com
ld -v                  
GNU ld (GNU Binutils for Debian) 2.24.51.20140411

Reply all
Reply to author
Forward
0 new messages