Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Libreoffice-bin not running
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mgnut57
Apprentice
Apprentice


Joined: 12 Jan 2008
Posts: 195

PostPosted: Sun Jan 07, 2018 12:24 am    Post subject: Libreoffice-bin not running Reply with quote

I recently updated libreoffice-bin and now realize it won't run.

Code:
/usr/lib64/libreoffice/program/soffice.bin: symbol lookup error: /usr/lib64/libreoffice/program/libscfiltlo.so: undefined symbol: _ZN5orcus17load_file_contentB5cxx11EPKc


from genlop:
Code:
  Fri Dec 29 07:12:47 2017 >>> app-office/libreoffice-bin-5.4.2.2-r1


I have not switched over to gcc > 4.9.4:


Code:
#  gcc-config  -l
 [1] x86_64-pc-linux-gnu-4.7.3
 [2] x86_64-pc-linux-gnu-4.8.4
 [3] x86_64-pc-linux-gnu-4.9.3
 [4] x86_64-pc-linux-gnu-4.9.4 *
 [5] x86_64-pc-linux-gnu-5.4.0
 [6] x86_64-pc-linux-gnu-6.4.0


Do I need to switch over to gcc 6.4 and then re-compile a bunch of packages?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14159

PostPosted: Sun Jan 07, 2018 1:31 am    Post subject: Reply with quote

You probably should upgrade gcc for other reasons, but I do not expect that to help here. The missing symbol demangles as orcus::load_file_content[abi:cxx11](char const*). If I were to guess, I would expect that to come from dev-libs/liborcus. What is the output of emerge --pretend --verbose dev-libs/liborcus?
Back to top
View user's profile Send private message
mgnut57
Apprentice
Apprentice


Joined: 12 Jan 2008
Posts: 195

PostPosted: Sun Jan 07, 2018 2:33 am    Post subject: Reply with quote

Hu wrote:
You probably should upgrade gcc for other reasons, but I do not expect that to help here. The missing symbol demangles as orcus::load_file_content[abi:cxx11](char const*). If I were to guess, I would expect that to come from dev-libs/liborcus. What is the output of emerge --pretend --verbose dev-libs/liborcus?


Code:

# emerge --pretend --verbose dev-libs/liborcus

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-libs/liborcus-0.12.1:0/0.12::gentoo  USE="python spreadsheet-model -static-libs -tools" PYTHON_SINGLE_TARGET="python3_5 -python3_4 -python3_6" PYTHON_TARGETS="python3_5 -python3_4 -python3_6" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22308
Location: here

PostPosted: Sun Jan 07, 2018 11:02 am    Post subject: Reply with quote

Try to rebuild dev-libs/liborcus with >=gcc-5
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7132
Location: Austria

PostPosted: Sun Jan 07, 2018 11:08 am    Post subject: Reply with quote

The only sensible advice here is you follow the upgrade guide to >=GCC-5 ABI to get back on a supported GCC version. Nothing good can come from that if you do partial GCC-5 rebuilds.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14159

PostPosted: Sun Jan 07, 2018 5:24 pm    Post subject: Reply with quote

I concur with asturm. I was wrong to say that a gcc upgrade will not help here. I said that because there was no sign of the most common failure (std::string mismatch), and I did not consider the presence of the abi:cxx11 tag.

Also, since asturm somehow missed nagging on it ;), you should read your news. News items are published to warn you about major events so you can handle them appropriately.
Back to top
View user's profile Send private message
mgnut57
Apprentice
Apprentice


Joined: 12 Jan 2008
Posts: 195

PostPosted: Sun Jan 07, 2018 7:27 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Try to rebuild dev-libs/liborcus with >=gcc-5


That got me further. Now I get:
/usr/lib64/libreoffice/program/soffice.bin: symbol lookup error: /usr/lib64/libreoffice/program/../program/libspelllo.so: undefined symbol: _ZNK8Hunspell17get_dict_encodingB5cxx11Ev

I guess I need to rebuild more packages. Just kicked off:
Code:
revdep-rebuild   --library 'libstdc++.so.6' -- --exclude gcc


after switching to gcc 6.4.0


Last edited by mgnut57 on Sun Jan 07, 2018 7:38 pm; edited 2 times in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7251
Location: Saint Amant, Acadiana

PostPosted: Sun Jan 07, 2018 7:31 pm    Post subject: Reply with quote

mgnut57 wrote:
I guess I need to rebuild more packages, but which?


asturm wrote:
The only sensible advice here is you follow the upgrade guide to >=GCC-5 ABI to get back on a supported GCC version. Nothing good can come from that if you do partial GCC-5 rebuilds.

_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22308
Location: here

PostPosted: Mon Jan 08, 2018 6:54 am    Post subject: Reply with quote

Jaglover wrote:
mgnut57 wrote:
I guess I need to rebuild more packages, but which?


asturm wrote:
The only sensible advice here is you follow the upgrade guide to >=GCC-5 ABI to get back on a supported GCC version. Nothing good can come from that if you do partial GCC-5 rebuilds.

https://www.gentoo.org/support/news-items/2015-10-22-gcc-5-new-c++11-abi.html
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum