Modify

Opened 7 years ago

Last modified 4 years ago

#8667 accepted defect

Library not pulled in for luci with TLS provided by openssl

Reported by: CrazyCasta Owned by: jow
Priority: normal Milestone: Chaos Calmer 15.05
Component: luci Version: Trunk
Keywords: Cc:

Description

When setting up Luci to use openssl as its TLS provider it adds -lssl to the NIXIO_LDFLAGS. However, SHA1_Init (used by nixio.so) is in libcrypto, not libssl. Perhaps this changed at some point. The result is that /www/cgi-bin/luci fails with an error about unresolved symbol SHA1_Init in nixio.so.

The attached patch solved the problem for me. This is a patch for svn r6744.

Attachments (1)

110-fix-missing-lcrypto-Makefile.patch (407 bytes) - added by anonymous 7 years ago.
Patch to fix issue

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by anonymous

Patch to fix issue

comment:1 Changed 7 years ago by anonymous

P.S. I apologize, apparently the bug system has some nice svn rev link system, but I don't know how to use it properly.

comment:2 Changed 7 years ago by anonymous

Oh, and I forgot to mention, I'm not sure if the ssl library is required anymore, or if only the crypto library is required. Someone with more knowledge then me will have to handle that.

comment:3 Changed 7 years ago by jow

  • Owner set to jow
  • Status changed from new to accepted

comment:4 Changed 4 years ago by jow

  • Milestone changed from Backfire 10.03.2 to Chaos Calmer (trunk)

Milestone Backfire 10.03.2 deleted

Add Comment

Modify Ticket

Action
as accepted .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.