Opened 3 years ago

Last modified 2 years ago

#121 closed defect

brew upgrade issues on macOS — at Version 2

Reported by: Simon Murphy Owned by: Olly Betts
Priority: minor Milestone:
Component: aven Version: 1.2.43
Keywords: dyld Library libproj macOS Cc:

Description (last modified by Olly Betts)

Hi, I've recently migrated to BigSur? (the latest macOS), which meant survex no longer loaded.

I've just done a brew upgrade survex to get the latest version (I'm now at 1.2.43), hoping this would resolve the problems.

When I run

aven

I get (for user sjm):

dyld: Library not loaded: /Users/sjm/Developer/opt/proj/lib/libproj.19.dylib
  Referenced from: /Users/sjm/Developer/bin/aven
  Reason: image not found
[1]    67839 abort      aven

I did a bit of googling and tried to

brew unlink survex

then

brew link survex

again, but no luck.

When that didn't change anything, I tried

brew reinstall survex

but still no luck.

I tried

ln -s /Users/sjm/Developer/Cellar/proj/7.2.1.reinstall/lib/libproj.19.dylib /Users/sjm/Developer/opt/proj/lib/libproj.19.dylib

but still no success.

Thanks in advance for your help. Simon.

Change History (2)

comment:1 Changed 3 years ago by Simon Murphy

After the link to the new library path, the error reported is the following:

> aven

2021-06-15 14:56:01.737 aven[79132:6683451] *** Assertion failure in NSSize _NSViewClampSizeToLimits(NSView *, NSString *, NSSize)(), NSView.m:709
2021-06-15 14:56:01.745 aven[79132:6683451] <NSATSTypesetter: 0x7f8f6d01e580>: Exception Invalid parameter not satisfying: fabs(size.width) <= NSVIEW_GEOMETRY_LIMIT raised during typesetting layout manager <NSLayoutManager: 0x7f8f6d749fb0>
    1 containers, text backing has 0 characters
    selected character range {0, 0} affinity: upstream granularity: character
    marked character range {0, 0}
    Currently holding 0 glyphs.
    Glyph tree contents:  0 characters, 0 glyphs, 1 nodes, 64 node bytes, 0 storage bytes, 64 total bytes, 0.00 bytes per character, 0.00 bytes per glyph
    Layout tree contents:  0 characters, 0 glyphs, 0 laid glyphs, 0 laid line fragments, 1 nodes, 64 node bytes, 0 storage bytes, 64 total bytes, 0.00 bytes per character, 0.00 bytes per glyph, 0.00 laid glyphs per laid line fragment, 0.00 bytes per laid line fragment
, glyph range {0 0}. Ignoring...
[1]    79132 segmentation fault  aven
Last edited 3 years ago by Olly Betts (previous) (diff)

comment:2 Changed 3 years ago by Olly Betts

Description: modified (diff)

It doesn't seem like the proj problem is connected to the final failure, but I'm not sure what's causing either.

You could try updating again, as I see wxmac got updated to 3.1.5 2 days ago:

https://github.com/Homebrew/homebrew-core/commits/46ad714cc4d3140b69723b7bfc0395f085b642b9/Formula/wxmac.rb

Maybe 3.1.5 supports the latest macos better.

If that doesn't help, I don't have a mac myself so it's hard for me to investigate, but we can see if Robert Jones can take a look (he put together the homebrew packaging).

Note: See TracTickets for help on using tickets.