Subject | Re: my UDF shared libray can not be used in Vulcan |
---|---|
Author | heroes3lover |
Post date | 2007-08-28T06:55:40Z |
--- In firebird-support@yahoogroups.com, "Alan McDonald" <alan@...>
wrote:
and some guys said Vulcan only can use .so file in $VULCAN/bin
directory, and ib_udf.so is ok after I put in bin directory.
Regards,
Roc
wrote:
>linux have
> and compile this code, I got libsubs.so file and put in the Vulcan
> bin directory, and the /etc/lib directory.
> I export the function and use function in SQL, it does not work, say
>
> but this is a UDF - it should be in the UDF folder - No? Doesn't
> a UDF folder?used in
> Alan
>
> > -----Original Message-----
> > From: firebird-support@yahoogroups.com
> > [mailto:firebird-support@yahoogroups.com]On Behalf Of heroes3lover
> > Sent: Tuesday, 28 August 2007 4:21 PM
> > To: firebird-support@yahoogroups.com
> > Subject: [firebird-support] Re: my UDF shared libray can not be
> > Vulcanfb2.0,
> >
> >
> > --- In firebird-support@yahoogroups.com, Dmitry Yemanov <dimitr@>
> > wrote:
> > >
> > > heroes3lover wrote:
> > > >
> > > > DECLARE EXTERNAL FUNCTION SUBSTR
> > > > CSTRING(255) CHARACTER SET NONE, INTEGER, INTEGER
> > > > RETURNS CSTRING(255) CHARACTER SET NONE FREE_IT
> > >
> > > Why FREE_IT? You don't seem to allocate memory for the output
> > parameter.
> > >
> > > > ENTRY_POINT 'SubStr' MODULE_NAME 'subs';
> > >
> > > As a dumb guess -- what about 'libsubs' as a module name?
> > >
> > >
> > > Dmitry
> > >
> >
> > Thanks for reply,
> > FREE_IT means free the memory of result, I saw the example of
> > they use itYes, it has UDF directory, but it does not work,
> > prefix 'lib' is no need, but even I add the prefix, same result.
> >
> > Regards,
> > Roc
> >
> >
> >
> >
> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >
> > Visit http://www.firebirdsql.org and click the Resources item
> > on the main (top) menu. Try Knowledgebase and FAQ links !
> >
> > Also search the knowledgebases at http://www.ibphoenix.com
> >
> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
>
and some guys said Vulcan only can use .so file in $VULCAN/bin
directory, and ib_udf.so is ok after I put in bin directory.
Regards,
Roc