[lazarus] libgds.so, libcrypt.so Version?

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Apr 12 19:07:29 EDT 2003


On Sun, 13 Apr 2003 01:23:42 +0200
Jens During <jensduring at freenet.de> wrote:

> Am Samstag, 12. April 2003 18:27 schrieb Siegfried Goericke:
> > Hi all,
> >
> > I compiled lazarus with: make clean all OPT="-dNoGdkPixBufLib
> > -dInterbase" that produce the following error msg:
> > Linking ./lazarus
> > /usr/lib/libgds.so: undefined reference to `crypt'
> > lazarus.pp(307) Error: Error while linking
> > Closing script ./ppas.sh
> > make[1]: *** [lazarus] Error 1
> > make[1]: Leaving directory `/home/blgoeris/src/lazarus'
> > make: *** [ide] Error 2
> > I have firebird ver. 1.0.2-ss-io64(linux) installed. Which version runs
> > with lazarus?
> 
> I get the same error with interbase ver. 6.0 .
> I have edited lazarus.pp in this way:
> <snip>
> program Lazarus;
> 
> {$mode objfpc}{$H+}
> {$linklib crypt}
> {$I ide.inc}
> <snip>
> now you can compile with -dInterbase but I think this is not clean...
> someone else should know how to implement the directive
> {$linklib crypt}

Add '-k-lcrypt' without the ' to the options.

If crypt is always needed for interbase, I can add {$linklib crypt} to
idecomp.pp. Is this the case?


Mattias






More information about the Lazarus mailing list