Menu

Problem with initdb, undefined reference

Help
nedworld
2005-08-25
2012-08-31
  • nedworld

    nedworld - 2005-08-25

    I was able to install PostgreSQL 8.0.3 on OS X 10.3.9, but I now get this error when running initdb:

    creating template1 database in /Library/PostgreSQL8/data/base/1 ... dyld: /Library/PostgreSQL8/bin/postgres Undefined symbols:
    /Library/PostgreSQL8/bin/postgres undefined reference to _getpeereid expected to be defined in /usr/lib/libSystem.B.dylib
    child process was terminated by signal 5

    The discussion linked below seems to point to a compiler setting/OS X compatibility issue, but any solutions recommended here seem to be related to building the project. I'm wondering if there is anything I can do to make the existing 8.0.3 build work?

    http://lists.apple.com/archives/unix-porting/2005/Jun/msg00009.html

    Any help would be much appreciated.

    I had some other problems with shared memory, etc. before this that I was able to resolve. I can provide more detail if it might be relevant.

    Thank you,

    Kevin Niedermeier

     
    • Andy Satori

      Andy Satori - 2005-08-25

      The issue is that this release was built for Tiger, 10.4.x in preparation for a universal build (which I am working on getting running)

       
      • nedworld

        nedworld - 2005-08-25

        Sorry to have so many questions, but I'm new to PostgreSQL. Is there a recommended build to use with 10.3.9? I looked, but couldn't tell which of the other builds would be appropriate.

        Also, are there any instructions for uninstalling, or can I just delete the "PostgreSQL8" directory?

        Thank you,

        Kevin

         

Log in to post a comment.

MongoDB Logo MongoDB