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

"Jack Labor" <[email protected]>
Newsgroups gmane.os.openbsd.www
Message-ID <54C744011CC9C342BBA5E7861762242601792A42@HIBBERT-EVS01.HibbertNet.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.