Compile FB 5.0.3 with libtommath and libtomcrypt libraries

26 views
Skip to first unread message

Pierre Vacher

unread,
Jul 23, 2025, 7:44:53 AMJul 23
to firebird-devel
Hi all,

I would like to have the same Linux binary package as:


but with libtommath and libtomcrypt libraries included.

For this I compile with the following options:

./autogen.sh --with-builtin-tommath --with-builtin-tomcrypt

I manage to get the libtommath and libtomcrypt libraries included, but I end up with a 180MB libEngine13.so file, whereas it's only 10MB in the Linux binary distribution.

I'm probably missing the right compilation option?

Dimitry Sibiryakov

unread,
Jul 23, 2025, 7:46:54 AMJul 23
to firebir...@googlegroups.com
Pierre Vacher wrote 22.07.2025 17:32:
> I'm probably missing the right compilation option?

IIRC the binaries are stripped during packaging so what you missed is most
likely "make package".

--
WBR, SD.

Pierre Vacher

unread,
Jul 23, 2025, 1:03:16 PMJul 23
to firebird-devel
Le mercredi 23 juillet 2025 à 13:46:54 UTC+2, Dimitry Sibiryakov a écrit :

IIRC the binaries are stripped during packaging so what you missed is most
likely "make package".

Okay, good point, I didn't think the packaging did so much.

Otherwise, for now, I'm able to get it working from the downloadable binaries and just add the three binary (two are link) files:
  • lib/libtommath.so
  • lib/libtommath.so.1
  • lib/libtommath.so.0.0.41

Retrieve from my compilation... I don't know if it's advisable to proceed like this?

Thanks, I'll try again with your solution and let you know.

Pierre Vacher

unread,
Jul 23, 2025, 1:03:16 PMJul 23
to firebird-devel
Otherwise, for now, I'm able to get it working from the downloadable binaries and just add the three binary files:

  • lib/libtommath.so
  • lib/libtommath.so.1
  • lib/libtommath.so.0.0.41

Retrieve from my compilation... I don't know if it's advisable to proceed like this?

Thank you, I will follow your advice and keep you informed.

Le mercredi 23 juillet 2025 à 13:46:54 UTC+2, Dimitry Sibiryakov a écrit :
Reply all
Reply to author
Forward
0 new messages