On 16.08.2007, at 23:53, Jean-Marc Lasgouttes wrote:

Andre Poenitz <[EMAIL PROTECTED]> writes:

Ok. Glad to here that. No I need only a positive report from a Mac user.

OK, almost positive :) I build here with pkg-config installed from
macports, and Qt is 4.3.0.

Note that I disable pch.

autoconf (GNU Autoconf) 2.61
automake (GNU automake) 1.10


1) a static build. Just works.

../lyx-devel/configure --prefix=/Users/jmarc/Desktop/LyX.app -- without-x --with-qt4-dir=~/src/qt/build --with-included-gettext -- disable-pch --disable-shared --enable-static

2) a shared build. Libraries are not installed at the regular place,
but I think I can fix that. Compilation goes fine.

../lyx-devel/configure --prefix=/Users/jmarc/Desktop/LyX.app -- without-x --with-qt4-dir=~/src/qt/build --with-included-gettext -- disable-pch

However, when I launch LyX, I just get:

Gino: ~/Desktop/LyX.app/Contents/MacOS/lyx 2>&1 |c++filt
dyld: Symbol not found: lyx::thesaurus
Referenced from: /Users/jmarc/Desktop/LyX.app/Contents/Resources/ LyX/liblyxcontrollers.0.dylib
  Expected in: flat namespace


So, liblyxcontrollers.0.dylib is correctly found, but what is not
found is the lyx::thesaurus variable (I expect it is not the only
one).

Gino: cd ~/Desktop/LyX.app/Contents/Resources/LyX
Gino: nm liblyxcontrollers.dylib |c++filt|grep lyx::thesaurus
         U lyx::thesaurus

I did not find a place where his variable is instantiated, actually.
How is this done?

JMarc

Same effects here, static works, shared does not, with the same complaints.

Andi

Reply via email to