Subject Re: [ib-support] Re: UDF Error
Author Bill Katelis
Ivan -
The only thing I can suggest is try declaring the function with the full
pathname to the "DZZUDF" library ....
ie.

DECLARE EXTERNAL FUNCTION STRLENGTH
CSTRING(32765) CHARACTER SET NONE
RETURNS INTEGER BY VALUE
ENTRY_POINT "length" MODULE_NAME "/your/full/path/udflib";

where "/your/full/path/udflib" is the full pathname to the udflib.so
library file. (make sure the directory is executable and the file is
readable.

bill

ijmivan wrote:

>Function STRLENGTH:
>Function library is DZZUDF
>Entry point is LENGTH
>Returns BY VALUE INTEGER
>Argument 1: BY DESCRIPTOR CSTRING(32765) CHARACTER SET NONE
>
>
>
>
>>Ivan,
>>
>>can you run the command "show function STRLENGTH" in an isql
>>
>>
>session and
>
>
>>show us the output?
>>bill
>>
>>ijmivan wrote:
>>
>>
>>
>>>Bill,
>>>
>>>I have to verified it and all is ok. I did other test in other
>>>
>>>
>linux
>
>
>>>server (Conectiva) and functioned perfectly...
>>>Two Conectiva Linux Servers functions but the server that ocurr
>>>
>>>
>the
>
>
>>>error is a Slackware. can it be the origin of the problem???
>>>
>>>invalid request BLR at offset 63
>>>
>>>
>>>
>>>
>>>>>-function STRLENGTH is not defined
>>>>>-module name or entrypoint could not be found
>>>>>
>>>>>
>>>>>
>>>>>
>>>Ivan
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>>Ivan,
>>>>Ensure the udf shared library is in the same location on both
>>>>
>>>>
>>>>
>>>>
>>>servers
>>>
>>>
>>>
>>>
>>>>and the directory is executable, and library is readable.
>>>>
>>>>bill
>>>>
>>>>ijmivan wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>Hi,
>>>>>
>>>>>I have a database file in the linux Conectiva 8.0, running
>>>>>
>>>>>
>>>>>
>>>>>
>>>Firebird
>>>
>>>
>>>
>>>
>>>>>1.0.2. I use UDF. The file.so function correctly... but when i
>>>>>
>>>>>
>>>>>
>>>>>
>>>make a
>>>
>>>
>>>
>>>
>>>>>backup file to restore in the other server (Linux/Firebird
>>>>>
>>>>>
>1.0.2).
>
>
>>>>>The error below appears:
>>>>>
>>>>>invalid request BLR at offset 28
>>>>>-function STRLENGTH is not defined
>>>>>-module name or entrypoint could not be found
>>>>>
>>>>>The STRLENGTH function perfectly in the first server.
>>>>>
>>>>>P.S.: The file.so is in the /opt/interbase/UDF
>>>>>
>>>>>Ivan Martins
>>>>>
>>>>>
>>>>>
>>>>>To unsubscribe from this group, send an email to:
>>>>>ib-support-unsubscribe@egroups.com
>>>>>
>>>>>
>>>>>
>>>>>Your use of Yahoo! Groups is subject to
>>>>>
>>>>>
>>>>>
>>>>>
>>>http://docs.yahoo.com/info/terms/
>>>
>>>
>>>
>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>To unsubscribe from this group, send an email to:
>>>ib-support-unsubscribe@egroups.com
>>>
>>>
>>>
>>>Your use of Yahoo! Groups is subject to
>>>
>>>
>http://docs.yahoo.com/info/terms/
>
>
>>>
>>>
>>>
>>>
>
>
>
>To unsubscribe from this group, send an email to:
>ib-support-unsubscribe@egroups.com
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>