Opened 9 years ago

Closed 9 years ago

#28317 closed defect (fixed)

aircrack-ng does not obey build_arch

Reported by: ironstorm@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: aircrack-ng

Description

This is a note for anyone trying to build aircrack-ng and getting undefined symbols during linking (see attached build log).

:info:build ld: warning: in /opt/local/lib/libssl.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
:info:build ld: warning: in /opt/local/lib/libcrypto.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
:info:build Undefined symbols:
:info:build   "_SHA1_Final", referenced from:
...

This can be resolved by rebuilding openssl with +universal variant

sudo port install openssl +universal

Attachments (1)

main.log (21.7 KB) - added by ironstorm@… 9 years ago.
aircrack-ng full build log with openssl undefined symbols

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by ironstorm@…

Attachment: main.log added

aircrack-ng full build log with openssl undefined symbols

comment:1 Changed 9 years ago by jmroot (Joshua Root)

Keywords: aircrack-ng openssl removed
Summary: aircrack-ng requires openssl be built +universalaircrack-ng does not obey build_arch

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

I don't think this is required at all.

$ port installed aircrack-ng openssl
The following ports are currently installed:
  aircrack-ng @1.1_0 (active)
  openssl @1.0.0c_0 (active)

comment:3 Changed 9 years ago by jmroot (Joshua Root)

There's only a problem if you use a non-default build_arch.

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

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

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

Resolution: fixed
Status: assignedclosed

Fixed in r75790.

Note: See TracTickets for help on using tickets.