Re: static linking problem on Mac OS X Lion

2012-03-25 Thread Werner LEMBERG
> Looks like Qt's faked up .la files have -framework flags in > dependency_libs, remove them and it might work. Indeed, this did the trick, thanks! It now compiles fine. [It doesn't run successfully, however, because the Qt stuff still needs some extra files (in directory `qt_menu.nib'), but th

Re: static linking problem on Mac OS X Lion

2012-03-23 Thread Peter O'Gorman
[I replied to Werner without copying the list by mistake. Here is the reply.] On 03/23/2012 09:50 AM, Werner LEMBERG wrote: I get this link command together with the error message. /bin/sh ../libtool \ --tag=CXX \ --mode=link \ g++ -pipe -O2 Please add a --debug after the ../libt

Re: static linking problem on Mac OS X Lion

2012-03-23 Thread Werner LEMBERG
>> I get this link command together with the error message. >> >> /bin/sh ../libtool \ >>--tag=CXX \ >>--mode=link \ >>g++ -pipe -O2 > > Please add a --debug after the ../libtool and send me the log of > stderr and stdout. Attached. > There are no static versions of any of the system

Re: static linking problem on Mac OS X Lion

2012-03-23 Thread Peter O'Gorman
Hi, On 03/23/2012 07:58 AM, Werner LEMBERG wrote: I have a problem with libtool on Mac OS X Lion, trying to link statically to (a statically compiled version of) Qt. Saying make LDFLAGS="-all-static" V=1 I get this link command together with the error message. /bin/sh ../libtool \ --t

static linking problem on Mac OS X Lion

2012-03-23 Thread Werner LEMBERG
[libtool 2.4.2] Folks, I have a problem with libtool on Mac OS X Lion, trying to link statically to (a statically compiled version of) Qt. Saying make LDFLAGS="-all-static" V=1 I get this link command together with the error message. /bin/sh ../libtool \ --tag=CXX \ --mode=link \ g+