Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] MongoDB broken after GCC update

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
vanjo9800
Tux's lil' helper
Tux's lil' helper
Posts: 76
Joined: Mon Mar 16, 2015 8:23 pm

[SOLVED] MongoDB broken after GCC update

  • Quote

Post by vanjo9800 » Wed Sep 06, 2017 6:19 am

Hi, I have recently updated GCC to 6.4.0 which as far as I know is a relative stable version. However, since then my MongoDB package completely stopped working. It current version throws the following error:

Code: Select all

mongod: symbol lookup error: mongod: undefined symbol: _ZNK5boost16re_detail_10630031cpp_regex_traits_implementationIcE17transform_primaryEPKcS4_
while when I try to update it, the build fails giving the following error:

Code: Select all

<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp: In function 'void mongo::{anonymous}::checkReadAhead(const string&)':
src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp:176:70: error: 'major' was not declared in this scope
         string path = str::stream() << "/sys/dev/block/" << major(dev) << ':' << minor(dev)
                                                                      ^
src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp:176:91: error: 'minor' was not declared in this scope
         string path = str::stream() << "/sys/dev/block/" << major(dev) << ':' << minor(dev)
                                                                                           ^
Compiling build/opt/mongo/db/storage/mmap_v1/repair_database.o
I know that this is something caused by the updated GCC libraries and other build dependencies such as boost, so I have rebuilt them as well, but there was no effect. I have also run the following commands as part of the GCC update procedure:

Code: Select all

revdep-rebuild --library 'libstdc++.so.5'
revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc  
How can I fix that?
Last edited by vanjo9800 on Wed Sep 06, 2017 7:08 am, edited 1 time in total.
Top
vanjo9800
Tux's lil' helper
Tux's lil' helper
Posts: 76
Joined: Mon Mar 16, 2015 8:23 pm

  • Quote

Post by vanjo9800 » Wed Sep 06, 2017 7:08 am

It was automatically fixed in the next update.
Top
Post Reply

2 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic