[MacPorts] #61634: talloc @2.3.1: wrong install name on Big Sur

MacPorts noreply at macports.org
Tue Nov 24 06:29:05 UTC 2020


#61634: talloc @2.3.1: wrong install name on Big Sur
-------------------------------------------------+-------------------------
  Reporter:  borwickatuw                         |      Owner:  (none)
      Type:  defect                              |     Status:  new
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:  2.6.4
Resolution:                                      |   Keywords:  bigsur
      Port:  talloc freeradius notmuch osmocore  |
  osmocore-devel py27-tsk                        |
-------------------------------------------------+-------------------------

Comment (by ryandesign):

 I see it: On macOS 10.x, we produce one library (libtalloc.2.3.1.dylib)
 and a couple symlinks to it (libtalloc.2.dylib and libtalloc.dylib) and we
 fix the install name of the one and only library by addressing it via the
 libtalloc.2.dylib symlink.

 But on macOS 11, for some reason, we are producing two libraries
 (libtalloc.2.3.1.dylib and libtalloc.2.dylib) and only one symlink
 (libtalloc.dylib). We are fixing the install name of the libtalloc.2.dylib
 library but not the libtalloc.2.3.1.dylib library which is a problem
 because due to the libtalloc.dylib symlink the libtalloc.2.3.1.dylib
 library is the one that other software will link against when it uses a
 flag like `-ltalloc`.

 {{{
 $ ls -l /tmp/talloc*/opt/local/lib/
 /tmp/talloc-2.3.1_0.darwin_19.x86_64/opt/local/lib/:
 total 96
 -rwxr-xr-x@ 1 rschmidt  wheel  46764 Sep 10 09:16 libtalloc.2.3.1.dylib
 lrwxr-xr-x@ 1 rschmidt  wheel     21 Sep 10 09:16 libtalloc.2.dylib ->
 libtalloc.2.3.1.dylib
 lrwxr-xr-x@ 1 rschmidt  wheel     21 Sep 10 09:16 libtalloc.dylib ->
 libtalloc.2.3.1.dylib
 drwxr-xr-x@ 3 rschmidt  wheel     96 Sep 10 09:16 pkgconfig

 /tmp/talloc-2.3.1_0.darwin_20.x86_64/opt/local/lib/:
 total 304
 -rwxr-xr-x@ 1 rschmidt  wheel  75448 Nov 17 22:13 libtalloc.2.3.1.dylib
 -rwxr-xr-x@ 1 rschmidt  wheel  75448 Nov 17 22:13 libtalloc.2.dylib
 lrwxr-xr-x@ 1 rschmidt  wheel     21 Nov 17 22:13 libtalloc.dylib ->
 libtalloc.2.3.1.dylib
 drwxr-xr-x@ 3 rschmidt  wheel     96 Nov 17 22:13 pkgconfig
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61634#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list