Thread

  1. error -10825

    Kashaela Ransaw <kashaela.ransaw@csuglobal.edu> — 2025-02-23T01:13:33Z

    *LSOpenURLsWithRole() failed with error -10825 for the file
    /Library/PostgreSQL/17/pgAdmin 4.app <http://4.app>.*
    
    
    *There is a post-installation error that I can not seem to resolve. Are you
    able to provide any suggestions? *
    
    
    *I am using Mac OS Catalina 10.15.7. I have reset the operating system
    through troubleshooting with Apple Support. Not sure why this is
    happening. *
    
  2. Re: error -10825

    Sandeep Thakkar <sandeep.thakkar@enterprisedb.com> — 2025-02-24T10:58:00Z

    Hi,
    
    Is it intel or M1? Can you share the installation log that the installer
    must have created in system temp?
    
    On Sun, Feb 23, 2025 at 7:45 AM Kashaela Ransaw <
    kashaela.ransaw@csuglobal.edu> wrote:
    
    > *LSOpenURLsWithRole() failed with error -10825 for the file
    > /Library/PostgreSQL/17/pgAdmin 4.app <http://4.app>.*
    >
    >
    > *There is a post-installation error that I can not seem to resolve. Are
    > you able to provide any suggestions? *
    >
    >
    > *I am using Mac OS Catalina 10.15.7. I have reset the operating system
    > through troubleshooting with Apple Support. Not sure why this is
    > happening. *
    >
    
    
    -- 
    Sandeep Thakkar
    
  3. Re: error -10825

    Kashaela Ransaw <kashaela.ransaw@csuglobal.edu> — 2025-02-25T01:41:48Z

    Hi Sandeep,
    
    Application Specific Information:
    *** Terminating app due to uncaught exception
    'NSInternalInconsistencyException', reason: 'dismissViewController:: Error:
    maybe this view controller was not presented?'
    abort() called
    terminating with uncaught exception of type NSException
    
    
    Crashed Thread:        0  Dispatch queue: com.apple.main-thread
    
    Exception Type:        EXC_CRASH (SIGABRT)
    Exception Codes:       0x0000000000000000, 0x0000000000000000
    Exception Note:        EXC_CORPSE_NOTIFY
    
    Termination Reason:    DYLD, [0x4] Symbol missing
    
    Dyld Error Message:
      Symbol not found: _pwritev
      Referenced from: /Library/PostgreSQL/17/bin/postgres (which was built for
    Mac OS X 12.0)
      Expected in: /usr/lib/libSystem.B.dylib
    
    On Mon, Feb 24, 2025 at 5:58 AM Sandeep Thakkar <
    sandeep.thakkar@enterprisedb.com> wrote:
    
    > Hi,
    >
    > Is it intel or M1? Can you share the installation log that the installer
    > must have created in system temp?
    >
    > On Sun, Feb 23, 2025 at 7:45 AM Kashaela Ransaw <
    > kashaela.ransaw@csuglobal.edu> wrote:
    >
    >> *LSOpenURLsWithRole() failed with error -10825 for the file
    >> /Library/PostgreSQL/17/pgAdmin 4.app <http://4.app>.*
    >>
    >>
    >> *There is a post-installation error that I can not seem to resolve. Are
    >> you able to provide any suggestions? *
    >>
    >>
    >> *I am using Mac OS Catalina 10.15.7. I have reset the operating system
    >> through troubleshooting with Apple Support. Not sure why this is
    >> happening. *
    >>
    >
    >
    > --
    > Sandeep Thakkar
    >
    >
    >
    
  4. Re: error -10825

    Kritika Agarwal <kritika.agarwal@enterprisedb.com> — 2025-02-25T07:47:23Z

    Hi Kashaela,
    
    The Mac OS minimum version supported is 12 for postgresql v17 so this won't
    work on *Mac OS Catalina 10.15.7.*
    
    On Tue, Feb 25, 2025 at 7:12 AM Kashaela Ransaw <
    kashaela.ransaw@csuglobal.edu> wrote:
    
    > Hi Sandeep,
    >
    > Application Specific Information:
    > *** Terminating app due to uncaught exception
    > 'NSInternalInconsistencyException', reason: 'dismissViewController:: Error:
    > maybe this view controller was not presented?'
    > abort() called
    > terminating with uncaught exception of type NSException
    >
    >
    > Crashed Thread:        0  Dispatch queue: com.apple.main-thread
    >
    > Exception Type:        EXC_CRASH (SIGABRT)
    > Exception Codes:       0x0000000000000000, 0x0000000000000000
    > Exception Note:        EXC_CORPSE_NOTIFY
    >
    > Termination Reason:    DYLD, [0x4] Symbol missing
    >
    > Dyld Error Message:
    >   Symbol not found: _pwritev
    >   Referenced from: /Library/PostgreSQL/17/bin/postgres (which was built
    > for Mac OS X 12.0)
    >   Expected in: /usr/lib/libSystem.B.dylib
    >
    > On Mon, Feb 24, 2025 at 5:58 AM Sandeep Thakkar <
    > sandeep.thakkar@enterprisedb.com> wrote:
    >
    >> Hi,
    >>
    >> Is it intel or M1? Can you share the installation log that the installer
    >> must have created in system temp?
    >>
    >> On Sun, Feb 23, 2025 at 7:45 AM Kashaela Ransaw <
    >> kashaela.ransaw@csuglobal.edu> wrote:
    >>
    >>> *LSOpenURLsWithRole() failed with error -10825 for the file
    >>> /Library/PostgreSQL/17/pgAdmin 4.app <http://4.app>.*
    >>>
    >>>
    >>> *There is a post-installation error that I can not seem to resolve. Are
    >>> you able to provide any suggestions? *
    >>>
    >>>
    >>> *I am using Mac OS Catalina 10.15.7. I have reset the operating system
    >>> through troubleshooting with Apple Support. Not sure why this is
    >>> happening. *
    >>>
    >>
    >>
    >> --
    >> Sandeep Thakkar
    >>
    >>
    >>
    
    -- 
    Warm Regards,
    Kritika Agarwal
    
  5. Re: error -10825

    Kashaela Ransaw <kashaela.ransaw@csuglobal.edu> — 2025-02-26T03:28:43Z

    Would you happen to know why the database cluster installation continues to
    fail for version 16 on mac 10.15.7? Is there a specific way that I should
    attempt the installation?
    
    On Tue, Feb 25, 2025 at 2:47 AM Kritika Agarwal <
    kritika.agarwal@enterprisedb.com> wrote:
    
    > Hi Kashaela,
    >
    > The Mac OS minimum version supported is 12 for postgresql v17 so this
    > won't work on *Mac OS Catalina 10.15.7.*
    >
    > On Tue, Feb 25, 2025 at 7:12 AM Kashaela Ransaw <
    > kashaela.ransaw@csuglobal.edu> wrote:
    >
    >> Hi Sandeep,
    >>
    >> Application Specific Information:
    >> *** Terminating app due to uncaught exception
    >> 'NSInternalInconsistencyException', reason: 'dismissViewController:: Error:
    >> maybe this view controller was not presented?'
    >> abort() called
    >> terminating with uncaught exception of type NSException
    >>
    >>
    >> Crashed Thread:        0  Dispatch queue: com.apple.main-thread
    >>
    >> Exception Type:        EXC_CRASH (SIGABRT)
    >> Exception Codes:       0x0000000000000000, 0x0000000000000000
    >> Exception Note:        EXC_CORPSE_NOTIFY
    >>
    >> Termination Reason:    DYLD, [0x4] Symbol missing
    >>
    >> Dyld Error Message:
    >>   Symbol not found: _pwritev
    >>   Referenced from: /Library/PostgreSQL/17/bin/postgres (which was built
    >> for Mac OS X 12.0)
    >>   Expected in: /usr/lib/libSystem.B.dylib
    >>
    >> On Mon, Feb 24, 2025 at 5:58 AM Sandeep Thakkar <
    >> sandeep.thakkar@enterprisedb.com> wrote:
    >>
    >>> Hi,
    >>>
    >>> Is it intel or M1? Can you share the installation log that the installer
    >>> must have created in system temp?
    >>>
    >>> On Sun, Feb 23, 2025 at 7:45 AM Kashaela Ransaw <
    >>> kashaela.ransaw@csuglobal.edu> wrote:
    >>>
    >>>> *LSOpenURLsWithRole() failed with error -10825 for the file
    >>>> /Library/PostgreSQL/17/pgAdmin 4.app <http://4.app>.*
    >>>>
    >>>>
    >>>> *There is a post-installation error that I can not seem to resolve. Are
    >>>> you able to provide any suggestions? *
    >>>>
    >>>>
    >>>> *I am using Mac OS Catalina 10.15.7. I have reset the operating system
    >>>> through troubleshooting with Apple Support. Not sure why this is
    >>>> happening. *
    >>>>
    >>>
    >>>
    >>> --
    >>> Sandeep Thakkar
    >>>
    >>>
    >>>
    >
    > --
    > Warm Regards,
    > Kritika Agarwal
    >
    
  6. Re: error -10825

    Thomas Munro <thomas.munro@gmail.com> — 2025-02-27T03:08:53Z

    On Wed, Feb 26, 2025 at 4:44 PM Kashaela Ransaw
    <kashaela.ransaw@csuglobal.edu> wrote:
    >>> Dyld Error Message:
    >>>   Symbol not found: _pwritev
    
    As an intellectual curiosity only, if you really wanted to try to make
    it work (for non-production use only!  not sure what else would break
    next...) then I suspect you could compile this into pwritev.dylib and
    point to it with DYLD_INSERT_LIBRARIES to satisfy that symbol with a
    good-enough-for-now emulation, assuming that loader mechanism isn't
    disabled by the code-signing feature of macOS (I don't recall the
    detail of that):
    
    #include <sys/uio.h>
    #include <unistd.h>
    size_t
    pwritev(int fd, const struct iovec *iov, int iovcnt, off_t offset)
    {
        if (lseek(fd, offset, SEEK_SET) < 0)
            return -1;
        return writev(fd, iov, iovcnt, offset);
    }
    
    And for PostgreSQL 17 you'd need preadv() too.
    
    PostgreSQL itself knows how to supply an emulation function if the
    selected target OS version doesn't have pwritev().  The last known
    Unixen that needed it were macOS < 11.0 (Kritika mentioned those
    builds target 12.0) and Solaris < 11.4 SRU69.  PostgreSQL also
    currently tolerates emulations that change the current file position
    like that, because the fallback we still use for Windows also has
    that property (something to be addressed eventually).
    
    But the real question is: why don't you just upgrade the OS to a
    supported version?  10.anything must be way out of Apple support and
    missing a lot of security fixes.
    
    
    
    
  7. Re: error -10825

    Thomas Munro <thomas.munro@gmail.com> — 2025-02-27T03:11:14Z

    On Thu, Feb 27, 2025 at 4:08 PM Thomas Munro <thomas.munro@gmail.com> wrote:
    >     return writev(fd, iov, iovcnt, offset);
    
    Oops: without that offset argument there, of course, typing too fast...