[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54276] Linking issues
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #54276] Linking issues |
Date: |
Mon, 9 Jul 2018 14:25:59 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0 |
Follow-up Comment #6, bug #54276 (project octave):
Yes, this should work and the '-lblas' and '-llapack' are not needed because
they are already linked with liboctave.so. On GNU/Linux systems, if a shared
library liboctave.so already references libblas.so, then I only need to link
with '-loctave' to implicitly link with the other.
Please try building again with LDFLAGS such that it includes
'-L/work/logiciels/rh7/lapack/3.6.1/lib
-L/work/logiciels/rh7/hdf5/1.8.17/lib'. That should allow all link commands to
search these directories. The way you are configuring with a full path to the
library file name is better suited to static libraries. Can you show the
failing link command line with that configuration?
Have you tried also setting LD_LIBRARY_PATH to include the lib directories,
e.g.
'LD_LIBRARY_PATH=/work/logiciels/rh7/lapack/3.6.1/lib:/work/logiciels/rh7/hdf5/1.8.17/lib'?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54276>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #54276] Linking issues, anonymous, 2018/07/09
- [Octave-bug-tracker] [bug #54276] Linking issues, John W. Eaton, 2018/07/09
- [Octave-bug-tracker] [bug #54276] Linking issues, anonymous, 2018/07/09
- [Octave-bug-tracker] [bug #54276] Linking issues, John W. Eaton, 2018/07/09
- [Octave-bug-tracker] [bug #54276] Linking issues, anonymous, 2018/07/09
- [Octave-bug-tracker] [bug #54276] Linking issues, John W. Eaton, 2018/07/09
- [Octave-bug-tracker] [bug #54276] Linking issues,
Mike Miller <=
- [Octave-bug-tracker] [bug #54276] Linking issues, Mike Miller, 2018/07/09
- [Octave-bug-tracker] [bug #54276] Linking issues, anonymous, 2018/07/10
- [Octave-bug-tracker] [bug #54276] Linking issues, John W. Eaton, 2018/07/10
- [Octave-bug-tracker] [bug #54276] Linking issues, anonymous, 2018/07/10
- [Octave-bug-tracker] [bug #54276] Linking issues, John W. Eaton, 2018/07/10