Opened 16 years ago
Closed 15 years ago
#18414 closed defect (fixed)
strigi uses multiple system libs
Reported by: | jmroot (Joshua Root) | Owned by: | clubjuggler@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | ||
Port: | strigi |
Description
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.
Change History (3)
comment:1 Changed 16 years ago by vvrbanc@…
comment:3 Changed 15 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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:
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:
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.