Subject Problem with UDF when migrating from 2.1 to 2.5
Author Marcin Bury
Hello all

I'd like to migrate a database from FB 2.1 to FB 2.5

The gbak backup and restore phases went fine with nice 'finishing,
closing and going home' message at the end.

But when I start the applicationg, I get following error:

Invalid token.
Invalid request BLR at offset 206.
Function F_LRTRIM1 is not defined.
Module name or entry point could not be found.

UDF declaration:
DECLARE EXTERNAL FUNCTION F_LRTRIM1
CSTRING(32767)
RETURNS CSTRING(32767)
ENTRY_POINT 'lrTrim' MODULE_NAME 'FreeUDFLib.dll';

File FreeUDFLib.dll is placed in UDF directory

I also cannot recompile the procedure that is using this UDF and I
wonder how gbak could...

The new server version is: LI-V6.3.1.26351 Firebird 2.5 running on
CentOS Linux...

Any clues?

TIA
Marcin