LMS-Community / slimserver-vendor

Third-party software used with Lyrion Music Server
https://lyrion.org
42 stars 68 forks source link

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

Open LeSpocky opened 4 years ago

LeSpocky commented 4 years ago

This is the result when trying to build 6265ea5b0ab9952af187602e848bbe318f4e3cc6 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.