#39485: Portfile for megatools ---------------------------+-------------------------------- Reporter: s.cloherty@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by s.cloherty@…): I see a reduced set of linked libraries on my system... {{{ bash-3.2# port -q contents megatools | xargs file | grep Mach-O | cut -d\: -f1 | cut -d\ -f1 | uniq | xargs otool -L | grep "\ version\ " | grep "/opt/local" | sort | uniq | cut -d\ -f1 | xargs port -q provides /opt/local/lib/libcrypto.1.0.0.dylib is provided by: openssl /opt/local/lib/libcurl.4.dylib is provided by: curl /opt/local/lib/libffi.6.dylib is provided by: libffi /opt/local/lib/libfuse.2.dylib is provided by: fuse4x /opt/local/lib/libgio-2.0.0.dylib is provided by: glib2 /opt/local/lib/libglib-2.0.0.dylib is provided by: glib2 /opt/local/lib/libgmodule-2.0.0.dylib is provided by: glib2 /opt/local/lib/libgobject-2.0.0.dylib is provided by: glib2 /opt/local/lib/libiconv.2.dylib is provided by: libiconv /opt/local/lib/libidn.11.dylib is provided by: libidn /opt/local/lib/libintl.8.dylib is provided by: gettext /opt/local/lib/libmega.0.dylib is provided by: megatools /opt/local/lib/libssl.1.0.0.dylib is provided by: openssl /opt/local/lib/libz.1.dylib is provided by: zlib bash-3.2# }}} Looking at the source code, I see plenty of #includes for files provided by openssl, fuse4x and glib2, and a couple for files provided by curl. Suggesting that direct dependencies are at least: openssl, fuse4x, glib2 and curl. I can add library dependencies for those. I'm not sure what to do with the remainder: libffi, libiconv, libidn, gettext and zlib. Of those also listed on your list, c-ares, libcomerr, libfetch, cyrus-sasl2 and libssh2, I have only libcomerr (@1.42.7_2) installed, but it doesn't seem to be linked by megatools. Any advice? -- Ticket URL: <https://trac.macports.org/ticket/39485#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X