Subject Re: [firebird-support] Re: UDF library causes broken pipe on Linux, but works with FB on Windows
Author Antonio Galicia
On Mon, Apr 28, 2008 at 12:53 PM, Michael Möhle <m.moehle@...> wrote:

> Hm, maybe you can try to compile the UDF on the machine from Source?

I just do it and have same result. After read the source a descover
the problem: must be have a "TMP" or "TEMP" enviroment variable to
work.

# export TEMP=/tmp
# /opt/firebird/bin/isql test.fdb
Database: test.fdb
SQL> select UUID_CREATE() from rdb$database;

UUID_CREATE
======================
1twqRR2RGiUF4m5R5JEoh!

SQL> select GUID_CREATE() from rdb$database;

GUID_CREATE
====================================
6af5f5fc-1dd2-11b2-81ae-f9f3675d11d4

# unset TEMP
# /opt/firebird/bin/isql test.fdb
Database: test.fdb
SQL> select UUID_CREATE() from rdb$database;
Segmentation fault

--
Saludos,
PP