Opened 11 years ago

Closed 11 years ago

#41665 closed defect (invalid)

libcomerr: install_name_tool: malformed object (unknown load command 4)

Reported by: bernhard.koppensteiner@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: libcomerr

Description (last modified by mf2k (Frank Schima))

When i tried to install nmap the installation failed because of libcomerr

Error: org.macports.destroot for port libcomerr returned: command execution failed
Error: Failed to install libcomerr
Please see the log file for port libcomerr for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_e2fsprogs/libcomerr/main.log
Error: The following dependencies were not installed: subversion cyrus-sasl2 kerberos5 libcomerr libmagic serf1 scons
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port nmap failed 

Attachments (1)

main.log (5.5 KB) - added by bernhard.koppensteiner@… 11 years ago.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by bernhard.koppensteiner@…

Attachment: main.log added

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: nmap libcomerr failed build removed

In the future, please use WikiFormatting.

comment:2 Changed 11 years ago by mf2k (Frank Schima)

This is not a clean build log. Please clean the port and try again then attach the new main.log file.

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

But the error in the incomplete log is:

:info:destroot install_name_tool: object: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_e2fsprogs/libcomerr/work/destroot/opt/local/lib/libcom_err.1.1.dylib malformed object (unknown load command 4)

This suggests to me that your install_name_tool command is too old for the version of OS X you're running. Update your install_name_tool command by reinstalling the Xcode command line tools.

comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Nmap installation fails because of libcomerrlibcomerr: install_name_tool: malformed object (unknown load command 4)

comment:5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.