Subject Re: UDF problem
Author kittikira
this is the content of my shell script for compiling and linking my library (allready added what you recommended):

gcc -c -O -fpic rsudf.c
ld -G rsudf.o -lm -lc -o rsudf.so -l fbclient -fno-undefined

Still the same problem.

Is there anything wrong with this script?

What would be the best commands (including all arguments) for compiling and liniing the library?


--- In firebird-support@yahoogroups.com, Dimitry Sibiryakov <sd@...> wrote:
>
> 29.01.2010 10:09, kittikira wrote:
> > ldd brings this:
> >
> > root@Server64:~# ldd rsudf.so
> > linux-vdso.so.1 => (0x00007fff869ff000)
> > libm.so.6 => /lib/libm.so.6 (0x00007fc5f5044000)
> > libc.so.6 => /lib/libc.so.6 (0x00007fc5f4cd5000)
> > /lib64/ld-linux-x86-64.so.2 (0x00007fc5f54d0000)
>
> Add '-l fbclient' to linkage command line. And '-fno-undefined' also
> would be good.
>
> --
> SY, SD.
>