octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 4.0.3 doesn't build on MacOS X


From: Ben Abbott
Subject: Re: 4.0.3 doesn't build on MacOS X
Date: Sun, 03 Jul 2016 20:13:30 -0400

On Jul 3, 2016, at 3:32 PM, Marius Schamschula <address@hidden> wrote:

On Jul 3, 2016, at 2:22 PM, Sebastian <address@hidden> wrote:

Do you build with —without-z?

Under MacPorts I had to patch libinterp/Makefile.in to add Z_LIB, in order to avoid symbol not found issues for libz:

http://git.hmug.org/ports/blob/master/math/octave/files/patch-libinterp-Makefile.in.diff

Marius’ patch works for me.

Strange; I do not need this patch and I am not building "--without-zlib". Are we talking about OS X 10.11.5? I have

ls /usr/lib/libz.?.?.?.dylib
/usr/lib/libz.1.1.3.dylib
/usr/lib/libz.1.2.5.dylib

I will try to apply the patch and see if anything changes...

Sebastian,

I was building using trace mode under Yosemite. 

However, the dependency on zlib was specified, and thus zlib was found by configure, but the library was not found at link time in the libinterp directory.

I see the same behavior. This appears to be limited to 4.0.3 (works for 4.0.2 and for the default branch).

Howver, I assume zlib would be found at link time, but the link command does not include zlib? Otherwise, I don’t see why the patch would work.

Ben

reply via email to

[Prev in Thread] Current Thread [Next in Thread]