[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: undefined reference to `crypt'
Bill Dunn said:
> Does anyone know what I can do to solve this error message I keep getting
> with different programs?
>
> undefined reference to `crypt'
>
> I get it when I try to compile an "adduser" C program on Red Hat 5.0 with
> the new glibc libs.
First of all, make sure you are running the latest RH5 updates. It's
reasonably likely that you're seeing a bug.
Second, in glibc, crypt() is moved off into its own libcrypt. Make
sure you have a /lib/libcrypt-2.0.?.so, and that /lib/libcrypt.so.1 is
a symlink to it.
Again though, the first thing I'd do is make sure you are running all
the latest glibc rpm updates. They've been updated numerous times
since RH5 came out.
Steve
--
steve@silug.org | Linux Users of Central Illinois
(217)698-1694 | Meetings the 4th Tuesday of every month
Steven Pritchard | http://www.luci.org/ for more info
--
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.