Skip to content

buildme.sh fails when searching libz on Debian 9 (stretch) #75

@LeSpocky

Description

@LeSpocky

This is the result when trying to build 6265ea5 on Debian GNU/Linux version 9 (stretch) on amd64:

% ./buildme.sh                                                                                     :(
RUN_TESTS:1 CLEAN:1 USE_HINTS:1 RENAME_x86:1 target all
Looks like your compiler is gcc
gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
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.

./buildme.sh: line 253: ldconfig: command not found
libz not found - please install it

The reason is ldconfig is located in /sbin which is not in PATH for an ordinary unprivileged user (you would not build as root, why would you?). The following message about a missing libz is at best misleading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions