ports/151595: Cannot build math ATLAS and LAPACK because libc_p.a is not found.
Henry Lenzi
henry.lenzi at gmail.com
Wed Oct 20 10:40:09 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list