[MacPorts] #33948: glib2: libelf.h: No such file or directory

MacPorts noreply at macports.org
Mon Apr 9 00:30:29 PDT 2012


#33948: glib2: libelf.h: No such file or directory
-------------------------------+--------------------------------------------
 Reporter:  g5pw@…             |       Owner:  ryandesign@…           
     Type:  defect             |      Status:  assigned               
 Priority:  Normal             |   Milestone:                         
Component:  ports              |     Version:  2.0.4                  
 Keywords:                     |        Port:  glib2                  
-------------------------------+--------------------------------------------
Changes (by ryandesign@…):

  * status:  new => assigned


Comment:

 The only previous mention of ELF in your log is this line during the
 configure phase:
 {{{
 :info:configure checking for elf_begin in -lelf... yes
 }}}
 On my Snow Leopard system it says:
 {{{
 :info:configure checking for elf_begin in -lelf... no
 }}}
 And I would not have expected an ELF library to exist on an OS X system.
 Do you have a file whose name begins with libelf in a lib directory
 somewhere?

 ''~ a moment of reflection passes ~''

 Well, look at that: we have a port called libelf, and it installs
 /opt/local/lib/libelf.a. If I install libelf, then try to build glib2, it
 fails as you indicate. I'll bet you have that port installed too. I'll
 soon fix that...

-- 
Ticket URL: <https://trac.macports.org/ticket/33948#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list