make: Fatal error: Command failed for target `ssh'

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

make: Fatal error: Command failed for target `ssh'

Jack Labor
I have the configure file set to the correct syntax and it runs w/o
errors.



./configure --prefix=/opt/ssh --with-pam --without-rsh--disable-suid-ssh
--sysconfdir=/etc/ssh --with-prngd-socket=/var/spool/prngd/pool





The problem is that every time I run 'make' I get the following error.
echo



if test ! -z ""; then \
        /usr/bin/perl ./fixprogs ssh_prng_cmds ; \
fi
(cd openbsd-compat && make)
gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o  sshconnect.o
sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib
-R/usr/local/ssl/lib -lssh -lopenbsd-compat -lresolv -lcrypto -lrt -lz
-lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
dlsym
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to implicit
dependency /lib/libdl.so.1)
dlopen
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to implicit
dependency /lib/libdl.so.1)
dlclose
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to implicit
dependency /lib/libdl.so.1)
dlerror
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to implicit
dependency /lib/libdl.so.1)
ld: fatal: Symbol referencing errors. No output written to ssh
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `ssh'
Note:  I have added /opt/ssh to my PATH and I am in the directory :

        pt/ssh/openssh-4.2p1-chroot





I want to know why the 'make' file fails with this error?    What does
this error mean













Jack

IT UNIX Team

609-421-6355