[MacPorts] #42454: Fatal error dolfin import
MacPorts
noreply at macports.org
Tue Feb 25 10:19:35 PST 2014
#42454: Fatal error dolfin import
------------------------+----------------------
Reporter: mwathen@… | Owner: sean@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: |
------------------------+----------------------
Comment (by mwathen@…):
Replying to [comment:11 sean@…]:
> This is turning out to be difficult to pin down :-( Let's check all your
shared libraries in MacPorts:
>
> {{{
> $ otool -L /opt/local/lib/*.dylib | grep -i pyt
> }}}
>
> and in python 2.7
>
> {{{
> $ otool -L
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/* | grep
-i pyt
> $ find /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib
-name \*.so -or -name \*.dylib | xargs otool -L | grep -i system/
> }}}
>
> I'm hoping something there will tell us that a package is linking to the
system python.
{{{
$ otool -L /opt/local/lib/*.dylib | grep -i pyt
}}}
gives:
/opt/local/lib/libboost_mpi_python-mt.dylib:
/opt/local/lib/libboost_mpi_python-mt.dylib (compatibility version
0.0.0, current version 0.0.0)
/opt/local/lib/libboost_python-mt.dylib (compatibility version
0.0.0, current version 0.0.0)
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python
(compatibility version 2.7.0, current version 2.7.0)
/opt/local/lib/libboost_python-mt.dylib:
/opt/local/lib/libboost_python-mt.dylib (compatibility version
0.0.0, current version 0.0.0)
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python
(compatibility version 2.7.0, current version 2.7.0)
/opt/local/lib/libpython2.7.dylib:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python
(compatibility version 2.7.0, current version 2.7.0)
{{{
$ otool -L
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/* | grep
-i pyt
$ find /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib
-name \*.so -or -name \*.dylib | xargs otool -L | grep -i system/
}}}
gives:
otool: can't map file:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig
(Invalid argument)
otool: can't map file:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
(Invalid argument)
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python
(compatibility version 2.7.0, current version 2.7.0)
and
otool: one of -fahlLtdoOrTMRIHGScis must be specified
Usage: otool [-arch arch_type] [-fahlLDtdorSTMRIHGvVcXmqQ] [-mcpu=arg]
<object file> ...
-f print the fat headers
-a print the archive header
-h print the mach header
-l print the load commands
-L print shared libraries used
-D print shared library id name
-t print the text section (disassemble with -v)
-p <routine name> start dissassemble from routine name
-s <segname> <sectname> print contents of section
-d print the data section
-o print the Objective-C segment
-r print the relocation entries
-S print the table of contents of a library
-T print the table of contents of a dynamic shared library
-M print the module table of a dynamic shared library
-R print the reference table of a dynamic shared library
-I print the indirect symbol table
-H print the two-level hints table
-G print the data in code table
-v print verbosely (symbolically) when possible
-V print disassembled operands symbolically
-c print argument strings of a core file
-X print no leading addresses or headers
-m don't use archive(member) syntax
-B force Thumb disassembly (ARM objects only)
-q use llvm's disassembler (the default)
-Q use otool(1)'s disassembler
-mcpu=arg use `arg' as the cpu for disassembly
--
Ticket URL: <https://trac.macports.org/ticket/42454#comment:12>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list