Announcement

Collapse
No announcement yet.

Is there a statically-linked Linux build?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is there a statically-linked Linux build?

    Trying to update feeder software* on Ubuntu 14.04 Server LTS, but the versions from fr24feed_1.0.17_x onwards are all dynamically linked against GLIBCXX_3.4.20.

    Current LTS server library version is 3.4.19, next version bump will be in 2017.

    A static version would therefore be very very useful.

    Thanks!


    [I]* I wouldn't normally bother but the really old version of the feeder I was running now fails with the infamous "Parsing configuration...ERROR"

  • #2
    Here's a workaround to install 3.4.20 on 14.04 Server LTS ( probably best not to do this on a production-critical box though )

    1. Install the experimental toolchain PPA

    Code:
    sudo add-apt-repository ppa:ubuntu-toolchain-r/test
    2. Update the indices

    Code:
    sudo apt-get update
    3. Install the latest g++ and libraries

    Code:
    sudo apt-get install gcc-4.9 g++-4.9 cpp-4.9
    4. Check the versions now available

    Code:
    strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
    GLIBCXX_3.4
    GLIBCXX_3.4.1
    ...
    GLIBCXX_3.4.19
    GLIBCXX_3.4.20
    GLIBCXX_3.4.21
    GLIBCXX_3.4.22
    GLIBCXX_DEBUG_MESSAGE_LENGTH
    5. Latest FR24 feeder client 1.0.18-5 now runs

    Comment

    Working...
    X