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

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

[Octave-bug-tracker] [bug #64033] Instrument-Control.0.8.0 install probl


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #64033] Instrument-Control.0.8.0 install problem
Date: Wed, 12 Apr 2023 18:55:47 -0400 (EDT)

Follow-up Comment #12, bug #64033 (project octave):

I tried to compile octave and instrument-control (on linux)
against LLVM's libc++ (rather than default GNU libstdc++).
Those libraries are not 100% ABI compatible.

It failed with a similar error:

error:
.local/share/octave/api-v58/packages/instrument-control-0.8.0/x86_64-pc-linux-gnu-api-v58/gpib.oct:
failed to load
Incompatible version or missing dependency?
.local/share/octave/api-v58/packages/instrument-control-0.8.0/x86_64-pc-linux-gnu-api-v58/gpib.oct:
undefined symbol:
_ZNK5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17resize_fill_valueEv


I guess the reason is that octave binary is actually linked against both
libc++ and libstdc++ (through the libraries it depends upon) and that is
probably not a good thing.


$ ldd /usr/local/bin/octave-cli | grep c++
        libc++.so.1 => /usr/lib64/libc++.so.1 (0x00007f5f3aefc000)
        libc++abi.so.1 => /usr/lib64/libc++abi.so.1 (0x00007f5f3d836000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f5f3a600000)


Dmitri.
-- 




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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