|
From: Matheus L. <gui...@gm...> - 2008-08-08 20:50:17
|
On the chpaswd.c file there is a link to this libraries, and when I try to compile, the erros were: #include <stdio.h> #include <time.h> #include <unistd.h> # gcc -lcrypt -O -o chpasswd chpasswd.c chpasswd.c:11:20: error: unistd.h: No such file or directory ... If it means something :) 2008/8/8 Matheus Lima <gui...@gm...> > I did what you say: > > #file chpasswd > chpasswd: setuid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), > for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped > > What does it mean? > > I supose that should be able to download a chpasswd file compatible? Or Im > talking shit? > > And yes, yesterday I try: > #apt-get install libc6-i686 > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Couldn't find package libc6-i686 <---FUCK > > And then: > # apt-get install libc6 > Reading package lists... Done > Building dependency tree > Reading state information... Done > libc6 is already the newest version. <---Its already installed > 0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded. > > So what now? > > And thank for the help anyway!!! > > 2008/8/8 MrC <lis...@ca...> > > Matheus Lima wrote: >> > I'm sorry, but if someone could help in this issue I apreciate: >> > >> > I've tryed: >> > >> > On FEDORA 64bit >> > ldd chpasswd >> > (0xffffe000) >> > libcrypt.so.1 => /lib/libcrypt.so.1 (0x00cb6000) >> > libc.so.6 => /lib/libc.so.6 (0x00723000) >> > /lib/ld-linux.so.2 (0x00706000) <---- Seems to me OK!!! :) >> > >> > But... >> > >> > On Ubuntu 64 bit >> > #ldd chpasswd >> > not a dynamic executable <---- Holy shit!!! THATs MY PROBLEM >> > >> > HELP!!!! >> >> This response from ldd is consistent with the missing 32-bit >> compatibility package. If you run: >> >> file chpasswd >> >> you will see file tells you it IS a program that uses shared libraries. >> The program doesn't auto-magically convert itself upon copy from one >> requiring shared libraries to one that uses static libraries. >> >> Have you verified that the shared library I referred you to yesterday >> does not exist? You need those shared libraries that are listed by your >> Fedora ldd-run. >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> ----- >> squirrelmail-plugins mailing list >> Posting guidelines: http://squirrelmail.org/postingguidelines >> List address: squ...@li... >> List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins >> List info (subscribe/unsubscribe/change options): >> https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins >> > > |