MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
Nightingale Forums - Nightingale on RHEL6

Nightingale Forums

Full Version: Nightingale on RHEL6
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi. Trying to get this going on RHEL6.

Downloaded the binary distribution, but it fails with an XPCOM error:

Nightingale]$ ./nightingale
Couldn't load XPCOM.

and, that's it.

I'd appreciate any suggestions.

PS I also tried compiling from source, but that failed:

Code:
g++ -o sbMetadataHandlerTaglib.so -Wl,-z,defs -Wl,-rpath-link,/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/compiled/dist/xulrunner -shared -Wl,-rpath,\$ORIGIN/../xulrunner -L/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/dependencies/linux-x86_64/mozilla-1.9.2/release/lib MetadataHandlerTaglib.o MetadataHandlerTaglibComponent.o SeekableChannel.o TaglibChannelFileIO.o TaglibChannelFileIOManager.o       /home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/compiled/components/moz/strings/src/sbMozStringUtils.a   /home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/compiled/components/moz/threads/src/sbMozThreads.a   /home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/dependencies/linux-x86_64/taglib/release/lib/libtag.a -lxpcomglue_s -lnspr4 -lxpcom -lunicharutil_external_s -lplds4 -lz  
/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/dependencies/linux-x86_64/taglib/release/lib/libtag.a(id3v2framefactory.cpp.o): In function `TagLib::ID3v2::FrameFactory::createFrame(TagLib::ByteVector const&, bool) const':
/mnt/ngale/nightingale-deps/build/taglib/release/taglib/mpeg/id3v2/id3v2framefactory.cpp:82: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/dependencies/linux-x86_64/taglib/release/lib/libtag.a(id3v2tag.cpp.o): In function `TagLib::ID3v2::Latin1StringHandler::~Latin1StringHandler()':
/mnt/ngale/nightingale-deps/build/taglib/release/taglib/mpeg/id3v2/id3v2tag.cpp:90: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/dependencies/linux-x86_64/taglib/release/lib/libtag.a(id3v2tag.cpp.o): In function `__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<TagLib::String const, TagLib::StringList> > >::max_size() const':
/usr/include/c++/4.7/ext/new_allocator.h:(.text._ZNSt4listIPN6TagLib5ID3v25FrameESaIS3_EE8_M_eraseESt14_List_iteratorIS3_E[std::list<TagLib::ID3v2::Frame*, std::allocator<TagLib::ID3v2::Frame*> >::_M_erase(std::_List_iterator<TagLib::ID3v2::Frame*>)]+0x19): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/dependencies/linux-x86_64/taglib/release/lib/libtag.a(commentsframe.cpp.o): In function `__gnu_cxx::new_allocator<std::_List_node<TagLib::ByteVector> >::max_size() const':
/usr/include/c++/4.7/ext/new_allocator.h:(.text._ZNSt4listIN6TagLib10ByteVectorESaIS1_EE9_M_insertESt14_List_iteratorIS1_ERKS1_[std::list<TagLib::ByteVector, std::allocator<TagLib::ByteVector> >::_M_insert(std::_List_iterator<TagLib::ByteVector>, TagLib::ByteVector const&)]+0x3a): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/dependencies/linux-x86_64/taglib/release/lib/libtag.a(relativevolumeframe.cpp.o): In function `__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<TagLib::ID3v2::RelativeVolumeFrame::ChannelType const, ChannelData> > >::max_size() const':
/usr/include/c++/4.7/ext/new_allocator.h:(.text._ZNSt4listIN6TagLib5ID3v219RelativeVolumeFrame11ChannelTypeESaIS3_EE9_M_insertESt14_List_iteratorIS3_ERKS3_[std::list<TagLib::ID3v2::RelativeVolumeFrame::ChannelType, std::allocator<TagLib::ID3v2::RelativeVolumeFrame::ChannelType> >::_M_insert(std::_List_iterator<TagLib::ID3v2::RelativeVolumeFrame::ChannelType>, TagLib::ID3v2::RelativeVolumeFrame::ChannelType const&)]+0x3a): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/dependencies/linux-x86_64/taglib/release/lib/libtag.a(xiphcomment.cpp.o): In function `__gnu_cxx::new_allocator<std::_List_node<TagLib::String> >::max_size() const':
/usr/include/c++/4.7/ext/new_allocator.h:(.text._ZNSt4listIN6TagLib6StringESaIS1_EE8_M_eraseESt14_List_iteratorIS1_E[std::list<TagLib::String, std::allocator<TagLib::String> >::_M_erase(std::_List_iterator<TagLib::String>)]+0x19): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/dependencies/linux-x86_64/taglib/release/lib/libtag.a(tstringlist.cpp.o): In function `__gnu_cxx::new_allocator<std::_List_node<TagLib::String> >::new_allocator(__gnu_cxx::new_allocator<std::_List_node<TagLib::String> > const&)':
/usr/include/c++/4.7/ext/new_allocator.h:(.text._ZNSt4listIN6TagLib6StringESaIS1_EE11_M_transferESt14_List_iteratorIS1_ES5_S5_[std::list<TagLib::String, std::allocator<TagLib::String> >::_M_transfer(std::_List_iterator<TagLib::String>, std::_List_iterator<TagLib::String>, std::_List_iterator<TagLib::String>)]+0x2b): undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)'
/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/dependencies/linux-x86_64/taglib/release/lib/libtag.a(flacfile.cpp.o): In function `__gnu_cxx::new_allocator<std::_List_node<TagLib::FLAC::Picture*> >::new_allocator(__gnu_cxx::new_allocator<std::_List_node<TagLib::FLAC::Picture*> > const&)':
/usr/include/c++/4.7/ext/new_allocator.h:(.text._ZNSt4listIPN6TagLib4FLAC13MetadataBlockESaIS3_EE9_M_insertESt14_List_iteratorIS3_ERKS3_[std::list<TagLib::FLAC::MetadataBlock*, std::allocator<TagLib::FLAC::MetadataBlock*> >::_M_insert(std::_List_iterator<TagLib::FLAC::MetadataBlock*>, TagLib::FLAC::MetadataBlock* const&)]+0x3a): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
/usr/include/c++/4.7/ext/new_allocator.h:(.text._ZNSt4listIPN6TagLib4FLAC7PictureESaIS3_EE9_M_insertESt14_List_iteratorIS3_ERKS3_[std::list<TagLib::FLAC::Picture*, std::allocator<TagLib::FLAC::Picture*> >::_M_insert(std::_List_iterator<TagLib::FLAC::Picture*>, TagLib::FLAC::Picture* const&)]+0x3a): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
/usr/include/c++/4.7/ext/new_allocator.h:(.text._ZNSt4listIPN6TagLib4FLAC13MetadataBlockESaIS3_EE8_M_eraseESt14_List_iteratorIS3_E[std::list<TagLib::FLAC::MetadataBlock*, std::allocator<TagLib::FLAC::MetadataBlock*> >::_M_erase(std::_List_iterator<TagLib::FLAC::MetadataBlock*>)]+0x19): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/dependencies/linux-x86_64/taglib/release/lib/libtag.a(asftag.cpp.o): In function `__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<TagLib::String const, TagLib::List<TagLib::ASF::Attribute> > > >::max_size() const':
/usr/include/c++/4.7/ext/new_allocator.h:(.text._ZNSt4listIN6TagLib3ASF9AttributeESaIS2_EE9_M_insertESt14_List_iteratorIS2_ERKS2_[std::list<TagLib::ASF::Attribute, std::allocator<TagLib::ASF::Attribute> >::_M_insert(std::_List_iterator<TagLib::ASF::Attribute>, TagLib::ASF::Attribute const&)]+0x3a): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/dependencies/linux-x86_64/taglib/release/lib/libtag.a(asffile.cpp.o): In function `TagLib::ASF::File::UnknownObject::~UnknownObject()':
/mnt/ngale/nightingale-deps/build/taglib/release/taglib/asf/asffile.cpp:(.text._ZNSt4listIPN6TagLib3ASF4File10BaseObjectESaIS4_EE9_M_insertESt14_List_iteratorIS4_ERKS4_[std::list<TagLib::ASF::File::BaseObject*, std::allocator<TagLib::ASF::File::BaseObject*> >::_M_insert(std::_List_iterator<TagLib::ASF::File::BaseObject*>, TagLib::ASF::File::BaseObject* const&)]+0x3a): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/dependencies/linux-x86_64/taglib/release/lib/libtag.a(mp4atom.cpp.o): In function `__gnu_cxx::new_allocator<std::_List_node<TagLib::MP4::Atom*> >::new_allocator(__gnu_cxx::new_allocator<std::_List_node<TagLib::MP4::Atom*> > const&)':
/usr/include/c++/4.7/ext/new_allocator.h:(.text._ZNSt4listIPN6TagLib3MP44AtomESaIS3_EE9_M_insertESt14_List_iteratorIS3_ERKS3_[std::list<TagLib::MP4::Atom*, std::allocator<TagLib::MP4::Atom*> >::_M_insert(std::_List_iterator<TagLib::MP4::Atom*>, TagLib::MP4::Atom* const&)]+0x3a): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
/usr/include/c++/4.7/ext/new_allocator.h:(.text._ZNSt4listIPN6TagLib3MP44AtomESaIS3_EE11_M_transferESt14_List_iteratorIS3_ES7_S7_[std::list<TagLib::MP4::Atom*, std::allocator<TagLib::MP4::Atom*> >::_M_transfer(std::_List_iterator<TagLib::MP4::Atom*>, std::_List_iterator<TagLib::MP4::Atom*>, std::_List_iterator<TagLib::MP4::Atom*>)]+0x2b): undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)'
/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/dependencies/linux-x86_64/taglib/release/lib/libtag.a(mp4tag.cpp.o): In function `__gnu_cxx::new_allocator<std::_List_node<TagLib::MP4::Atom*> >::max_size() const':
/usr/include/c++/4.7/ext/new_allocator.h:(.text._ZNSt4listIN6TagLib3MP48AtomDataESaIS2_EE9_M_insertESt14_List_iteratorIS2_ERKS2_[std::list<TagLib::MP4::AtomData, std::allocator<TagLib::MP4::AtomData> >::_M_insert(std::_List_iterator<TagLib::MP4::AtomData>, TagLib::MP4::AtomData const&)]+0x3a): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
/usr/include/c++/4.7/ext/new_allocator.h:(.text._ZNSt4listIN6TagLib3MP48CoverArtESaIS2_EE9_M_insertESt14_List_iteratorIS2_ERKS2_[std::list<TagLib::MP4::CoverArt, std::allocator<TagLib::MP4::CoverArt> >::_M_insert(std::_List_iterator<TagLib::MP4::CoverArt>, TagLib::MP4::CoverArt const&)]+0x3a): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/dependencies/linux-x86_64/taglib/release/lib/libtag.a(xmfile.cpp.o): In function `SkipReader::~SkipReader()':
/mnt/ngale/nightingale-deps/build/taglib/release/taglib/xm/xmfile.cpp:(.text._ZNSt4listIP6ReaderSaIS1_EE9_M_insertESt14_List_iteratorIS1_ERKS1_[std::list<Reader*, std::allocator<Reader*> >::_M_insert(std::_List_iterator<Reader*>, Reader* const&)]+0x3a): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/dependencies/linux-x86_64/taglib/release/lib/libtag.a(fileref.cpp.o): In function `std::list<TagLib::FileRef::FileTypeResolver const*, std::allocator<TagLib::FileRef::FileTypeResolver const*> >::clear()':
/mnt/ngale/nightingale-deps/build/taglib/release/taglib/toolkit/tlist.tcc:(.text._ZNSt4listIPKN6TagLib7FileRef16FileTypeResolverESaIS4_EE9_M_insertESt14_List_iteratorIS4_ERKS4_[std::list<TagLib::FileRef::FileTypeResolver const*, std::allocator<TagLib::FileRef::FileTypeResolver const*> >::_M_insert(std::_List_iterator<TagLib::FileRef::FileTypeResolver const*>, TagLib::FileRef::FileTypeResolver const* const&)]+0x3a): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/dependencies/linux-x86_64/taglib/release/lib/libtag.a(oggfile.cpp.o): In function `__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<int const, TagLib::ByteVector> > >::max_size() const':
/usr/include/c++/4.7/ext/new_allocator.h:(.text._ZNSt4listIiSaIiEE6insertESt14_List_iteratorIiERKi[std::list<int, std::allocator<int> >::insert(std::_List_iterator<int>, int const&)]+0x3a): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/dependencies/linux-x86_64/taglib/release/lib/libtag.a(oggfile.cpp.o):/usr/include/c++/4.7/ext/new_allocator.h:(.text._ZNSt4listIiSaIiEE9_M_insertESt14_List_iteratorIiERKi[std::list<int, std::allocator<int> >::_M_insert(std::_List_iterator<int>, int const&)]+0x3a): more undefined references to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' follow
collect2: ld returned 1 exit status
make[8]: *** [sbMetadataHandlerTaglib.so] Error 1
make[8]: Leaving directory `/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/compiled/components/mediacore/metadata/handler/taglib/src'
make[7]: *** [libs] Error 2
make[7]: Leaving directory `/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/compiled/components/mediacore/metadata/handler/taglib'
make[6]: *** [libs] Error 2
make[6]: Leaving directory `/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/compiled/components/mediacore/metadata/handler'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/compiled/components/mediacore/metadata'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/compiled/components/mediacore'
make[3]: *** [libs_tier_componentsbase] Error 2
make[3]: Leaving directory `/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/compiled'
make[2]: *** [tier_componentsbase] Error 2
make[2]: Leaving directory `/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/compiled'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/dwb/Downloads/nightingale-media-player-nightingale-hacking-9b9c8bf/compiled'
make: *** [build] Error 2
Couldn't load XPCOM... Recently had someone ask me how to solve that on Mac. And all I remember is having seen the problem and its solution before, but I've forgotten it. Hopefully somebody else has an idea.

What config did you compile with? Have you tried to build with the bundled instead of the system's taglib (ac_add_options --with-taglib-source=packaged) ?
cat nightingale.config
ac_add_options --with-media-core=gstreamer-system
ac_add_options --with-taglib-source=packaged


It bails out much much earlier if I don't use the packaged taglib.
Any thoughts?
even thought I don't see any error in ltrace or strace, I'm wondering if this is the cause of why xpcom won't load:

ldd ./*.so |grep "not found"
./libxpcom.so: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /home/dwb/Downloads/Nightingale/xulrunner/libxul.so)
./libxul.so: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./libxul.so)

strings /usr/lib64/libstdc++.so.6 | grep GLIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBC_2.2.5
GLIBC_2.3
GLIBC_2.4
GLIBC_2.3.2
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH
The whole thing sounds a lot like you'd need to update your glibc (for building). Packages including that may be called libstdc++ or gcc (at least that's what I found from a short search...). It would then also explain why running the dynamically-linked xulrunner fails. Is it possible to update it to a more recent version?