<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    I'll answer my own question. It was a mix of using two different
    fortran compilers so specified the option: python setup.py config_fc
    --fcompiler=gfortran build.<br>
    <br>
    All seems to be going well now.<br>
    <br>
    <br>
    On 07/08/2011 05:35 PM, Jeffrey Spencer wrote:
    <blockquote
cite="mid:CALmFPZ1K3Zhr8Voso1EzC+ynmeOuBDUWpnTF-soZdEQg4suiPA@mail.gmail.com"
      type="cite">That actually makes sense because I am not sure the
      gnu that it was compiled with but I think it is different. I have
      since compiled gcc myself, then python, and atlas libraries. Then
      I tried to install numpy. It go tthrough the install no worries
      and found the correct libraries. It stuffed when I tried to import
      it with this error:
      <div>
        <br>
      </div>
      <div>
        <div>>>> import numpy</div>
        <div>Traceback (most recent call last):</div>
        <div>  File "<stdin>", line 1, in <module></div>
        <div>  File
          "/home/jspender/lib/python2.6/site-packages/numpy/__init__.py",
          line 137, in <module></div>
        <div>    import add_newdocs</div>
        <div>  File
          "/home/jspender/lib/python2.6/site-packages/numpy/add_newdocs.py",
          line 9, in <module></div>
        <div>    from numpy.lib import add_newdoc</div>
        <div>  File
          "/home/jspender/lib/python2.6/site-packages/numpy/lib/__init__.py",
          line 13, in <module></div>
        <div>    from polynomial import *</div>
        <div>  File
          "/home/jspender/lib/python2.6/site-packages/numpy/lib/polynomial.py",
          line 17, in <module></div>
        <div>    from numpy.linalg import eigvals, lstsq</div>
        <div>
            File
          "/home/jspender/lib/python2.6/site-packages/numpy/linalg/__init__.py",
          line 48, in <module></div>
        <div>    from linalg import *</div>
        <div>  File
          "/home/jspender/lib/python2.6/site-packages/numpy/linalg/linalg.py",
          line 23, in <module></div>
        <div>    from numpy.linalg import lapack_lite</div>
        <div>ImportError:
          /home/jspender/lib/python2.6/site-packages/numpy/linalg/lapack_lite.so:
          undefined symbol: _gfortran_concat_string</div>
        <div>>>> </div>
        <div><br>
        </div>
        <div>Any ideas???</div>
        <div><br>
        </div>
        <div>Cheers,</div>
        <div>Jeff</div>
        <br>
        <div class="gmail_quote">On Fri, Jul 8, 2011 at 12:37 AM, Bruce
          Southey <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:bsouthey@gmail.com">bsouthey@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            <div>
              <div class="h5">On 07/07/2011 05:23 AM, Jeffrey Spencer
                wrote:<br>
                > The error is below:<br>
                ><br>
                > creating
                build/temp.linux-x86_64-2.6/numpy/core/blasdot<br>
                > compile options: '-DATLAS_INFO="\"None\""
                -Inumpy/core/blasdot<br>
                > -Inumpy/core/include<br>
                >
                -Ibuild/src.linux-x86_64-2.6/numpy/core/include/numpy<br>
                > -Inumpy/core/src/private -Inumpy/core/src
                -Inumpy/core<br>
                > -Inumpy/core/src/npymath
                -Inumpy/core/src/multiarray<br>
                > -Inumpy/core/src/umath -Inumpy/core/include<br>
                > -I/home/jspender/include/python2.6<br>
                >
                -Ibuild/src.linux-x86_64-2.6/numpy/core/src/multiarray<br>
                > -Ibuild/src.linux-x86_64-2.6/numpy/core/src/umath
                -c'<br>
                > gcc: numpy/core/blasdot/_dotblas.c<br>
                > numpy/core/blasdot/_dotblas.c: In function
                ‘dotblas_matrixproduct’:<br>
                > numpy/core/blasdot/_dotblas.c:239: warning:
                comparison of distinct<br>
                > pointer types lacks a cast<br>
                > numpy/core/blasdot/_dotblas.c:257: warning: passing
                argument 3 of<br>
                > ‘*(PyArray_API + 2240u)’ from incompatible pointer
                type<br>
                > numpy/core/blasdot/_dotblas.c:292: warning: passing
                argument 3 of<br>
                > ‘*(PyArray_API + 2240u)’ from incompatible pointer
                type<br>
                > gcc -pthread -shared<br>
                >
                build/temp.linux-x86_64-2.6/numpy/core/blasdot/_dotblas.o<br>
                > -L/usr/local/lib -Lbuild/temp.linux-x86_64-2.6
                -lf77blas -lcblas -latlas<br>
                > -o
                build/lib.linux-x86_64-2.6/numpy/core/_dotblas.so<br>
                > /usr/bin/ld: skipping incompatible
                /usr/local/lib/libf77blas.a when<br>
                > searching for -lf77blas<br>
                > /usr/bin/ld: skipping incompatible
                /usr/local/lib/libf77blas.a when<br>
                > searching for -lf77blas<br>
                > /usr/bin/ld: cannot find -lf77blas<br>
                > collect2: ld returned 1 exit status<br>
                > /usr/bin/ld: skipping incompatible
                /usr/local/lib/libf77blas.a when<br>
                > searching for -lf77blas<br>
                > /usr/bin/ld: skipping incompatible
                /usr/local/lib/libf77blas.a when<br>
                > searching for -lf77blas<br>
                > /usr/bin/ld: cannot find -lf77blas<br>
                > collect2: ld returned 1 exit status<br>
                > error: Command "gcc -pthread -shared<br>
                >
                build/temp.linux-x86_64-2.6/numpy/core/blasdot/_dotblas.o<br>
                > -L/usr/local/lib -Lbuild/temp.linux-x86_64-2.6
                -lf77blas -lcblas -latlas<br>
                > -o
                build/lib.linux-x86_64-2.6/numpy/core/_dotblas.so"
                failed with exit<br>
                > status 1<br>
                ><br>
                > Any help would be appreciated.<br>
                ><br>
              </div>
            </div>
            Python is looking for a 64-bit  library as the one in
            /usr/local/lib/ is<br>
            either 32-bit or built with a different compiler version. If
            you have<br>
            the correct library in another location then you need to
            point numpy to<br>
            it or just build everything with the same compiler.<br>
            <br>
            Bruce<br>
            <br>
            _______________________________________________<br>
            NumPy-Discussion mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
            <a moz-do-not-send="true"
              href="http://mail.scipy.org/mailman/listinfo/numpy-discussion"
              target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
  </body>
</html>