I'm getting the following build error on Fedora 17:
/bin/ld: note: 'ber_free' is defined in DSO /lib64/liblber-2.4.so.2 so try adding it to the linker command line /lib64/liblber-2.4.so.2: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make[1]: *** [xymonnet] Error 1 make[1]: Leaving directory `/home/mlitchfi/xymon-4.3.8/rpmbuild/BUILD/xymon-4.3.8/xymonnet' make: *** [xymonnet-build] Error 2 error: Bad exit status from /tmp/rpm-tmp.NPU9fZ (%build)
4.3.7 build with no issues. What changed?
-Marty
On Wed, 18 Jul 2012 11:58:05 +0000, Marty Litchfield <marty.litchfield at gcsu.edu> wrote:
I'm getting the following build error on Fedora 17:
/bin/ld: note: 'ber_free' is defined in DSO /lib64/liblber-2.4.so.2 so try adding it to the linker command line /lib64/liblber-2.4.so.2: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make[1]: *** [xymonnet] Error 1 make[1]: Leaving directory `/home/mlitchfi/xymon-4.3.8/rpmbuild/BUILD/xymon-4.3.8/xymonnet' make: *** [xymonnet-build] Error 2 error: Bad exit status from /tmp/rpm-tmp.NPU9fZ (%build)
4.3.7 build with no issues. What changed?
The build-scripts changed.
Quick fix is to edit your Makefile, and change the LDAPLIBS line to
LDAPLIBS = -lldap -llber
There will be a 4.3.9 release with this fix, and also a fix for "Disable until" being broken.
Regards, Henrik
participants (2)
-
henrik@hswn.dk
-
marty.litchfield@gcsu.edu