Donate Share

XMLStarlet command line XML toolkit

Tracker: Bugs

5 Undefined crypto symbols in link - ID: 2617940
Last Update: Comment added ( neil_mayhew )

There are multiple link errors like this:

/usr/lib/libexslt.a(crypto.o): In function `exsltCryptoGcryptInit':
(.text+0x15c): undefined reference to `gcry_check_version'

This is because the hand-crafted static linking performed in configure.in
does not include the necessary crypto libraries. In any case, when not
using a specific local version of libxslt etc., the dynamic libraries
returned by pkg-config should be used. Dynamic libraries bring in their own
dependencies as needed.

This patch does not attempt to fix the static linking situation.


Neil Mayhew ( neil_mayhew ) - 2009-02-19 23:04

5

Open

None

Nobody/Anonymous

misc

None

Public


Comments ( 2 )




Date: 2009-02-19 23:30
Sender: neil_mayhew

This appears to be a duplicate of 1906946 -- sorry.


Date: 2009-02-19 23:23
Sender: neil_mayhew

I have added a patch that I think fixes the gcrypt dependency. It works on
my machine, anyway. I am using Debian lenny.


Log in to comment.

Attached Files ( 2 )

Filename Description Download
configure.patch Patch to configure.in to ensure correct use of default libraries. Download
gcrypt.patch Make implicit libgcrypt dependency explicit in configure.in Download

Changes ( 2 )

Field Old Value Date By
File Added 314314: gcrypt.patch 2009-02-19 23:25 neil_mayhew
File Added 314313: configure.patch 2009-02-19 23:04 neil_mayhew