On Mar 18, 2007, at 9:19 AM, Patrick De Visschere wrote:

libtool: link: cannot find the library `'
make[3]: *** [lyx-qt4] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Any suggestions?

My guess is that you didn't delete *.la files from [QTDIR]/lib/. (1.5beta1 came out before we had a chance to update the INSTALL.MacOSX instructions, which hopefully will lay out what you need to do. I'm attaching a copy to this e-mail.)

Bennett

<INSTALL.MacOSX>


I did remove the .la files ang got exactly the same error

But I did run configure according to the LyX/Mac-1.4 instructions
(./configure -static -no-exceptions -lresolv)

I couldn't find the -lresolv option in the configure help?

But the INSTALL instructions mention:
"and also supply a path to the -sdk option if your development machine has a PowerPC CPU"

so I guess this could be the problem.

Regards,



I already found out that the -sdk option has probably nothing to do with it and is only relevant with the -universal option.

I was also (maybe) confused regarding the /path/to/QT4 : I removed the *.la files in the lib in the source directory only.
I installed qt4 in the default location: /usr/local/Trolltech/Qt-4.2.3
After removing the *.la files in the lib folder in this location libtool complains that:

libtool: link: cannot find the library `/usr/local/Trolltech/ Qt-4.2.3/lib/libQtGui.la'

so this was not a good move apparently but that's how I understand the instructions for building LyX/Mac-1.5?

(I think you understand them correctly. Just follow my instructions in my previous e-mail.)

Bennett

Reply via email to