[MacPorts] #44922: coreutils @8.23_0 stdbuf: missing libstdbuf.so

MacPorts noreply at macports.org
Mon Sep 8 22:09:47 PDT 2014


#44922: coreutils @8.23_0 stdbuf: missing libstdbuf.so
-----------------------+--------------------------------
 Reporter:  zmwangx@…  |      Owner:  macports-tickets@…
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.3.1
 Keywords:             |       Port:  coreutils
-----------------------+--------------------------------
 (My system environment: OS X 10.9.4, Xcode 5.1.1.)

 The executables `/opt/local/libexec/gnubin/stdbuf` or
 `/opt/local/bin/gstdbuf` from `coreutils` cannot be used due to missing
 `libstdbuf.so`. For instance, try
 {{{
 $ stdbuf -oL echo 'hello, world'
 stdbuf: failed to find ‘libstdbuf.so’
 }}}
 In fact, by inspecting the files related to `stdbuf` installed by
 `coreutils`,
 {{{
 $ port contents coreutils | grep stdbuf
   /opt/local/bin/gstdbuf
   /opt/local/libexec/coreutils/glibstdbuf.so
   /opt/local/libexec/gnubin/man/man1/stdbuf.1.gz
   /opt/local/libexec/gnubin/stdbuf
   /opt/local/share/man/man1/gstdbuf.1.gz
 }}}
 it is immediately clear that we are only missing a symlink here (the `g`
 prefix ruined the linking). I was able to fix the issue by
 {{{
 ln -s /opt/local/libexec/coreutils/glibstdbuf.so
 /opt/local/libexec/coreutils/libstdbuf.so
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/44922>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list