PDA

View Full Version : FreeBSD doesn't have libdl so Amanda 3.4.3 and 3.4.4 won't build



David.Boyd@insightbb.com
June 3rd, 2017, 08:52 AM
FreeBSD doesn't have libdl so Amanda 3.4.3 and 3.4.4 won't build.

The Makefile.in in the device-src directory unconditionally tries to include -ldl. This causes FreeBSD to fail during the build.

The problem area in device-src/Makefile.in is about line 1788.

I have created a local patch to circumvent this problem and both 3.4.3 and 3.4.4 seem okay, otherwise.

Thanks.

martineau
June 6th, 2017, 11:04 AM
Can you try the attached patch

David.Boyd@insightbb.com
June 8th, 2017, 10:27 AM
Jean-Louis,

Thanks for the quick reply.

The patch appears to apply correctly. configure appear to run correctly.

The attachment shows an error which occurs during gmake.

I have time and computers to do any testing necessary.

Thanks.

David Boyd.

martineau
June 8th, 2017, 10:31 AM
Some tools are missing to build amanda, (not the same version as I have).
You can try to do:./autogen
before the ./configure

You can also try to download amanda-3.4.5.tar.gz, the patch is included in it.

David.Boyd@insightbb.com
June 8th, 2017, 02:47 PM
Jean-Louis,

I couldn't get ./autogen to work ... same complaint about aclocal.

I downloaded 3.4.5 and it configured and build just peachy.

I am testing now, but everything looks good.

Thank you.

David Boyd.

svejorange
September 20th, 2018, 02:27 AM
Is there another solution? The previous stated doesn’t work for me.


markomani.com/media