octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #66472] undefined reference to lapack library


From: Rik
Subject: [Octave-bug-tracker] [bug #66472] undefined reference to lapack library
Date: Mon, 25 Nov 2024 14:47:50 -0500 (EST)

Follow-up Comment #4, bug #66472 (group octave):

A little bit of progress.  It does seem that the linker is not able to find an
adequate library with the correct functions.

Could you run your configure script and capture stdout/stderr and upload the
file?  In particular, the configure script finishes by printing a list of the
flags that it has determined are necessary for compilation.  I want to see
that those are correct for your situation.

Since it is the linker, rather than runtime, that is failing I think the
solution will not be with LD_LIBRARY_PATH.  It might be with LIBS or LDLIBS.
According to the documentation for make, the default linker command is


‘$(CC) $(LDFLAGS) n.o $(LOADLIBES) $(LDLIBS)’


So, it would seem that extra libraries, such as '-lm' for math, would be put
in LDLIBS variable.  LOADLIBES is deprecated and sholdn't be used.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66472>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]