Talk:Compiling FileZilla 3 under macOS: Difference between revisions
From FileZilla Wiki
Jump to navigationJump to search
No edit summary |
m (CodeSquid moved page Talk:Compiling FileZilla 3 under Mac OS X to Talk:Compiling FileZilla 3 under macOS) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 11: | Line 11: | ||
Solution: add "-arch i386" in CFLAGS, CPPFLAGS, CXXFLAGS: | Solution: add "-arch i386" in CFLAGS, CPPFLAGS, CXXFLAGS: | ||
export CFLAGS="-arch i386" | export CFLAGS="-arch i386" | ||
export CPPFLAGS="-arch i386" | export CPPFLAGS="-arch i386" | ||
export CXXFLAGS="-arch i386" | export CXXFLAGS="-arch i386" |
Latest revision as of 18:59, 13 August 2019
Instead of bzcat, why don't you use tar xjf?
If you run Snow Leopard and get a lot of errors like:
ld: warning: in /opt/local/lib/libgcrypt.dylib, file is not of required architecture
Then this means that you're linking in 64 bit mode with 32 bit binaries or vice versa.
Solution: add "-arch i386" in CFLAGS, CPPFLAGS, CXXFLAGS:
export CFLAGS="-arch i386" export CPPFLAGS="-arch i386" export CXXFLAGS="-arch i386"