Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2010 10:33:02 GMT
From:      Henry Lenzi <henry.lenzi@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/151595: Cannot build math ATLAS and LAPACK because libc_p.a is not found.
Message-ID:  <201010201033.o9KAX2sB084863@www.freebsd.org>
Resent-Message-ID: <201010201040.o9KAe8iF049408@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         151595
>Category:       ports
>Synopsis:       Cannot build math ATLAS and LAPACK because libc_p.a is not found.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 20 10:40:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Henry Lenzi
>Release:        8.1-RELEASE
>Organization:
>Environment:
FreeBSD  8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
In order to build scipy, a Python port for numerical computing you have to build the port /usr/ports/math/atlas with WITHSTATICLIB=YES.

However, the atlas installation starts the lapack installation (another Math port). At some point, the whole process stops. Apparently, the fault lies in the fact that libc_p.a can't be found. See the output bellow.
------------------------------------------------

Building profile lapack library
make -C /usr/ports/math/lapack/work/lapack-3.2.2_profile  WITH_STATICLIB=YES ARC
H=i386 OPSYS=FreeBSD OSREL=8.1 OSVERSION=801000 SYSTEMVERSION= -D INSTALLS_DEPEN
DS ARCH=i386 OPSYS=FreeBSD OSREL=8.1 OSVERSION=801000 SYSTEMVERSION= -j`/sbin/sy
sctl -n kern.smp.cpus` ARCH="/usr/local/bin/ar"
( cd INSTALL; make; ./testlsame; ./testslamch;  ./testdlamch; ./testsecond; ./te
stdsecnd; ./testversion )
gfortran44 -O -pg -c lsame.f -o lsame.o
gfortran44 -O -pg -c lsametst.f -o lsametst.o
gfortran44 -O0 -pg -c slamch.f -o slamch.o
gfortran44 -O -pg -c slamchtst.f -o slamchtst.o
gfortran44 -O0 -pg -c dlamch.f -o dlamch.o
gfortran44 -O -pg -c dlamchtst.f -o dlamchtst.o
gfortran44 -O -pg -c second_INT_ETIME.f -o second_INT_ETIME.o
gfortran44 -O -pg -c secondtst.f -o secondtst.o
gfortran44 -O -pg -c dsecnd_INT_ETIME.f -o dsecnd_INT_ETIME.o
gfortran44 -O -pg -c dsecndtst.f -o dsecndtst.o
gfortran44 -O -pg -c tstiee.f -o tstiee.o
gfortran44 -O -pg -c ilaver.f -o ilaver.o
gfortran44 -O -pg -c LAPACK_version.f -o LAPACK_version.o
gfortran44 -Wl,-rpath=/usr/local/lib/gcc44 -pg -o testlsame lsame.o lsametst.o
/usr/local/bin/ld: cannot find -lc_p
collect2: ld returned 1 exit status
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2

Stop in /usr/ports/math/lapack.
*** Error code 1

Stop in /usr/ports/math/atlas.
-------------------------------------------

Atlas and lapack are two very fundamental Fortran libraries. A great many mathematics free software depend on these two.
Please help.

TIA,
Henry Lenzi
PS: I have no idea what is libc_p.a, but see: 
http://ubuntuforums.org/showthread.php?t=701804
>How-To-Repeat:
Attempt to rebuild atlas.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010201033.o9KAX2sB084863>