symbol lookup error: /usr/lib/liblapack.so.3gf: undefined symbol: ATL_dGetNB

Bug #1005219 reported by Rüdiger Sonderfeld
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
atlas (Debian)
Fix Released
Unknown
atlas (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When I call the function polyfit in octave it results in the following error "symbol lookup error: /usr/lib/liblapack.so.3gf: undefined symbol: ATL_dGetNB" and octave exits immediately.

Here is an example code that illustrates the problem

    x = 1:10:80;
    y = erfc(x);
    p = polyfit(x,y,8)

I'm using libatlas:

$ update-alternatives --display liblapack.so.3gf
liblapack.so.3gf - auto mode
  link currently points to /usr/lib/atlas-base/atlas/liblapack.so.3gf
/usr/lib/atlas-base/atlas/liblapack.so.3gf - priority 35
/usr/lib/lapack/liblapack.so.3gf - priority 10
Current 'best' version is '/usr/lib/atlas-base/atlas/liblapack.so.3gf'.

$ nm -D /usr/lib/liblapack.so.3gf | grep ATL_dGetNB
                 U ATL_dGetNB

I'm using Kubuntu 12.04

Tags: precise
Revision history for this message
Rüdiger Sonderfeld (ruediger-c-plusplus) wrote :

Workarround: Switch to the default lapack

sudo update-alternatives --set liblapack.so.3gf /usr/lib/lapack/liblapack.so.3gf

Requires package "liblapack3gf".

Revision history for this message
Mike Miller (mtmiller) wrote :

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624318 for details on the status of this.

In addition to your solution, you can also configure blas to be the Atlas implementation, which should have been the default.

Try either:

$ sudo update-alternatives --auto libblas.so.3gf

or

$ sudo update-alternatives --set libblas.so.3gf /usr/lib/atlas-base/atlas/libblas.so.3gf

Revision history for this message
Mike Miller (mtmiller) wrote :

Reassigned to Ubuntu atlas package.

affects: octave (Ubuntu) → atlas (Ubuntu)
Changed in atlas (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in atlas (Ubuntu):
status: New → Confirmed
Revision history for this message
Martin Konôpka (martin.konopka) wrote :

The problem with ATLAS manifests itself not only when calling (from octave) the polyfit() function but also in other cases. In my case I need to perform inversion of a complex matrix:

imat = inv(mat);

Doing this, I see an error message

/usr/bin/octave: symbol lookup error: /usr/lib/liblapack.so.3gf: undefined symbol: ATL_izamax

Revision history for this message
Sylvestre Ledru (sylvestre) wrote :
Changed in atlas (Debian):
status: New → Fix Committed
Changed in atlas (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Mike Miller (mtmiller) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in the latest development version of Ubuntu - Utopic Unicorn.

If you need a fix for the bug in previous versions of Ubuntu, please follow the instructions for "Requesting a Backport" at https://wiki.ubuntu.com/UbuntuBackports#Requesting_a_Backport

Changed in atlas (Ubuntu):
status: Confirmed → Fix Released
Norbert (nrbrtx)
tags: added: precise
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.