Bug 604 - ld: fatal: Symbol referencing errors. No output written to ssh-add
Summary: ld: fatal: Symbol referencing errors. No output written to ssh-add
Status: CLOSED WORKSFORME
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: 3.6.1p2
Hardware: UltraSPARC SunOS
: P2 major
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-26 05:25 AEST by Raja Rajan
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raja Rajan 2003-06-26 05:25:22 AEST
When we install openSSH in our solaris 2.8 box we're getting the following 
errors... The configuration went smooth without any errors.. We have given the 
following parameter to configure....

 selfreg-root:/opt/openssh-3.6p1
#./configure --prefix=/opt --sysconfdir=/etc/ssh --with-dir-ssl=/usr/local/ssl

After this when we try to run make we're getting the following error... Please 
help....

 selfreg-root:/opt/openssh-3.6p1
# make
:::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::
(cd openbsd-compat && make)
make[1]: Entering directory `/opt/openssh-3.6p1/openbsd-compat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/openssh-3.6p1/openbsd-compat'
gcc -o ssh-add ssh-add.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib -
R/usr/local/ssl/lib  -L/usr/local/lib -R/usr/local/lib -lssh -lopenbsd-compat -
lrt -lz -lsocket -lnsl  -lcrypto   
Undefined                       first referenced
 symbol                             in file
OpenSSL_add_all_algorithms          ssh-add.o
ld: fatal: Symbol referencing errors. No output written to ssh-add
collect2: ld returned 1 exit status
make: *** [ssh-add] Error 1
Comment 1 Ben Lindstrom 2003-06-26 07:51:43 AEST
What version of OpenSSL?
Comment 2 Darren Tucker 2003-07-06 23:54:01 AEST
Try --with-ssl-dir rather than --with-dir-ssl:

$ ./configure --help |grep ssl
  --with-ssl-dir=PATH     Specify path to OpenSSL installation
Comment 3 Darren Tucker 2003-07-07 19:34:46 AEST
Please re-open if you can reproduce with --with-dir-ssl.
Comment 4 Darren Tucker 2003-07-07 19:56:04 AEST
Whoops, make that --with-ssl-dir.
Comment 5 Darren Tucker 2003-07-07 22:49:05 AEST
OK then, which version of OpenSSL do you have? Try:
$ /usr/local/ssl/bin/openssl version
Comment 6 Darren Tucker 2003-08-22 12:50:44 AEST
No answer == no bug.
Comment 7 Damien Miller 2004-04-14 12:24:19 AEST
Mass change of RESOLVED bugs to CLOSED