Opened 18 years ago
Closed 18 years ago
#10717 closed defect (fixed)
BUG: pgAdmin3-1.4.3 - won't run: Cannot set locale to...
Reported by: | mont@… | Owned by: | yeled@… |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | ports | Version: | 1.3.2 |
Keywords: | PgAdmin3 locale | Cc: | markd@… |
Port: |
Description
I can't get pgAdmin3 to run.
1) Tried double clicking /Applications/DarwinPorts/pgAdmin3 with no success (and no feedback).
2) Tried running ./pgAdmin3 manually from /Applications/DarwinPorts/pgAdmin3.app/Contents/MacOS. Error:
dyld: Library not loaded: @executable_path/Contents/Frameworks/libssl.0.9.8.dylib Referenced from: /Applications/DarwinPorts/pgAdmin3.app/Contents/MacOS/./../../Contents/Frameworks/libpq.4.dylib Reason: image not found Trace/BPT trap
3) Same as 2, but set DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib/ first. Now I get a pgAdmin3 splash screen, followed by a requester:
pgAdmin III An error has occured: Cannot set locale to 'nb_NO'
I have tried setting LANG and LC_ALL to C as well, to avail.
Change History (11)
comment:1 Changed 18 years ago by mont@…
comment:2 Changed 18 years ago by mont@…
I got it to work, with more DYLD_LIBRARY_PATH magic:
DYLD_LIBRARY_PATH=/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/:/opt/local/lib ./pgAdmin3
I still get the locale error, but the program doesn't crash afterwards.
comment:3 Changed 18 years ago by mont@…
The story goes on:
If I change User Language in Preferences -> General to en_US, I don't get the locale error anymore.
I still have to start pgAdmin3 with the DYLD_LIBRARY_PATH in the previous comment, though.
comment:4 Changed 18 years ago by markd@…
Summary: | [pgAdmin3] Won't run: Cannot set locale to... → BUG: pgAdmin3-1.4.3 - won't run: Cannot set locale to... |
---|
comment:5 Changed 18 years ago by jquinteiro@…
I experience pretty much exactly the same problem described here, bu the workarounds do not work.
I'll get a splash screen if I set DYLD_FALLBACK_LIBRARY_PATH and DYLD_LIBRARY_PATH as described above, but the program crashes with a bus error. The stack trace is very similar to the one reported above.
Otherwise pgAdmin3 fails to run 'cause it can't find a library (varies.)
I do not get any locale errors at all.
OS X 10.4.8 on an iMac
comment:6 Changed 18 years ago by markd@…
Cc: | markd@… added |
---|
pgAdmin3 was updated to 1.6.1. Does that solve the locale problems?
comment:7 Changed 18 years ago by markd@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
No response. It may be reopened if the problem remains.
comment:8 Changed 18 years ago by mont@…
Resolution: | fixed |
---|---|
Status: | closed → reopened |
With pgAdmin3 1.6.1:
/Applications/DarwinPorts/pgAdmin3.app/Contents/MacOS$ ./pgAdmin3 dyld: Library not loaded: @executable_path/Contents/Frameworks/libssl.0.9.8.dylib Referenced from: /Applications/DarwinPorts/pgAdmin3.app/Contents/MacOS/./../../Contents/Frameworks/libpq.4.dylib Reason: image not found Trace/BPT trap
The packages from http://www.pgadmin.org/download/macosx.php seems to work OK, though.
comment:9 Changed 18 years ago by markd@…
PgAdmin3 was updated to 1.6.2 a month ago. So perhaps you haven't done a selfupdate recently. Run 'port outdated' and see if openssl is outdated. If so, update it and then the latest pgadmin3 and see if that helps.
comment:11 Changed 18 years ago by markd@…
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
The last sentence should of course end with "to no avail". Also, I might just mention that I use Mac OS X 10.4.7, and that pgAdmin crashes with an "unexpected error" dialog.
Here's a piece of the error report: