Re: Mac OS X error for pgAdmin 4.1.2

From: Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>
To: matshyeq <matshyeq(at)gmail(dot)com>
Cc: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>, Dave Page <dpage(at)pgadmin(dot)org>, pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Mac OS X error for pgAdmin 4.1.2
Date: 2017-02-21 13:26:20
Message-ID: CAKKotZSt7chQ6ZrOY_w+50-XqTr8DxFkGsUdVhsHzUHSGf3E6w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Apologies, Please disregard my previous solution.

That won't work, Please follow Ashesh's instructions.

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

On Tue, Feb 21, 2017 at 6:52 PM, Murtuza Zabuawala <
murtuza(dot)zabuawala(at)enterprisedb(dot)com> wrote:

> Can you try creating soft link by running following command in terminal?
>
> cd /usr/lib
> sudo ln -s /Applications/pgAdmin 4.app/Contents/Frameworks/libs
> sl.1.0.0.dylib libssl.1.0.0.dylib
>
>
>
>
> --
> Regards,
> Murtuza Zabuawala
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
> On Tue, Feb 21, 2017 at 6:26 PM, matshyeq <matshyeq(at)gmail(dot)com> wrote:
>
>> ○ → codesign --verbose --verify /Applications/pgAdmin\
>> 4.app/Contents/Frameworks/libssl.1.0.0.dylib
>> /Applications/pgAdmin 4.app/Contents/Frameworks/libssl.1.0.0.dylib:
>> valid on disk
>> /Applications/pgAdmin 4.app/Contents/Frameworks/libssl.1.0.0.dylib:
>> satisfies its Designated Requirement
>>
>> Thank you,
>> Kind Regards
>> ~Maciek
>>
>> On 21 February 2017 at 12:36, Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com
>> > wrote:
>>
>>> On Tue, Feb 21, 2017 at 3:15 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>>>
>>>> Argh, darn mailer. Here's the output:
>>>>
>>>> maciek in /Applications/pgAdmin 4.app/Contents/MacOS
>>>> ○ → ./pgAdmin4
>>>> Python path: "/Applications/pgAdmin
>>>> 4.app/Contents/Resources/venv/lib/python/site-packages:/Syst
>>>> em/Library/Frameworks/Python.framework/Versions/2.7/lib/pyth
>>>> on2.7/lib-dynload:/Applications/pgAdmin
>>>> 4.app/Contents/Resources/venv/lib/python"
>>>> Python Home: "/Applications/pgAdmin 4.app/Contents/Resources/venv"
>>>> Webapp path: "/Applications/pgAdmin 4.app/Contents/Resources/web/p
>>>> gAdmin4.py"
>>>> Traceback (most recent call last):
>>>> File "/Applications/pgAdmin
>>>> 4.app/Contents/Resources/web/pgAdmin4.py", line 46, in <module>
>>>> app = create_app()
>>>> File "/Applications/pgAdmin
>>>> 4.app/Contents/Resources/web/pgadmin/__init__.py", line 266, in
>>>> create_app
>>>> driver.init_app(app)
>>>> File "/Applications/pgAdmin
>>>> 4.app/Contents/Resources/web/pgadmin/utils/driver/__init__.py", line
>>>> 40, in init_app
>>>> DriverRegistry.load_drivers()
>>>> File "/Applications/pgAdmin
>>>> 4.app/Contents/Resources/web/pgadmin/utils/driver/registry.py", line
>>>> 88, in load_drivers
>>>> module = import_module(module_name)
>>>> File "/Applications/pgAdmin
>>>> 4.app/Contents/Resources/venv/lib/python/importlib/__init__.py", line
>>>> 37, in import_module
>>>> __import__(name)
>>>> File "/Applications/pgAdmin
>>>> 4.app/Contents/Resources/web/pgadmin/utils/driver/psycopg2/_
>>>> _init__.py",
>>>> line 23, in <module>
>>>> import psycopg2
>>>> File "/Applications/pgAdmin
>>>> 4.app/Contents/Resources/venv/lib/python/site-packages/psyco
>>>> pg2/__init__.py",
>>>> line 50, in <module>
>>>> from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME,
>>>> ROWID
>>>> ImportError: dlopen(/Applications/pgAdmin
>>>> 4.app/Contents/Resources/venv/lib/python/site-packages/psyco
>>>> pg2/_psycopg.so,
>>>> 2): Library not loaded:
>>>> @loader_path/../../../../../../../Contents/Frameworks/libssl
>>>> .1.0.0.dylib
>>>> Referenced from: /Applications/pgAdmin
>>>> 4.app/Contents/Resources/venv/lib/python/site-packages/psyco
>>>> pg2/_psycopg.so
>>>> Reason: no suitable image found. Did find:
>>>> /Applications/pgAdmin
>>>> 4.app/Contents/Resources/venv/lib/python/site-packages/psyco
>>>> pg2/../../../../../../../Contents/Frameworks/libssl.1.0.0.dylib:
>>>> code signature invalid for '/Applications/pgAdmin
>>>> 4.app/Contents/Resources/venv/lib/python/site-packages/psyco
>>>> pg2/../../../../../../../Contents/Frameworks/libssl.1.0.0.dylib'
>>>>
>>>> /Applications/pgAdmin
>>>> 4.app/Contents/Resources/venv/lib/python/site-packages/psyco
>>>> pg2/../../../../../../../Contents/Frameworks/libssl.1.0.0.dylib:
>>>> code signature invalid for '/Applications/pgAdmin
>>>> 4.app/Contents/Resources/venv/lib/python/site-packages/psyco
>>>> pg2/../../../../../../../Contents/Frameworks/libssl.1.0.0.dylib'
>>>>
>>> Looks the bundled libssl is not valid.
>>>
>>> Can you verify it?
>>> i.e.
>>> codesign --verbose --verify /Applications/pgAdmin 4.app/Conte
>>> nts/Frameworks/libssl.1.0.0.dylib
>>>
>>> -- Thanks,
>>> Ashesh Vashi
>>>
>>>>
>>>> /usr/lib/libssl.1.0.0.dylib: code signature invalid for
>>>> '/usr/lib/libssl.1.0.0.dylib'
>>>>
>>>> Initial connection failed. Retrying in 2 seconds.
>>>> Initial connection failed. Retrying in 3 seconds.
>>>> Initial connection failed. Retrying in 4 seconds.
>>>> Initial connection failed after multiple attempts. Aborting.
>>>>
>>>>
>>>> On Tue, Feb 21, 2017 at 9:44 AM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>>>> > I don't know then I'm afraid. Ashesh, any idea what's going on? Maciek
>>>> > is seeing the error below, however the signature on the app bundle
>>>> > verifies OK:
>>>> >
>>>> >
>>>> > On Tue, Feb 21, 2017 at 6:44 AM, matshyeq <matshyeq(at)gmail(dot)com> wrote:
>>>> >> Hi Dave,
>>>> >>
>>>> >> I did as you told. No joy ;(
>>>> >>
>>>> >> Thank you,
>>>> >> Kind Regards
>>>> >> ~Maciek
>>>> >>
>>>> >> On 20 February 2017 at 10:48, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>>>> >>>
>>>> >>> Hi
>>>> >>>
>>>> >>> On Mon, Feb 20, 2017 at 7:43 AM, matshyeq <matshyeq(at)gmail(dot)com>
>>>> wrote:
>>>> >>> > Hi Dave,
>>>> >>> >
>>>> >>> > Not sure what you meant. I've overwritten app from DMG - same
>>>> result :(
>>>> >>>
>>>> >>> I mean delete the existing app, then copy it again from the DMG.
>>>> Don't
>>>> >>> copy a new version over the old one (as that might merge the two
>>>> >>> versions, as appbundles are really just a directory structure full
>>>> of
>>>> >>> files).
>>>> >>>
>>>> >>> --
>>>> >>> Dave Page
>>>> >>> Blog: http://pgsnake.blogspot.com
>>>> >>> Twitter: @pgsnake
>>>> >>>
>>>> >>> EnterpriseDB UK: http://www.enterprisedb.com
>>>> >>> The Enterprise PostgreSQL Company
>>>> >>
>>>> >>
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > Dave Page
>>>> > Blog: http://pgsnake.blogspot.com
>>>> > Twitter: @pgsnake
>>>> >
>>>> > EnterpriseDB UK: http://www.enterprisedb.com
>>>> > The Enterprise PostgreSQL Company
>>>>
>>>>
>>>>
>>>> --
>>>> Dave Page
>>>> Blog: http://pgsnake.blogspot.com
>>>> Twitter: @pgsnake
>>>>
>>>> EnterpriseDB UK: http://www.enterprisedb.com
>>>> The Enterprise PostgreSQL Company
>>>>
>>>>
>>>> --
>>>> Sent via pgadmin-support mailing list (pgadmin-support(at)postgresql(dot)org)
>>>> To make changes to your subscription:
>>>> http://www.postgresql.org/mailpref/pgadmin-support
>>>>
>>>
>>>
>>
>

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message matshyeq 2017-02-21 18:37:56 Re: Mac OS X error for pgAdmin 4.1.2
Previous Message Ashesh Vashi 2017-02-21 13:22:19 Re: Mac OS X error for pgAdmin 4.1.2