Archive for September 24th, 2006

Powerful Women in the Qur’an

“Trembling, he waited for the terror to abate, and Khadija held him in her arms, soothing him and trying to take his fear away. All the sources emphasise Muhammad’s profound dependence on Khadija during this crisis. ”
-Karen Armstrong; “Muhammad: A Biography of the Prophet”, p84.

Making VbrFixQt4 Work on OSX When It Can’t Find Libraries…

So, I’ll give the short explanation now since I’m short on time, but I may come back later to expand on things… Basically, the app was looking for libpng in a random place and wasn’t finding it, and so wouldn’t run at all! The install image only contained Qt (as it should, since libpng is already on here in at least one place. I have fink installed with its /sw directory so I used the libpng located there…).

Initially I tried actually editing the vbrfixqt4 binary with a hexeditor to tell it where to look, but once I fixed that it was the Qtgui framework that gave the libpng error… So rather than go messing around with a hex editor in the /Library directory, I decided to just make a symbolic link.

So… My libpng library was located at /sw/lib/libpng.3.dylib (which actually was a link to libpng.3.1.2.8.dylib, but I kept things simple and just used libpng.3, which also protects against future upgrades of libpng3 breaking things.)

So first I made the directory it was looking for:
mkdir /opt
mkdir /opt/local
mkdir /opt/local/lib

Then, create the link.

cd /opt/local/lib
ln -s /sw/lib/libpng.3.dylib

Done! Now everything works fine!
This should also work if you link to the OSX libpng library, which you can find using spotlight. I found one in something called the Mono framework, which I didn’t really investigate, but I suppose could be part of OSX? (Since OSX has native png support? I’m in over my head here…)

But anyways, now the app works!

Some relevant links:
Vbrfix
Fink
Fink Commander (Fink GUI Frontend)

Itunes 7 Sucking Cont’d

Huhhhh?
Sep 23 11:47:41 Apoctrack-Computer loginwindow[76]: sendQuitEventToApp (iTunes Helper): AESendMessage returned error -1712

Technorati Tags: , ,