Project

General

Profile

Bug #6615

symbol not found in boost libraries

Added by Sander de Leeuw over 2 years ago. Updated 8 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Base libraries
Target version:
Start date:
01/03/2017
Due date:
% Done:

0%

Estimated time:
Affected versions:
Security IDs:

Description

I believe that the `boost` libraries were not recompiled against (some lib in) Alpine 3.5.0.
Running Alpine on a Raspberry Pi 3.

Reproduce:
$ apk add boost
$ ldd /usr/lib/libboost_timer-mt.so.1.62.0
ldd (0x74b2d000)
libboost_chrono-mt.so.1.62.0 => /usr/lib/libboost_chrono-mt.so.1.62.0 (0xa6f8b000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xa6f71000)
libc.musl-armhf.so.1 => ldd (0x74b2d000)
libboost_system-mt.so.1.62.0 => /usr/lib/libboost_system-mt.so.1.62.0 (0xa6f5e000)
Error relocating /usr/lib/libboost_chrono-mt.so.1.62.0: _cxa_free_exception: symbol not found
Error relocating /usr/lib/libboost_chrono-mt.so.1.62.0: __cxa_end_cleanup: symbol not found
Error relocating /usr/lib/libboost_chrono-mt.so.1.62.0: _ZNSt7
_cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERjj: symbol not found
Error relocating /usr/lib/libboost_chrono-mt.so.1.62.0: __cxa_call_unexpected: symbol not found
Error relocating /usr/lib/libboost_chrono-mt.so.1.62.0: _ZNSt13runtime_errorD2Ev: symbol not found
...


Related issues

Is duplicate of Alpine Linux - Bug #6874: libboost-python3 appears to be built against Python 2.x and is underlinked?Closed02/16/2017

History

#1 Updated by Sander de Leeuw over 2 years ago

Well, rebuilding `boost` was not the solution to this problem.

#2 Updated by Natanael Copa over 2 years ago

  • Target version changed from 3.5.0 to 3.5.1

#3 Updated by Natanael Copa over 2 years ago

  • Target version changed from 3.5.1 to 3.5.2

#4 Updated by Natanael Copa about 2 years ago

  • Target version changed from 3.5.2 to 3.5.3

#5 Updated by Sander de Leeuw about 2 years ago

This issue seems to be a duplicate of closed/fixed issue:
https://bugs.alpinelinux.org/issues/6874

#6 Updated by Natanael Copa about 2 years ago

Sander de Leeuw wrote:

This issue seems to be a duplicate of closed/fixed issue:
https://bugs.alpinelinux.org/issues/6874

So it works now?

#7 Updated by Natanael Copa about 2 years ago

  • Status changed from New to Resolved

#8 Updated by Natanael Copa about 2 years ago

  • Is duplicate of Bug #6874: libboost-python3 appears to be built against Python 2.x and is underlinked? added

#9 Updated by Sander de Leeuw about 2 years ago

I have tested this again.
Unfortunately, this issue has not been resolved.
Tested on a clean rpi3 + alpine 3.5.2 + boost 1.62.0-r3.

rpi02:~$ ldd /usr/lib/libboost_timer-mt.so.1.62.0
ldd (0x74b80000)
libboost_chrono-mt.so.1.62.0 => /usr/lib/libboost_chrono-mt.so.1.62.0 (0xa6fa7000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xa6f8d000)
libc.musl-armhf.so.1 => ldd (0x74b80000)
libboost_system-mt.so.1.62.0 => /usr/lib/libboost_system-mt.so.1.62.0 (0xa6f7a000)
Error relocating /usr/lib/libboost_chrono-mt.so.1.62.0: _cxa_free_exception: symbol not found
Error relocating /usr/lib/libboost_chrono-mt.so.1.62.0: __cxa_end_cleanup: symbol not found
Error relocating /usr/lib/libboost_chrono-mt.so.1.62.0: _ZNSt7
_cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERjj: symbol not found
Error relocating /usr/lib/libboost_chrono-mt.so.1.62.0: _cxa_call_unexpected: symbol not found
Error relocating /usr/lib/libboost_chrono-mt.so.1.62.0: _ZNSt13runtime_errorD2Ev: symbol not found
Error relocating /usr/lib/libboost_chrono-mt.so.1.62.0: _ZdlPv: symbol not found
Error relocating /usr/lib/libboost_chrono-mt.so.1.62.0: _ZSt20
_throw_length_errorPKc: symbol not found
Error relocating /usr/lib/libboost_chrono-mt.so.1.62.0: _cxa_end_catch: symbol not found
Error relocating /usr/lib/libboost_chrono-mt.so.1.62.0: __gxx_personality_v0: symbol not found
Error relocating /usr/lib/libboost_chrono-mt.so.1.62.0: _ZdlPvj: symbol not found
Error relocating /usr/lib/libboost_chrono-mt.so.1.62.0: _ZNKSt13runtime_error4whatEv: symbol not found
Error relocating /usr/lib/libboost_chrono-mt.so.1.62.0: _ZNSt8ios_base4InitC1Ev: symbol not found
Error relocating /usr/lib/libboost_chrono-mt.so.1.62.0: _ZSt19
_throw_logic_errorPKc: symbol not found
Error relocating /usr/lib/libboost_chrono-mt.so.1.62.0: _cxa_throw: symbol not found
Error relocating /usr/lib/libboost_chrono-mt.so.1.62.0: _ZNSt7
_cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendE
...

Sorry for pointing to the other ticket while it turns out to be unrelated.
Please reopen this ticket.

#10 Updated by Natanael Copa about 2 years ago

  • Status changed from Resolved to New

#11 Updated by Natanael Copa 8 months ago

  • Target version changed from 3.5.3 to 3.5.4

Also available in: Atom PDF