On 08/05/2020 14:07, Alex Peshkoff via Firebird-devel wrote:
On 2020-05-08 16:00, Tony Whyman wrote:
 /opt/firebird4b2/plugins/libChaCha.so: undefined symbol: chacha_setup

On 08/05/2020 13:54, Alex Peshkoff via Firebird-devel wrote:
On 2020-05-08 15:43, Tony Whyman wrote:
Finally got round to working out why there was a problem.

If I change the Wirecrypt setting in firebird.conf to

#WireCryptPlugin = ChaCha, Arc4
WireCryptPlugin =  Arc4

then everything works fine.

I have downloaded today's snapshot and the same problem is present i.e.  the wirecrypt plugin raises an exception unless the above change is made.

What exception?

Is there a missing dependency for the ChaCha plugin? If I run ldd on libChaCha.so I get

ldd libChaCha.so
    linux-vdso.so.1 (0x00007ffcd5bb6000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f5d75f99000)     libncurses.so.5 => /lib/x86_64-linux-gnu/libncurses.so.5 (0x00007f5d75d76000)     libfbclient.so.2 => /opt/firebird4b2/plugins/./../lib/libfbclient.so.2 (0x00007f5d75859000)
    libtommath.so.0 => /usr/lib/libtommath.so.0 (0x00007f5d75642000)
    libtomcrypt.so.1 => /usr/lib/x86_64-linux-gnu/libtomcrypt.so.1 (0x00007f5d7538c000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5d74fee000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f5d74dd6000)     libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5d74bb7000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5d747c6000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f5d764f2000)
    libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f5d7459c000)     libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f5d7431b000)


You see yourself - no missing dependencies.




Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel



Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel


Your /usr/lib/x86_64-linux-gnu/libtomcrypt.so.1 appears to be built w/o chacha support. Try to uninstall tomcrypt package from your OS (btw, what kind of linux is it) and reinstall firebird after it.
It's an up-to-date Linux Mint 19.3 (aka ubuntu (bionic) 18.04). I would not have thought it was much different in respect of libtomcrypt from any other Debian derivative.




Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel



Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to