[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:02556] Re: BUG? (Re: apache1.2.4)



やなぎはらです。

From: moriyama@xxxxxxxxxxxxxxxxxxxx (Toshiyuki Moriyama)
Message-ID: <199710290933.SAA14449@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>

moriyama> 森山です
moriyama> 
moriyama> > 5. ビルド
moriyama> >   % chmod a+x debian/rules
moriyama> >   % dpkg-buildpackage -ppgp -rsudo
moriyama> >      (sudo,pgp を使わないなら、root で dpkg-buildpackage -us -uc)
moriyama> 
moriyama> で,
moriyama> #dpkg-buildpackage -us -uc
moriyama> とすると,
moriyama> --- building support binaries ---
moriyama> 
moriyama> cd support; make CFLAGS="-s -DDEBIAN"
moriyama> make[2]: Entering directory `/usr/src/apache_1.2.4/support'
moriyama> gcc -s -DDEBIAN htpasswd.c -o htpasswd   -lcrypt
moriyama> ld: cannot open -lcrypt: No such file or directory
moriyama> make[2]: *** [htpasswd] Error 1
moriyama> make[2]: Leaving directory `/usr/src/apache_1.2.4/support'
moriyama> make[1]: *** [build-support] Error 2
moriyama> make[1]: Leaving directory `/usr/src/apache_1.2.4'
moriyama> make: *** [build] Error 2
moriyama> 
moriyama> と,叱られてしまいます
moriyama> 
moriyama> cryptはどこにあるのでしょうか?
moriyama> debain1.3.1のパッケージには無さそうですけど

libc5 では、libc の中に含まれています。
libc6 では、libcrypt が別になったのです。

こういうことですので、ld の -lcrypt を削除するとよいと思います。

+-----------------------------------------------------------------------+
 Yoshiaki Yanagihara	       Debian JP Project
 E-mail: yochi@debian.or.jp    [Japanese] http://www.debian.or.jp/
         yochi@debian.org      [English ] Sorry, now under construction.