Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-04

libgds.so, libcrypt.so Version?

7 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Siegfried Goericke
to Siegfried Goericke: I compiled lazarus with: make clean all OPT="-dNoGdkPixBufLib -dInterbase" that produce…
Mattias Gaertner wrote 39 lines
On Sun, 13 Apr 2003 01:23:42 +0200 Jens During 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

Hi Mattias, yes , this would be nice.

thx Siggi

Gruss Siggi

Reply by email

Unknown author
to Andrew Johnson: crypt is needed for IB6 and firbird. I am not sure why it is not included in the fcl…
Andrew Johnson wrote
crypt is needed for IB6 and firbird. I am not sure why it is not included in the fcl header itself. but any app which uses >=ib6 or >= fb1 needs to link against it afaik.

Not really. It depends on the C library installation on your system. It seems to me SuSE's C library has crypt routines built-in and does not need the separate crypt library. Redhat does need it, if I remember correctly. At least, here it compiles without any additional {$linklib crypt} statement

Since it doesn't hurt, I added the {$LINKLIB crypt} statement to the ibase60 unit.

Michael.

Reply by email

Jens During
to Siegfried Goericke: I compiled lazarus with: make clean all OPT="-dNoGdkPixBufLib -dInterbase" that produce…
Siegfried Goericke wrote 13 lines
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}

Yours,
Jens During.

Reply by email

Andrew Johnson
to Siegfried Goericke: I compiled lazarus with: make clean all OPT="-dNoGdkPixBufLib -dInterbase" that produce…

crypt is needed for IB6 and firbird. I am not sure why it is not included in the fcl header itself. but any app which uses >=ib6 or >= fb1 needs to link against it afaik.

Andrew

Mattias Gaertner wrote 43 lines
On Sun, 13 Apr 2003 01:23:42 +0200 Jens During 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 _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

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?

thx
Siggi

Gruss Siggi

Reply by email

Unknown author

Hi all,

Slightly off topic, can I use latest firebird for Linux. I tried last weekend but it spits out lots of errors.

Yoyong

Internet Mail Message
Received from host:
svcr-216-37-230-2.dsl.svcr.epix.net
[216.37.230.2]

From: on 04/13/2003 10:33 AM GMT

To:
Cc: (bcc: Yoyong Hernan-ET/PGI)
Subject: Re: [lazarus] libgds.so, libcrypt.so 04/13/2003 06:33 PM Version?
Please respond to

Andrew Johnson wrote
crypt is needed for IB6 and firbird. I am not sure why it is not included in the fcl header itself. but any app which uses >=ib6 or >= fb1 needs to link against it afaik.

Not really. It depends on the C library installation on your system. It seems to me SuSE's C library has crypt routines built-in and does not need the separate crypt library. Redhat does need it, if I remember correctly. At least, here it compiles without any additional {$linklib crypt} statement

Since it doesn't hurt, I added the {$LINKLIB crypt} statement to the ibase60 unit.

Michael.

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Mattias Gaertner
to Siegfried Goericke: I compiled lazarus with: make clean all OPT="-dNoGdkPixBufLib -dInterbase" that produce…
Show quoted text 27 lines
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

Reply by email