Ronald Florence wrote: > In trying to build LyX/Mac with static compiles of new versions of > the Trolltech qt library, the LyX build breaks at > > /bin/sh ../libtool --mode=link g++ -O -Wno-non-template-friend > -ftemplate-depth-30 -framework Carbon -framework OpenGL -framework > AGL -framework QuickTime -lz -o lyx BufferView.o [...] > mathed/libmathed.la insets/libinsets.la frontends/libfrontends.la > graphics/libgraphics.la support/libsupport.la > ../boost/libs/regex/src/libboostregex.la > ../boost/libs/signals/src/libboostsignals.la ../intl/libintl.a > -lc -lm mkdir .libs libtool: link: cannot find the library `' > > The library it cannot find is libqt.a (libqt.la). > > How can I fix this? Configure did find the library and there were > no other protests. Thanks,
In your build tree, you should find a human readable file src/frontends/libfrontends.la. This file is used by libtool to ascertain which external libraries are needed. Here for example, I find: # Libraries that this one depends upon. dependency_libs=' -L/usr/lib/qt-3.0.5/lib -lqt' It appears that libtool is also using a file libqt.la (perhaps to be found at /usr/lib/libqt.la?) that contains information about the location of libqt.a... Hope this gets you started... -- Angus