Opened 15 years ago

Closed 12 years ago

#23524 closed defect (worksforme)

intltool-merge fails in p5-xml-parser: "Symbol not found: _XML_ParserCreate_MM"

Reported by: vircheck@… Owned by: mjg@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: nendex@…, fholguin@…
Port: p5-xml-parser

Description

building shared-mime-info fails on macports 1.8.2 (snow leopard) This is the error I get:

sudo port install -d shared-mime-info 
--->  Computing dependencies for shared-mime-info
--->  Building shared-mime-info
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_shared-mime-info/work/shared-mime-info-0.70" && /usr/bin/make -j2 all " returned error 2
Command output: Makefile:1054: warning: overriding commands for target `all'
Makefile:312: warning: ignoring old commands for target `all'
LC_ALL=C /opt/local/bin/intltool-merge -x -u -c ./po/.intltool-merge-cache ./po freedesktop.org.xml.in freedesktop.org.xml
dyld: lazy symbol binding failed: Symbol not found: _XML_ParserCreate_MM
  Referenced from: /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/XML/Parser/Expat/Expat.bundle
  Expected in: dynamic lookup

dyld: Symbol not found: _XML_ParserCreate_MM
  Referenced from: /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/XML/Parser/Expat/Expat.bundle
  Expected in: dynamic lookup

make: *** [freedesktop.org.xml] Trace/BPT trap
make: *** Deleting file `freedesktop.org.xml'
make: *** Waiting for unfinished jobs....

Error: Status 1 encountered during processing.

I have selfupdated, reinstalled perl5, expat and p5-xml-parser.. same error

Change History (7)

comment:1 Changed 15 years ago by nendex@…

I have the same problem. And I have done everything.

comment:2 Changed 15 years ago by nendex@…

Cc: nendex@… added

Cc Me!

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Summary: shared-mime-info: build fails - missing symbolshared-mime-info: build fails - "Symbol not found: _XML_ParserCreate_MM"

comment:4 Changed 14 years ago by fholguin@…

Cc: fholguin@… added

Cc Me!

comment:5 in reply to:  description Changed 14 years ago by drechsel@…

Try port uninstall -f p5-xml-parser @<yourversions>

This worked for me

Yours, Wolf

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to mjg@…
Port: p5-xml-parser added; shared-mime-info removed
Summary: shared-mime-info: build fails - "Symbol not found: _XML_ParserCreate_MM"intltool-merge fails in p5-xml-parser: "Symbol not found: _XML_ParserCreate_MM"

XML_ParserCreate_MM is present in libexpat.1.dylib for me. Check that Expat.bundle is correctly linked against libexpat, and that their architectures match:

otool -L /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/XML/Parser/Expat/Expat.bundle
lipo -info /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/XML/Parser/Expat/Expat.bundle /opt/local/lib/libexpat.1.dylib

comment:7 Changed 12 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

No response; closing.

Note: See TracTickets for help on using tickets.