Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 08/13/2012 08:38 AM, James Chen wrote:
ld: warning: ignoring file /opt/local/lib/libiconv.dylib, file was built
for unsupported file forma
ld: warning: ignoring file /opt/local/lib/libz.dylib, file was built for
unsupported file format
ld: in /opt/local/lib/libiconv.2.dylib, file was built for unsupported
file format

Hmm, what is this /opt/local/lib? In general the LO build for MacOSX
will break if it tries to use some existing add-on builds of common
3rd-party libraries, like MacPorts etc. At least that is what
everybody says, I don't have personal experience as I don't have
MacPorts... Try to make sure this /opt/local stuff is not found when
building LibreOffice, removing /opt/local/bin from PATH (if you have
it there) probably helps.

--tml

Thanks for pointing out and the hints.
Removing /opt/local/bin from PATH does not work for me.

Even not with a clean rebuild from scratch afterwards? I'd assume some mis-configuration (likely caused by picking up MacPort's /opt/local/bin/pkg-check) was still manifest in your build.

Stephan

I turn out to reinstall the lib as universal binary via MacPort as others
suggest to similar issue.
E.g.: sudo port upgrade --enforce-variants libiconv +universal

I probably should override the linker path to prevent the build to link
against the MacPort version of libs?
Anyway, it's on the track now. :P


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.