[squeak-dev] [Vm-dev] Next Release Candidate?

David T. Lewis lewis at mail.msen.com
Mon Dec 20 18:32:53 UTC 2021


On Mon, Dec 20, 2021 at 06:14:26PM +0100, Marcel Taeumel wrote:
>  
> Hi Dave --
> 
> It looks like that SqueakSSL uses "glob.h" and glob()/globfree() in "platforms/unix/plugins/SqueakSSL/openssl_overlay.h". That needs glibc 2.27.
> 
> ...
> ?? ?? ?? ?? glob_t g = {0};
> ?? ?? ?? ?? if (0 == glob(possible_files, GLOB_NOSORT, NULL, &g)) {
> ?? ?? ?? ?? ?? ?? if (g.gl_pathc > 0) {
> ?? ?? ?? ?? ?? ?? ?? ?? for (size_t i = 0; i < g.gl_pathc; i++) {
> ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? char* fullfile = basename(g.gl_pathv[i]);
> ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? if (strnlen(fullfile, PATH_MAX) > name_len) {
> ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? libnames[libname_count] = strndup(fullfile, PATH_MAX);
> ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? libname_count++;
> ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? }
> ?? ?? ?? ?? ?? ?? ?? ?? }
> ?? ?? ?? ?? ?? ?? }
> ?? ?? ?? ?? ?? ?? globfree(&g);
> ...
> 
> 
> What's "ldd --version" on your Ubuntu 16.04 LTS?
> 

$ ldd --version
ldd (Ubuntu GLIBC 2.23-0ubuntu11.3) 2.23
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.




More information about the Squeak-dev mailing list