Forums

Skip to content

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

Libreoffice base - Impossible to use it [solved]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
DidgeriDude
Guru
Guru
User avatar
Posts: 351
Joined: Sun Jan 30, 2005 10:46 pm

Libreoffice base - Impossible to use it [solved]

  • Quote

Post by DidgeriDude » Tue Jan 20, 2026 2:52 pm

Hello.

I have this problem with both libreoffice and libreoffice-bin : when I create a new database or open an existing one (HSQLDB or Firebird, embedded or not), I can't go to the table tab.
I started libreoffice from a terminal but no error showed up when tring to access table tab.
So I started libreoffice from a terminal and, when creating a new database, I checked "Create tables using the table wizard" and this error occured in the terminal :

Code: Select all

janv. 20, 2026 11:55:25 AM com.sun.star.wizards.db.DBMetaData getConnection
GRAVE: null
com.sun.star.uno.RuntimeException: NSS_NoDB_Init failed with PR_CALL_ONCE_ERROR (-5925)
	at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
	at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:185)
	at jdk.proxy1/jdk.proxy1.$Proxy28.getConnection(Unknown Source)
	at com.sun.star.wizards.db.DBMetaData.getConnection(DBMetaData.java:630)
	at com.sun.star.wizards.db.DBMetaData.getConnection(DBMetaData.java:597)
	at com.sun.star.wizards.db.DBMetaData.getConnection(DBMetaData.java:575)
	at com.sun.star.wizards.db.TableDescriptor.getConnection(TableDescriptor.java:101)
	at com.sun.star.wizards.table.TableWizard.startTableWizard(TableWizard.java:344)
	at com.sun.star.wizards.table.CallTableWizard$TableWizardImplementation.trigger(CallTableWizard.java:80)
I am currently using libreoffice-bin 25.8 with openjdk-bin:21 (I tried libreoffice 25.2, various versions of java, even various extensions such as jdbcDriverOOo, tried to connect external databases with jaybird, etc.)
I tried looking for problems with NSS (renaming thunderbird and firefox profile folders in order to prevent LibreOffice for searching certificates there), tried to modify /opt/openjdk-bin-21.0.8_p9/conf/security/java.security, tried different startup options for java into LibreOffice advanced options, nothing happened.

I am stuck so... could you help me ?
Last edited by DidgeriDude on Sat Jan 24, 2026 11:54 pm, edited 1 time in total.
Top
ian.au
l33t
l33t
User avatar
Posts: 621
Joined: Thu Apr 07, 2011 3:39 am
Location: Australia

  • Quote

Post by ian.au » Sat Jan 24, 2026 12:51 am

I don't think libreoffice-bin allows use of the base modules.

You'll have to compile it with appropriate flags for your use case.

Did you try the Wiki?

https://wiki.gentoo.org/wiki/LibreOffice
Top
Goverp
Advocate
Advocate
User avatar
Posts: 2404
Joined: Wed Mar 07, 2007 6:41 pm

  • Quote

Post by Goverp » Sat Jan 24, 2026 9:18 am

It might be that libreoffice is configured to use the wrong JDK - check on Tools->Options->LibreOffice->Advanced
Greybeard
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3534
Joined: Thu Feb 22, 2018 2:29 pm

  • Quote

Post by logrusx » Sat Jan 24, 2026 9:51 am

emerge --info libreoffice

EDIT: all works fine for me when libreoffice is compiled with base and java USE flags enabled as the warning always says when I install/update libreoffice.

Best Regards,
Georgi
Top
DidgeriDude
Guru
Guru
User avatar
Posts: 351
Joined: Sun Jan 30, 2005 10:46 pm

  • Quote

Post by DidgeriDude » Sat Jan 24, 2026 11:53 pm

Thank you all of you.

Installing libreoffice (not -bin) resolved the problem (with an HSQLDB).

I now have to figure out how to connect to my Firebird database (FDB file) now that the Firebird support had been drooped in Gentoo...

Thank you again :)
Top
Post Reply

5 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