Opened 4 weeks ago

Last modified 4 weeks ago

#60179 new defect

pgAdmin3: dyld: Symbol not found: __ZTISt12length_error

Reported by: leebaylis Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: mojave Cc:
Port: pgAdmin3

Description (last modified by ryandesign (Ryan Schmidt))

Hi,

When I install pgadmin3 on Mojave and try to run it, I get a pop up crash window from OSX stating:

pgAdmin3 cannot be opened because of a problem. 

Check with the developer to make sure pgAdmin3 works with this version of MacOS. You may need to reinstall the application. Be sure to install any available updates for the application and MacOS.

Running it from the command line at /Applications/MacPorts/pgAdmin3.app/Contents/MacOS yields:

dyld: Symbol not found: __ZTISt12length_error
  Referenced from: /Applications/MacPorts/pgAdmin3.app/Contents/MacOS/./pgAdmin3
  Expected in: /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
 in /Applications/MacPorts/pgAdmin3.app/Contents/MacOS/./pgAdmin3
Abort trap: 6

I note port is unmaintained from port info --maintainer...

Change History (1)

comment:1 Changed 4 weeks ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Keywords: mojave added
Port: pgAdmin3 added; pgadmin3 removed
Summary: Pgadmin3 failing to run on MojavepgAdmin3: dyld: Symbol not found: __ZTISt12length_error

I see references to this type of error being caused by a bug which was present in beta versions of Xcode 11, although there they were experiencing the error when using the iOS simulator and not Mac software. It doesn't say if or in what version the bug was fixed.

Did you build pgAdmin3 on your own computer (if so, which version of Xcode did you have when you built it?) or did you get our binary (which was built with Xcode 10.3)?

If you built it yourself and you have Xcode 11, make sure it's 11.2.1, the last version compatible with Mojave. (If it was an earlier Xcode 11, upgrade to 11.2.1, then rebuild pgAdmin3 from source using sudo port -ns upgrade --force pgAdmin3.) If that doesn't work, try using our binary (sudo port -nb upgrade --force pgAdmin3) or downgrading to Xcode 10.3 before rebuilding from source.

If you got our binary and it has the problem, then try rebuilding from source (sudo port -ns upgrade --force pgAdmin3) with Xcode 11.2.1 installed.

Note: See TracTickets for help on using tickets.