[yoshimi] Re: libz.h missing

  • From: "Randy Steck" <randy@xxxxxxxxxx>
  • To: "yoshimi@xxxxxxxxxxxxx" <yoshimi@xxxxxxxxxxxxx>
  • Date: Fri, 4 Nov 2016 16:37:33 +0000

I'm using Ubuntu 16.04.  I guess it's possible that the distro is messed up, 
but unpacking it and running ccmake were the only steps I took.  Plus, it's 
looking for something outside of the distro....

I have moderate knowledge of Linux in general, but am not sure where zlib1g and 
zlib1g-dev would have stuck zlib.h.  They are certainly not in the normal 
include directories.

I didn't understand your comment on zlib being different.  I'm sort of at a 
loss on what steps to take next, or even how to track this problem down.



-----Original Message-----
From: yoshimi-bounce@xxxxxxxxxxxxx [mailto:yoshimi-bounce@xxxxxxxxxxxxx] On ;
Behalf Of Will Godfrey
Sent: Friday, November 4, 2016 3:00 AM
To: yoshimi@xxxxxxxxxxxxx
Subject: [yoshimi] Re: libz.h missing

On Fri, 4 Nov 2016 02:38:36 +0000
"Randy  Steck" <randy@xxxxxxxxxx> wrote:

I'm trying to compile the latest 1.4.1 release and ccmake is giving a 
consistent "libz required but not found" error.  This actually refers to a 
line in CMakeLists.txt that wants to include zlib.h.  The actual line is :



#include <zlib.h>



I've installed zlib1g and zlib1g-dev with no change.  I can't find zlib.h in 
/usr/include or any other standard library.  Can anyone suggest a way to get 
this compiled?


What distro are you using?
I know this sounds daft, but have you somehow managed to mess up the install so 
that the package manager thinks it's complete but is actually not?

zlib is different to most packages in that we try to use it to find out if its 
there (hence that tiny bit of code), so it shouldn't actually matter where it's 
located as long as the system sees it.

HTH

--
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
Yoshimi source code is available from either: 
http://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx
Yoshimi source code is available from either: 
http://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx

Other related posts: