[Pythonmac-SIG] Weirdness with ld/PyQt-Mac build

Kevin Walzer sw at wordtech-software.com
Wed Mar 9 05:00:24 CET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm working on a new build of PyQt-Mac. Everything seemed to build fine
(Qt 3.3.4, latest versions of QScintilla, SIP, and PyQt), and install
without incident. However, PyQt applications no longer launch: it seems
they don't see libqscintilla. Here's a typical message:

Contents/MacOS/Eric 3 can't open library: libqscintilla.5.dylib  (No
such file or directory, errno = 2)

This is puzzling because that library is correctly installed in
/Developer/qt/lib, which is where it should be. So I don't see why these
other apps can't see it.

Looking at the logs from building PyQt, I ran across this strange warning:


ld: warning -L: directory name
(/Users/kevin/Desktop/qt-mac-free-3.3.4-shared/lib) does not exist

The directory that "does not exist" is the build directory for Qt. After
~ building Qt, I moved the build folder to /Developer and renamed it qt.
Then I began building PyQt and the other bits.

I'm pretty sure that these other apps think that libqscintilla.dylib
should be in /Users/kevin/Desktop/qt-mac-free-3.3.4-shared/lib. But why?
~ What difference does it make, especially when I have $QTDIR set in my
path to point to /Developer/qt? And if this is a problem, how do I fix
it (short of rebuilding Qt in /Developer/qt--groan...)

Thanks for any advice.

- --



Cheers,

Kevin Walzer, PhD
WordTech Software--Open Source Applications and Packages for OS X
http://www.wordtech-software.com
http://www.smallbizmac.com
http://www.kevin-walzer.com
mailto:sw at wordtech-software.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCLnTYJmdQs+6YVcoRAgjYAJ9kzjb8w+UrDqbjJgox9M4AV70BKQCfcIk6
9hCtXY4zhqRnBm8wiYR2dRY=
=FabY
-----END PGP SIGNATURE-----


More information about the Pythonmac-SIG mailing list