[fpc-pascal]interbase

Michael Van Canneyt michael.vancanneyt at wisa.be
Tue Oct 31 13:33:07 CET 2000


On Tue, 31 Oct 2000, [iso-8859-1] Keve Gábor wrote:

> Hello All!
> 
>  Tomorrow i was install the interbase 6.0 server to our linux server.
> When i try to compile the fpc interbase sample file (testib.pp) i got this error:
> 
> Free Pascal Compiler version 0.99.14 [2000/01/26] for i386
> Copyright (c) 1993-2000 by Florian Klaempfl
> Target OS: Linux for i386
> Compiling testib.pp
> testib.pp(19,7) Hint: Local typed const DBINFO is not used
> Assembling testib
> Linking testib
> /usr/lib/libgds.so: undefined reference to `dlclose'
> /usr/lib/libgds.so: undefined reference to `dlopen'
> /usr/lib/libgds.so: undefined reference to `crypt'
> /usr/lib/libgds.so: undefined reference to `dlsym'
> Warning: Error while linking
> Closing script ppas.sh
> 146 Lines compiled, 0.0 sec
> www:/usr/local/src/fpc-0.99.14/packages/ibase #
> 
> please help me, what's the problem?
>

Try adding

{$linklib dl}
{$linklib crypt}

to the test program.
What version of Interbase is this, and on what system ?

Michael.





More information about the fpc-pascal mailing list