Subject Re: [ib-support] ABS function in linux UDF (IB 5.6)
Author Entrebytes S.L.
It worked like a charm , but changing the ib_udf to the /usr/bin directory.
Also , as a oversafe measure , I added /usr/interbase/lib in the
/etc/ld.so.conf file , made a ldconfig , but it not worked properly sice i
restarted the linux box.
A big cheers from the people in the office to you , and a general raise of
the coffe cups (consider yourself one more in the table !)

Seems that ib needs the library in the EXECUTABLE path. Odd , since its a
library. Anyone has tried that on a FB1 setup ?
(I have the /usr/interbase/bin out of the executable paths , btw)

Javi
EntreBytes S.L.
Ontenient , Spain
ERP Development.
----- Original Message -----
From: "Thomas Steinmaurer" <ts@...>
To: <ib-support@yahoogroups.com>
Sent: Friday, March 22, 2002 11:01 AM
Subject: RE: [ib-support] ABS function in linux UDF (IB 5.6)


> > wow...that's speed
>
> ... this is how [ib-support] works ;-)
>
> > Show function abs
> >
> > Function abs:
> > function library is ib_udf
> > Entry point is IB_UDF_abs
> > Returns BY VALUE DOUBLE PRECISION
> > Argument 1: DOUBLE PRECISION
> >
> > The server is in linux , and located in /usr/interbase
> > and the library is /usr/interbase/lib/ib_udf (odd..does not have
> > extension,
> > only name)
>
> move the udf-library into the /usr/interbase/bin directory and try it
> again it. don't know if all steps are necessary, but this might work
>
> 1) drop the declaration of abs:
>
> DROP EXTERNAL FUNCTION abs;
>
> 2) Shutdown the Interbase Server
>
> 3) move ib_udf into the /usr/interbase/bin directory
>
> 4) Start the Interbase Server
>
> 5) Redeclare your external function
>
> HTH,
> Thomas Steinmaurer
> http://www.iblogmanager.com
>
>
>
>
>
> 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/
>
>