[MacPorts] #47708: gedit builds but does not launch

MacPorts noreply at macports.org
Tue May 12 12:12:44 PDT 2015


#47708: gedit builds but does not launch
---------------------+----------------------
  Reporter:  mf2k@…  |      Owner:  devans@…
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.3.99
Resolution:          |   Keywords:
      Port:  gedit   |
---------------------+----------------------

Comment (by devans@…):

 Frank, I've been trying for the last few hours but I can't reproduce this
 result on my Mavericks machine.  gedit starts up and runs fine for me.

 AFAICT, gedit does not link with any libGL at all.  So I'm wondering who
 it is that is looking for
 /opt/X11/lib/libGL.1.dylib.

 The only candidate I could find was webkit-gtk3 and it links with
 opt/local/lib/libGL.1.dylib provided by mesa.

 Now, I will say that /opt/X11/lib/libGL.1.dylib does exist on my machine:
 its one of the client libraries provided by XQuartz.  I even renamed this
 lib to something else to see it that would cause gedit to error but it did
 not.  The only apps that I can find that link to it are
 {{{
 /opt/X11/bin/glxgears
 /opt/X11/bin/glxinfo
 }}}
 again part of the XQuartz distribution which seems appropriate. (They did
 error out with same message you got when I renamed
 /opt/X11/lib/libGL.1.dylib).

 So I'm thinking that something on your system related to gedit or its
 dependencies linked with /opt/X11/lib/libGL.1.dylib instead of the version
 provided by mesa but I'm at a loss to understand how that happened and who
 the culprit is.

 Questions:

 * which X11 server are you using? I'm using XQuartz 2.7.7, not xorg-
 server{-devel}.
 * does /opt/X11/lib/libGL.1.dylib exist on your system?
 * have you done any custom configuration on your system (paths, etc) that
 might get MacPorts confused as to which library to use?
 * any other evidence on your end that might help figure this out?

-- 
Ticket URL: <https://trac.macports.org/ticket/47708#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list