Modify

Opened 7 years ago

Last modified 4 years ago

#9321 assigned defect

nixio should link against libcrypto is using OpenSSL

Reported by: Alexey I. Froloff <raorn@…> Owned by: jow
Priority: normal Milestone: Barrier Breaker 14.07
Component: luci Version: Trunk
Keywords: Cc:

Description

# /www/cgi-bin/luci 

/usr/bin/lua: symbol 'SHA1_Init': can't resolve symbol in lib '/usr/lib/lua/nixio.so'.

/usr/bin/lua: symbol 'SHA1_Init': can't resolve symbol in lib '/usr/lib/lua/nixio.so'.
/usr/bin/lua: error loading module 'nixio' from file '/usr/lib/lua/nixio.so':
        (null)
stack traceback:
        [C]: ?
        [C]: in function 'require'
        /usr/lib/lua/nixio/fs.lua:16: in main chunk
        [C]: in function 'require'
        /usr/lib/lua/luci/ccache.lua:17: in main chunk
        [C]: in function 'require'
        /usr/lib/lua/luci/cacheloader.lua:17: in main chunk
        [C]: in function 'require'
        /www/cgi-bin/luci:2: in main chunk
        [C]: ?

SHA1_Init() is in libcrypto.

libs/nixio/Makefile:

ifeq ($(NIXIO_TLS),openssl)

  • NIXIO_LDFLAGS += -lssl

+ NIXIO_LDFLAGS += -lssl -lcrypto

endif

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by florian

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

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as assigned .
Author


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

 
Note: See TracTickets for help on using tickets.