Opened 6 months ago

Last modified 5 months ago

#121 new defect

brew upgrade issues on macOS

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 (3)

comment:1 Changed 6 months 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 5 months ago by Olly Betts (previous) (diff)

comment:2 Changed 5 months 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).

comment:3 Changed 5 months ago by Simon Murphy

Thanks for the suggestion. I've updated wxmac and I've done

brew reinstall survex

Now I get a new error:

aven

dyld: Library not loaded: /Users/sjm/Developer/opt/wxmac/lib/libwx_osx_cocoau_core-3.0.dylib

Referenced from: /Users/sjm/Developer/bin/aven Reason: image not found

[1] 26016 abort aven

Would appreciate input from Robert Jones!

Note: See TracTickets for help on using tickets.