Re: Problems building dar_static

Mihai Moldovan <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
* On 7/18/19 11:56 AM, Denis Corbin wrote:
> none of the Debian based distro (Ubuntu, Devuan, ...) nor Debian itself
> seem to provide static version of libcurl. You thus need to compile it
> by yourself and install it (making or not a package of it) in order to
> be able to compile dar_static with full options.

Uh, they do. In either one of the libcurl4-{gnutls,nss,openssl}-dev packages on
Debian/Ubuntu. Other distros should likewise provide it in other packages. I
guess the OpenSSL variant is the default, so I'd use that.


> As an alternative you can also fetch the dar_static binaries I provide
> on ftp://ftp.dm3c.org/ they should work for any Linux system with x86-64
> CPU. If you need it for another system or CPU tell me, I will look
> forward to provide it too if possible.

Might be nitpicking, but even with that you'll into problems. I recently had to
upgrade a kernel and started seeing a lot of binaries from CentOS 6 fail,
because the VSYSCALL emulation was turned off by default and these binaries
still use them. The static binary might run fine if it's not bundling a libc,
but that's more or less just a guess. Users should be aware that even static
binaries can problematic sometimes.



Mihai
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.