Showing posts with label Mac. Show all posts
Showing posts with label Mac. Show all posts

Tuesday, February 23, 2010

DBD::mysql on Leopard


I've encountered this problem

dyld: lazy symbol binding failed: Symbol not found: _mysql_init Referenced from: /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle Expected in: dynamic lookup

dyld: Symbol not found: _mysql_init Referenced from: /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle Expected in: dynamic lookup


I always have problems due to multiple installation of mysql my hand, 32 and 64 bit, and 2 different installations of perl (one coming from Leopard, the other from port).

To solve this (due to 64bit mysql libraries and missing 32bit libs) I decided to recompile DBD::mysql on my box in CPAN

CPAN> force install DBD::mysql

and apparently this solved the problem

Sunday, July 26, 2009

CPAN not working


uh, CPAN stopped working on my MacBook yesterday...
no apparent reason for that, only an error like:

Can't locate Mac/Files.pm in @INC (...)

after checking libraries and the file /Library/Perl/5.8.8/AppendToPath
I've decided to make a fresh installation of Mac::Files...

I've downloaded from:
http://search.cpan.org/~cnandor/Mac-Carbon-0.77/Files/Files.pm

and made a forced installation...

CPAN is back at work, now!

Tuesday, March 10, 2009

ImageMagick


I think ImageMagick is the right weapon for most image manipulation scripts...

I generally use mac ports to install / update it, I've found a small bug about
a mismatching checksum.

A port selfupdate solved all (since some good guy solved the checksum bug ahead)

Wednesday, December 03, 2008

show / unshow all files in Finder - OSX

with the command, from the Terminal:

defaults write com.apple.finder AppleShowAllFiles [ TRUE | FALSE ]

and restarting Finder (note the upcase)

killall Finder

Finder will show/unshow all the hidden files

Wednesday, February 06, 2008

check up agent, how to remove


given this error:
Throttling respawn: Will start in 10 seconds
2/6/08 5:05:03 PM com.apple.launchd[1] (com.app4mac.CheckUpAgent[5367]) posix_spawn("/Applications/CheckUp.app/Contents/MacOS/CheckUpAgent", ...): No such file or directory



on a terminal

sudo rm /Library/LaunchDaemons/com.app4mac.CheckUpAgent.plist