Ticket #10 (closed defect)

Opened 11 years ago

Last modified 10 years ago

LDFLAGS incorrect in Makefile (-L-L)

Reported by: roysmith Owned by:
Priority: normal Milestone:
Component: Version:
Keywords: Cc: roysmith, marschap, bagder
Blocked By: Blocks:

Description

Linux krypton 2.4.21-20.ELsmp #1 SMP Wed Aug 18
20:46:40 EDT 2004 i686 unknown

libssh2-0.13.tar.gz

When I run ./configure, I get a syntactically incorrect
LDFLAGS line in src/Makefile:

LDFLAGS = -L-L/usr/kerberos/lib -lssl -lcrypto
-lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl
-lz -lcrypto -L/usr/lib -lz

Note the "-L-L". When I remove the extra -L, the
library builds fine.

Change History

comment:1 Changed 11 years ago by marschap

Hi,

I guess the cause of this error are discpreancies in the
output of pkg-config and manual setting of OPENSSL_LIBDIR
in confiure.in.

Patch #1458810 should fix the issue.

Hope it hleps
Peter

comment:2 Changed 10 years ago by bagder

the makefile stuff is totally remade in CVS

Note: See TracTickets for help on using tickets.