Summary: | openssh needs openct to compile for use flag smartcard | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christoph Burger-Scheidlin <andersin> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED INVALID | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | add smartcard? ( dev-libs/openct ) to the ebuild |
Description
Christoph Burger-Scheidlin
2005-11-24 11:40:14 UTC
no real information there openssh does not link against openct nor include openct headers Created attachment 73515 [details, diff]
add smartcard? ( dev-libs/openct ) to the ebuild
Besides, openssh w/ USE=smartcard depends on opensc which depends on openct unless you have USE=pscs-lite... What else do you want to know? This is what I get for emerge openssh: (I have the pscs-lite and smartcard use flags set) i686-pc-linux-gnu-gcc -march=pentium3 -O3 -pipe -finline-limit=1200 -fomit-frame-pointer -frerun-loop-opt -ffast-math -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -std=gnu99 -I. -I. -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c sshconnect2.c i686-pc-linux-gnu-gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/ -L/usr/lib -lopensc -lssh -lopenbsd-compat -lcrypto -lldap -lutil -lz -lnsl -lcrypt /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld: warning: libopenct.so.0, needed by /usr/lib/libopensc.so, not found (try using -rpath or -rpath-link) /usr/lib/libopensc.so: undefined reference to `ct_card_verify' /usr/lib/libopensc.so: undefined reference to `ct_strerror' /usr/lib/libopensc.so: undefined reference to `ct_card_unlock' /usr/lib/libopensc.so: undefined reference to `ct_reader_disconnect' /usr/lib/libopensc.so: undefined reference to `ct_card_request' /usr/lib/libopensc.so: undefined reference to `ct_card_transact' /usr/lib/libopensc.so: undefined reference to `ct_reader_connect' /usr/lib/libopensc.so: undefined reference to `ct_card_lock' /usr/lib/libopensc.so: undefined reference to `ct_card_status' /usr/lib/libopensc.so: undefined reference to `ct_reader_info' collect2: ld returned 1 exit status make: *** [ssh] Error 1 sorry for the typo, the use flag is pcsc-lite if you had posted that output the first time i could have told you that the reason it failed is that you had openct on your machine and opensc linked against it, but then you either removed openct or you upgraded it and thus broke opensc Thanks, that fixed it. |