[squid-users] squid compilation error in Docker

Eliezer Croitoru ngtech1ltd at gmail.com
Sat Apr 30 22:46:39 UTC 2022


I assume that the findutils is not a dependency of libtool since the required utilities can be supplied from couple sources.

One of them is busybox but I assumed that RedHat or CentOS will make it a requirement.

 

A good catch!

 

Thanks,

Eliezer

 

----

Eliezer Croitoru

NgTech, Tech Support

Mobile: +972-5-28704261

Email: ngtech1ltd at gmail.com <mailto:ngtech1ltd at gmail.com> 

 

From: squid-users <squid-users-bounces at lists.squid-cache.org> On Behalf Of Ivan Larionov
Sent: Tuesday, April 26, 2022 23:24
To: Alex Rousskov <rousskov at measurement-factory.com>
Cc: Squid Users <squid-users at lists.squid-cache.org>
Subject: Re: [squid-users] squid compilation error in Docker

 

I think based on the compilation log that it's not used by squid directly but by libtool. I went through the whole log again and found the following errors which I missed originally:

 

"libtool: line 4251: find: command not found"

 

On Mon, Apr 25, 2022 at 1:08 PM Alex Rousskov <rousskov at measurement-factory.com <mailto:rousskov at measurement-factory.com> > wrote:

On 4/25/22 15:41, Ivan Larionov wrote:
> Seems like "findutils" is the package which fixes the build.
> 
> Binsaries in this package:
> 
> # rpm -ql findutils | grep bin
> /bin/find
> /usr/bin/find
> /usr/bin/oldfind
> /usr/bin/xargs
> 
> If build depends on some of these then configure script should probably 
> check that they're available.


... and/or properly fail when their execution/use fails. I do not know 
whether this find/xargs dependency is inside Squid or inside something 
that Squid is using though, but I could not quickly find any direct uses 
by Squid sources (that would fail the build).


Alex.


> On Wed, Apr 13, 2022 at 9:38 PM Amos Jeffries wrote:
> 
>     On 14/04/22 14:59, Ivan Larionov wrote:
>      > There were no errors earlier.
>      >
>      > Seems like installing openldap-devel fixes the issue.
>      >
>      > There were other dependencies installed together with it, not
>     sure if
>      > they also affected the build or not.
> 
> 
>     I suspect one or more of those other components is indeed the source of
>     the change. Some of them are very low-level OS functionality updates
>     (eg
>     /proc and filesystem  utilities).
> 
>     FWIW, The gist you posted looks suspiciously like reports we used to
>     see
>     when BSD people were having issues with the linker not receiving all
>     the
>     arguments passed to it. I would focus on the ones which interact
>     with OS
>     filesystem or the autotools / compiler/ linker.
> 
> 
>     HTH
>     Amos
>     _______________________________________________
>     squid-users mailing list
>     squid-users at lists.squid-cache.org <mailto:squid-users at lists.squid-cache.org> 
>     <mailto:squid-users at lists.squid-cache.org <mailto:squid-users at lists.squid-cache.org> >
>     http://lists.squid-cache.org/listinfo/squid-users
>     <http://lists.squid-cache.org/listinfo/squid-users>
> 
> 
> 
> -- 
> With best regards, Ivan Larionov.
> 
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org <mailto:squid-users at lists.squid-cache.org> 
> http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
squid-users at lists.squid-cache.org <mailto:squid-users at lists.squid-cache.org> 
http://lists.squid-cache.org/listinfo/squid-users




 

-- 

With best regards, Ivan Larionov.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20220501/87400380/attachment.htm>


More information about the squid-users mailing list