Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Mike Warne installed the Linux CLI and ODBC packages on Slackware (kernel 2.2.6) and got an ld error, -lcrypt not found, compiling the C++ demos. Walter Harms said libcrypt.a was needed. Tim Schaefer advised using SuSE, said Caldera and Slackware omit crypt for export reasons, and warned that adding the library by hand is risky. Unresolved.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
I have installed the CLI and the ODBC packages under slackware kernel
2.2.6
When I try to compile the demos in the cli c++ directory I get errors
about the system libraries not found .. crypt etc.
The error message from ld is -lcrypt: No such file or directory
Is the make file supplied with the linux tar okay. Or do I need other
libraries to be able to write cli code?
Thanks
Mike Warne
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
↪ replying to mike_warne@my-deja.com
Walter Harms — — source: Informix-list mailing list archive (1991-1998)
mike_warne@my-deja.com writes:
>I have installed the CLI and the ODBC packages under slackware kernel
>2.2.6
>When I try to compile the demos in the cli c++ directory I get errors
>about the system libraries not found .. crypt etc.
>The error message from ld is -lcrypt: No such file or directory
>Is the make file supplied with the linux tar okay. Or do I need other
>libraries to be able to write cli code?
>Thanks
>Mike Warne
you need the libcrypt.a for some cryptic things.
walter
>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.
--
-----
"I'm fully booked for the next two centuries, but any time after that..."
-----
↪ replying to Walter Harms
Tim Schaefer — — source: Informix-list mailing list archive (1991-1998)
Save yourself some grief, use SuSE.
You'll have the same problem with Caldera as well. Great release, but
they evidently went for exportable distributions that don't violate
the export-ability of crypt. I guess Slackware went the same way as
well.
By the way simply adding this library won't help, unless you are an
expert at changing the system libraries. Adding one wrong file will
make your system unbootable, and unusable. Been there done that.
:-)
Tim
Walter Harms wrote:
>
> mike_warne@my-deja.com writes:
>
> >I have installed the CLI and the ODBC packages under slackware kernel
> >2.2.6
>
> >When I try to compile the demos in the cli c++ directory I get errors
> >about the system libraries not found .. crypt etc.
>
> >The error message from ld is -lcrypt: No such file or directory
>
> >Is the make file supplied with the linux tar okay. Or do I need other
> >libraries to be able to write cli code?
>
> >Thanks
>
> >Mike Warne
>
> you need the libcrypt.a for some cryptic things.
>
> walter
>
> >Sent via Deja.com http://www.deja.com/
> >Share what you know. Learn what you don't.
> --
> -----
> "I'm fully booked for the next two centuries, but any time after that..."
> -----
--
-
--
--- Tim Schaefer
---- tschaefe@mindspring.com
--- http://www.inxutil.com
--
-
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.