[MacPorts] #18414: strigi uses multiple system libs
#18414: strigi uses multiple system libs ------------------------------+--------------------------------------------- Reporter: jmr@… | Owner: clubjuggler@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: strigi ------------------------------+--------------------------------------------- Reported on IRC by Terlisimo (it was actually causing a failure for him): {{{ % otool -L /opt/local/bin/strigicmd /opt/local/bin/strigicmd: /opt/local/lib/libstreamanalyzer.0.dylib (compatibility version 0.0.0, current version 0.6.3) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.3) /opt/local/lib/libstreams.0.dylib (compatibility version 0.0.0, current version 0.6.3) /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3) /usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.4) /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/lib/libxml2.2.dylib (compatibility version 9.0.0, current version 9.16.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) }}} It should of course be using the libz, libbz2, libiconv, and libxml2 from the corresponding ports. -- Ticket URL: <http://trac.macports.org/ticket/18414> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18414: strigi uses multiple system libs ------------------------------+--------------------------------------------- Reporter: jmr@… | Owner: clubjuggler@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: strigi ------------------------------+--------------------------------------------- Comment(by vvrbanc@…): If strigi won't compile for you, install it with "port -d install strigi" and look at the configure output. If it says it found it somewhere other than your local ports installation and you get char casting errors while compiling, here's a workaround: I got strigi to compile by modifying its FindIconv.cmake FindLibXml2.cmake Here's how it worked for me: For FindLibXml2.cmake: {{{ SET(LIBXML2_LIBRARIES "/opt/local/lib/libxml2.2.7.3.dylib") SET(LIBXML2_INCLUDE_DIR "/opt/local/include/libxml2") }}} Insert this just before the line that says {{{FIND_PROGRAM(XMLLINT_EXECUTABLE xmllint)}}}. Ofcourse, correct the above path according to your system setup. For FindIconv.cmake: {{{ set(ICONV_INCLUDE_DIR "/opt/local/include") set(ICONV_LIBRARIES "/opt/local/lib/libiconv.2.4.0.dylib") }}} Insert this just before the line that says {{{set(CMAKE_REQUIRED_INCLUDES ${ICONV_INCLUDE_DIR})}}} and change the path if your lib is located somewhere else. -- Ticket URL: <http://trac.macports.org/ticket/18414#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18414: strigi uses multiple system libs -------------------------------+-------------------------------------------- Reporter: jmr@… | Owner: clubjuggler@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: strigi | -------------------------------+-------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r55989 -- Ticket URL: <http://trac.macports.org/ticket/18414#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts