Re: Building 12.3 from source on Mac

From: Paul Förster <paul(dot)foerster(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Building 12.3 from source on Mac
Date: 2020-07-23 14:16:23
Message-ID: 259CA864-F515-4307-B67E-1390143BD1CB@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Tom,

> On 23. Jul, 2020, at 16:03, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> Looks like what you lack is a symlink libintl.dylib -> libintl.3.4.3.dylib
> in /usr/local/lib. It's not real clear to me why you'd have .a and .la
> files and no versionless symlink, because all of those files would
> just be used for linking dependent software.

there is not a single symlink in /usr/local/lib:

paul(at)meerkat:~$ ll /usr/local/lib
total 113968
drwxr-xr-x 4 root wheel 128 Oct 17 2014 ImageMagick-6.3.3
-rw-r--r--+ 1 root wheel 606 May 14 2010 charset.alias
drwxr-xr-x 6 root wheel 192 Oct 17 2014 gettext
-rwxr-xr-x+ 1 root wheel 4244568 Mar 6 2007 libMagick++.10.0.7.dylib
-rw-r--r--+ 1 root wheel 4722468 Mar 6 2007 libMagick++.a
-rwxr-xr-x+ 1 root wheel 980 Mar 6 2007 libMagick++.la
-rwxr-xr-x+ 1 root wheel 8414800 Mar 6 2007 libMagick.10.0.7.dylib
-rw-r--r--+ 1 root wheel 8129604 Mar 6 2007 libMagick.a
-rwxr-xr-x+ 1 root wheel 912 Mar 6 2007 libMagick.la
-rwxr-xr-x+ 1 root wheel 2416164 Mar 6 2007 libWand.10.0.7.dylib
-rw-r--r--+ 1 root wheel 3354004 Mar 6 2007 libWand.a
-rwxr-xr-x+ 1 root wheel 926 Mar 6 2007 libWand.la
-rwxr-xr-x+ 1 root wheel 737672 Sep 23 2006 libasprintf.0.0.0.dylib
-rw-r--r--+ 1 root wheel 47704 Sep 23 2006 libasprintf.a
-rwxr-xr-x+ 1 root wheel 832 Sep 23 2006 libasprintf.la
-rwxr-xr-x+ 1 root wheel 4024172 Mar 6 2007 libfreetype.6.3.12.dylib
-rw-r--r--+ 1 root wheel 4240572 Mar 6 2007 libfreetype.a
-rwxr-xr-x+ 1 root wheel 838 Mar 6 2007 libfreetype.la
-rwxr-xr-x+ 1 root wheel 3429720 Mar 13 2007 libgdraw.1.0.14.dylib
-rwxr-xr-x+ 1 root wheel 891 Mar 13 2007 libgdraw.la
-rwxr-xr-x+ 1 root wheel 485908 Sep 23 2006 libgettextlib-0.14.5.dylib
-rwxr-xr-x+ 1 root wheel 908 Sep 23 2006 libgettextlib.la
-rwxr-xr-x+ 1 root wheel 79480 Sep 23 2006 libgettextpo.0.1.0.dylib
-rw-r--r--+ 1 root wheel 62136 Sep 23 2006 libgettextpo.a
-rwxr-xr-x+ 1 root wheel 954 Sep 23 2006 libgettextpo.la
-rwxr-xr-x+ 1 root wheel 1097632 Sep 23 2006 libgettextsrc-0.14.5.dylib
-rwxr-xr-x+ 1 root wheel 940 Sep 23 2006 libgettextsrc.la
-rwxr-xr-x+ 1 root wheel 5713584 Mar 13 2007 libgunicode.2.0.3.dylib
-rwxr-xr-x+ 1 root wheel 877 Mar 13 2007 libgunicode.la
-rw-r--r--+ 1 root wheel 253512 Sep 23 2006 libintl.3.4.3.dylib
-rw-r--r--+ 1 root wheel 286284 Sep 23 2006 libintl.a
-rw-r--r--+ 1 root wheel 829 Sep 23 2006 libintl.la
-rwxr-xr-x+ 1 root wheel 2121700 Mar 13 2007 libuninameslist-fr.0.0.1.dylib
-rwxr-xr-x+ 1 root wheel 774 Mar 13 2007 libuninameslist-fr.la
-rwxr-xr-x+ 1 root wheel 2148388 Mar 13 2007 libuninameslist.0.0.1.dylib
-rwxr-xr-x+ 1 root wheel 756 Mar 13 2007 libuninameslist.la
-rw-r--r--+ 1 root wheel 1670612 Sep 28 2006 libwmf.a
-rwxr-xr-x+ 1 root wheel 913 Sep 28 2006 libwmf.la
-rw-r--r--+ 1 root wheel 571300 Sep 28 2006 libwmflite.a
-rwxr-xr-x+ 1 root wheel 751 Sep 28 2006 libwmflite.la
drwxr-xr-x 7 root wheel 224 Oct 17 2014 pkgconfig

> These files absolutely, positively, gold-plated 100% did not come
> with XCode. Homebrew installs stuff under /usr/local though.
> Not sure about MacPorts.

but I didn't install Homebrew, MacPorts, Fink or other package managers.

Are they leftovers from old OS versions? After all, I started with don't know what macOS (Mavericks or Yosemite?) back then and always upgraded the OS, one major release after the other and it has always been working fine with no problem at all. And now, as I mentioned before, it's Catalina and still works with not a single reinstall.

paul(at)meerkat:~$ uname -a
Darwin meerkat.local 19.6.0 Darwin Kernel Version 19.6.0: Sun Jul 5 00:43:10 PDT 2020; root:xnu-6153.141.1~9/RELEASE_X86_64 x86_64

Cheers,
Paul

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2020-07-23 14:50:16 Re: Building 12.3 from source on Mac
Previous Message Justin Pryzby 2020-07-23 14:14:54 Re: Open Item: Should non-text EXPLAIN always show properties?