Subject | Re: Off Topic: UDF in KyLix to Interbase |
---|---|
Author | wade@xwin.net |
Post date | 2001-07-27T18:41:40Z |
--- In IBObjects@y..., "Paulo Henrique Albanez" <pha@n...> wrote:
tried the ld.so.conf one but it should in theory work as it does with
normal libraries, the link to /usr/lib does work...you can simply
make a link to it in /usr/lib
ln -s /opt/interbase/lib/ib_util /usr/lib/ib_util
or in theory edit /etc/ld.so.conf and add /opt/interbase/lib to the
list of paths.
The link is acceptable to me as I use a few larger libraries as
apposed to a lot of smaller ones.
One more way should be to add
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/interbase/lib
to either your earlier startup scripts for any version or the script
you are running the SS version of firebird/interbase from
Randal Carpenter
> I have the functions library for InterBase, only that am with asmall problem.
>doesn't work.
> The library call other library, if I don't pass the path complete,
>external '/opt/interbase/lib/ib_util';
> function ib_util_malloc(l: integer): pointer; cdecl;
>external 'ib_util';
> If I compiles with FreePascal, it works without the path
>
> function ib_util_malloc(l: integer): pointer; cdecl;
>There are probably two ways that should work, but honestly I have not
> Do anybody know with solve this problem?
>
>
> PHA
> Nova Odessa / SP - Brazil
tried the ld.so.conf one but it should in theory work as it does with
normal libraries, the link to /usr/lib does work...you can simply
make a link to it in /usr/lib
ln -s /opt/interbase/lib/ib_util /usr/lib/ib_util
or in theory edit /etc/ld.so.conf and add /opt/interbase/lib to the
list of paths.
The link is acceptable to me as I use a few larger libraries as
apposed to a lot of smaller ones.
One more way should be to add
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/interbase/lib
to either your earlier startup scripts for any version or the script
you are running the SS version of firebird/interbase from
Randal Carpenter