ports/86632: textproc/xmlstarlet fails to link to latest textproc/libxslt

Adam VanderHook acidos at bandwidth-junkies.net
Tue Sep 27 13:40:18 UTC 2005


>Number:         86632
>Category:       ports
>Synopsis:       textproc/xmlstarlet fails to link to latest textproc/libxslt
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 27 13:40:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Adam VanderHook
>Release:        FreeBSD 5.4-RELEASE-p1 i386
>Organization:
Bandwidth Junkies
>Environment:
System: FreeBSD regen.bandwidth-junkies.net 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #5: Fri May 27 23:26:27 EDT 2005 acidos at regen.bandwidth-junkies.net:/usr/obj/usr/src/sys/REGEN i386

>Description:
When doing a 'make' or even running portupgrade an linker error is returned attempting
to link to /usr/local/bin/libexslt.a on exsltCryptoGcrypt methods even though
/usr/local/lib/libgcrypt.so is present and textproc/libxslt has been built with
WITH_GCRYPT=yes

>How-To-Repeat:
Update the ports tree from CVS and run 'make' on the port.

>Fix:

Haven't found a fix yet.  Have tried rebuilding libxslt and xmlstarlet multiple times in
an attempt to ensure gcrypt is enabled, but to no avail.

The following is an 'ls' of libgcrypt.so on my system:

lrwxr-xr-x  1 root  wheel      15 Apr 22 08:56 /usr/local/lib/libgcrypt.so -> libgcrypt.so.13
-rwxr-xr-x  1 root  wheel  335953 Apr 22 08:56 /usr/local/lib/libgcrypt.so.13

The following is the output when trying to link.

cc  -O -pipe  -o xml  xml.o xml_edit.o xml_ls.o xml_escape.o xml_pyx.o  xml_depyx.o xml_select.o xml_trans.o xml_validate.o xml_format.o  xml_elem.o xml_C14N.o trans.o binsert.o stack.o strdup.o /usr/local/lib/libxslt.a /usr/local/lib/libexslt.a -lz -lm -pthread /usr/local/lib/libxml2.a -lz -lm -pthread -liconv -L/usr/local/lib
/usr/local/lib/libexslt.a(crypto.o)(.text+0x101): In function `exsltCryptoGcryptInit':
: undefined reference to `gcry_check_version'
/usr/local/lib/libexslt.a(crypto.o)(.text+0x134): In function `exsltCryptoGcryptHash':
: undefined reference to `gcry_md_hash_buffer'
/usr/local/lib/libexslt.a(crypto.o)(.text+0x159): In function `exsltCryptoGcryptRc4Encrypt':
: undefined reference to `gcry_cipher_open'
/usr/local/lib/libexslt.a(crypto.o)(.text+0x169): In function `exsltCryptoGcryptRc4Encrypt':
: undefined reference to `gcry_strerror'
/usr/local/lib/libexslt.a(crypto.o)(.text+0x19a): In function `exsltCryptoGcryptRc4Encrypt':
: undefined reference to `gcry_cipher_ctl'
/usr/local/lib/libexslt.a(crypto.o)(.text+0x1aa): In function `exsltCryptoGcryptRc4Encrypt':
: undefined reference to `gcry_strerror'
/usr/local/lib/libexslt.a(crypto.o)(.text+0x1df): In function `exsltCryptoGcryptRc4Encrypt':
: undefined reference to `gcry_cipher_encrypt'
/usr/local/lib/libexslt.a(crypto.o)(.text+0x1ef): In function `exsltCryptoGcryptRc4Encrypt':
: undefined reference to `gcry_strerror'
/usr/local/lib/libexslt.a(crypto.o)(.text+0x217): In function `exsltCryptoGcryptRc4Encrypt':
: undefined reference to `gcry_cipher_close'
/usr/local/lib/libexslt.a(crypto.o)(.text+0x23d): In function `exsltCryptoGcryptRc4Decrypt':
: undefined reference to `gcry_cipher_open'
/usr/local/lib/libexslt.a(crypto.o)(.text+0x24d): In function `exsltCryptoGcryptRc4Decrypt':
: undefined reference to `gcry_strerror'
/usr/local/lib/libexslt.a(crypto.o)(.text+0x27e): In function `exsltCryptoGcryptRc4Decrypt':
: undefined reference to `gcry_cipher_ctl'
/usr/local/lib/libexslt.a(crypto.o)(.text+0x28e): In function `exsltCryptoGcryptRc4Decrypt':
: undefined reference to `gcry_strerror'
/usr/local/lib/libexslt.a(crypto.o)(.text+0x2c3): In function `exsltCryptoGcryptRc4Decrypt':
: undefined reference to `gcry_cipher_decrypt'
/usr/local/lib/libexslt.a(crypto.o)(.text+0x2d3): In function `exsltCryptoGcryptRc4Decrypt':
: undefined reference to `gcry_strerror'
/usr/local/lib/libexslt.a(crypto.o)(.text+0x2fb): In function `exsltCryptoGcryptRc4Decrypt':
: undefined reference to `gcry_cipher_close'
*** Error code 1

Stop in /usr/ports/textproc/xmlstarlet/work/xmlstarlet-1.0.1/src.
*** Error code 1

Stop in /usr/ports/textproc/xmlstarlet/work/xmlstarlet-1.0.1.
*** Error code 1

Stop in /usr/ports/textproc/xmlstarlet/work/xmlstarlet-1.0.1.
*** Error code 1
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list