[MacPorts] #48835: wireshark @1.12.7: Build fails with lua 5.3
MacPorts
noreply at macports.org
Thu Oct 29 15:50:40 PDT 2015
#48835: wireshark @1.12.7: Build fails with lua 5.3
------------------------------+----------------------
Reporter: md14-macports@… | Owner: ricci@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: wireshark |
------------------------------+----------------------
Comment (by ben@…):
Ok, I figured out the problem: I had both Lua 5.3 and Lua 5.2 installed,
and Wireshark was ended up being linked against **both**
`/opt/local/lib/liblua.dylib` (the 5.3 version) and
`/opt/local/lib/lua-5.2/liblua-5.2.dylib`. You can see this by running it
with DYLD_PRINT_LIBRIARIES:
{{{
$ DYLD_PRINT_LIBRARIES=true wireshark
dyld: loaded: /opt/local/bin/wireshark
dyld: loaded: /opt/local/lib/libfiletap.0.dylib
dyld: loaded: /opt/local/lib/libwiretap.4.dylib
dyld: loaded: /opt/local/lib/libwireshark.5.dylib
dyld: loaded: /opt/local/lib/liblua.dylib
dyld: loaded: /opt/local/lib/libGeoIP.1.dylib
dyld: loaded: /opt/local/lib/libwsutil.4.dylib
dyld: loaded: /opt/local/lib/lua-5.2/liblua-5.2.dylib
# ...snip a lot more
}}}
By uninstalling Lua 5.3 and Wireshark, the rebuilding/re-installing
Wireshark, I have a working build now. Perhaps the solution is to mark
Wireshark as conflicting Lua 5.3, or fix the build so that it only links
against the 5.2 version?
--
Ticket URL: <https://trac.macports.org/ticket/48835#comment:32>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list