pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39026: applications linked with library won't run due to undefined symbols



>Number:         39026
>Category:       pkg
>Synopsis:       applications linked with library won't run due to undefined 
>symbols
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 23 03:35:00 +0000 2008
>Originator:     Berndt Josef Wulf
>Release:        NetBSD-4.99.64 i386
>Organization:
NTC-Electronics
>Environment:
NetBSD barossa 4.99.64 NetBSD 4.99.64 (GENERIC) #1: Mon Jun 16 14:36:03 CST 
2008  wulf@barossa:/usr/obj/sys/arch/i386/compile/GENERIC i386

>Description:
Applications linked against lapack libraries won't run due to undefined symbols 
in libraries see below:

  File "/usr/pkg/lib/python2.5/site-packages/numpy/linalg/linalg.py", line 29, 
in <module>
    from numpy.linalg import lapack_lite
ImportError: /usr/pkg/lib/liblapack.so.3: Undefined PLT symbol "pow_zi" (symnum 
= 72)

It was suggested to modify --tag=CC to --tag=F77 in patch/patch-aa as otherwise 
ld is used to link the library and the fortran support libraries aren't linked. 
This fixed this problem but introduced a new error message: undefined symbol 
MAIN__ in libF77.
>How-To-Repeat:
Build a project using the lapack library.
>Fix:



Home | Main Index | Thread Index | Old Index