Xymon Mailing List Archive search

xymonnet build error FC17 on 4.3.8

2 messages in this thread

list Marty Litchfield · Wed, 18 Jul 2012 11:58:05 +0000 ·
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
list Henrik Størner · Wed, 18 Jul 2012 14:12:27 +0200 ·
On Wed, 18 Jul 2012 11:58:05 +0000, Marty Litchfield
quoted from Marty Litchfield
<user-ccdbe56cd220@xymon.invalid> 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