Subject Compiling example api programs
Author Ertan Kucukoglu
Hello,

I just build firebird-RC1 on my FreeBSD 4.4-STABLE machine. I can
connect to it using either isql on FreeBSD or ibconsole on Win2k.

I tried to compile api1.c file in examples. Compilation is failed.
Output is below:

darkstar$ gcc api1.c -c -w -I/usr/interbase/include
darkstar$ gcc -o api1 api1.o -lcrypt -lgds
/usr/libexec/elf/ld: cannot find -lgds
darkstar$

Anyone can give me some clues? My interbase library files are under
/usr/interbase/lib.

darkstar$ ls -l /usr/interbase/lib/
total 1990
-rwxr-xr-x 1 root wheel 449 Dec 12 21:22 a.out
-rw-rw-r-- 1 firebird firebird 462702 Nov 25 22:44 gds.a
-rw-rw-r-- 1 firebird firebird 1392813 Nov 25 22:52 gds.so
-rw-rw-r-- 1 firebird firebird 136674 Nov 25 22:43 gds_pyxis.a
-rwxr-xr-- 1 firebird firebird 4460 Nov 25 22:52 ib_util.so
lrwxr-xr-x 1 root games 5 Nov 25 22:54 libgds.a -> gds.a
lrwxr-xr-x 1 root games 11 Nov 25 22:54 libgds.so ->
libgds.so.1
lrwxr-xr-x 1 root games 6 Nov 25 22:54 libgds.so.1 ->
gds.so
lrwxr-xr-x 1 root games 11 Nov 25 22:54 libgds_pyxis.a ->
gds_pyxis.a
darkstar$

What should I do to compile this example programs?

Best regards.

--
Ertan Kucukoglu
ertank@...