Difference between revisions of "Talk:Compiling FileZilla 3 under macOS"

From FileZilla Wiki
Jump to navigationJump to search
(mNRtGB I read and feel at home. Thanks the creators for a good resource..!!)
m (Reverted edits by 193.105.210.170 (talk) to last revision by 218.52.36.227)
Line 1: Line 1:
mNRtGB I read and feel at home. Thanks the creators for a good resource..!!
+
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"

Revision as of 20:06, 11 February 2012

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"