FS#28606 - [dirmngr] undefined reference to symbol 'ber_free'

Attached to Project: Arch Linux
Opened by WorMzy Tykashi (WorMzy) - Thursday, 23 February 2012, 16:08 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 08 March 2012, 13:28 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Compilation fails with the following message:
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -Wno-pointer-sign -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -o dirmngr_ldap dirmngr_ldap-dirmngr_ldap.o dirmngr_ldap-no-libgcrypt.o ../jnlib/libjnlib.a -lgpg-error -lldap
/usr/bin/ld: dirmngr_ldap-dirmngr_ldap.o: undefined reference to symbol 'ber_free'
/usr/bin/ld: note: 'ber_free' is defined in DSO /usr/lib/liblber-2.4.so.2 so try adding it to the linker command line
/usr/lib/liblber-2.4.so.2: could not read symbols: Invalid operation
collect2: ld returned 1 exit status


Additional info:
PKGBUILD works if "LIBS=-llber" is added to ./configure line.


Steps to reproduce:
Download PKGBUILD and run makepkg.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Thursday, 08 March 2012, 13:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.1.0-4

Loading...