Mailing List Archive

oh non!! grrr.... :)
new problem!
I managed to have my openssh find the openssl libraries, I had to create 2
symlinks in the ../openssl directory pointing to the 2 ??.a files in
/openssl/lib/

now when I'm trying to do a make I'm getting this:

In file included from ssh.h:30
from bsd-misc.c:46:
cipher.h:22: openssl/cast.h: No such file or directory
make: *** [bsd-misc.o] Error 1

is this just happening to me or what ?
by the way I'm on a Linux machine but I doubt that it has something to do
with it.

Thanks and guys
don't forget to fix the ./configure file, it should point to /openssl/lib/
or you can just leave it the way it is :) one more thing it does not work
even if I do --with-ssl-dir=/usr/local/bin/openssl/lib/ I absolutely have to
create the 2 symlinks in /usr/local/bin/openssl/ directory
thanks again.
Re: oh non!! grrr.... :) [ In reply to ]
On Wed, 14 Jun 2000, Patrick Amirian wrote:

> new problem!
> I managed to have my openssh find the openssl libraries, I had to create 2
> symlinks in the ../openssl directory pointing to the 2 ??.a files in
> /openssl/lib/

You can do something like:

CFLAGS=-I../openssl/include LDFLAGS=-L../openssl/lib ./configure

to tell configure where to find the headers and libraries.

Regards,
Damien Miller

--
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm@mindrot.org (home) -or- djm@ibs.com.au (work)
AW: oh non!! grrr.... :) [ In reply to ]
Damien Miller wrote:
>> On Wed, 14 Jun 2000, Patrick Amirian wrote:

> >> new problem!
> >> I managed to have my openssh find the openssl libraries, I had to
> create 2
> >> symlinks in the ../openssl directory pointing to the 2 ??.a files in
> >> /openssl/lib/
>
> You can do something like:

> CFLAGS=-I../openssl/include LDFLAGS=-L../openssl/lib ./configure

> to tell configure where to find the headers and libraries.
What I had to do was something like this to get it configured.
First to set the location of the zlib include and library files
and second the location of the openssl include files and libraries.

CFLAGS="-I/usr/local/include -I/usr/local/ssl/include"
LDFLAGS="-L/usr/local/lib
-L/usr/local/ssl/lib" ./configure --with-ssl-dir=/usr/local/openssl

it took me hours (on a very slow system) to figure this one out.
The above two lines are in fact just one command line.

L8R,

Norbert.

--
Norbert Bladt
ATAG debis Informatik, TZ1 - Z302
Industriestrasse 1, CH 3052-Zollikofen
E-Mail: norbert.bladt@adi.ch Tel.: +41 31 915 3964 Fax: +41 31 915 3640