Can't find libstdc++ Install lib32std+cc Add the path to firefox to /etc/ld.so.conf.d/libc.conf /opt/firefox Can't open libXrender install ia32-libs I installed libdesktop-agnotic0-gio aswell. I also got a heap of errors regarding "wrong ELF class: ELFCLASS64" Run...
James McDonald
PHP on Windows failing to start due to missing dll’s
Reference: http://ajaxweb.wikidot.com/php-installation-fails-missing-dll Every time I tried to run php.exe or php-win.exe I got popups complaining of a heap of missing DLL's gds32.dll ntwdblib.dll oci.dll etc... As the above link says you need to run php.exe and note...
Getting Skype running on Fedora 16
Download and install the latest skype rpm ( I installed Skype (Beta) Version 2.2.0.35) Try it and you get missing libs... libQtDbus and libQtgui and all sorts of missing libs So run ldd /usr/bin/skype to track down what's missing then go and install the packages # I'm...
Fedora 16 and the winner is… Useability
I installed the Fedora 16 beta a few weeks back and was mostly pleasantly suprised at Beta things just worked. I've heard a few neg reviews regarding brain dead install failures namely install failing if you have a separate /var partition. But apart from that. Fedora...
Some notes on using validation in a CakePHP model.
Warning: Take all this with a grain of salt. Musing only here. PHP Nested Arrays - Scratch Scratch A potentially confusing thing, and the power in CakePHP is the frequent use of nested arrays. Because IANAP (I am not a programmer) it's taken some time to begin to...
Writing a custom RDP file from a Kix logon script
I attempted use the standard kix script writeLine() function to append data to a Windows .RDP file and got garbage I wanted to add a custom "username:s:DOMAINNAME\username" line to the end of the RDP File. Work-a-round Use VBScript embedded in the kix script to append...
Try them all then remove them… Not so easy
Playing with desktop environments and then you want to remove them # narrow down the group list to the ones you are interested in yum grouplist | grep -Ei '(xfce|kde)' # then get the packages you need to remove yum group info Xfce # then try and get a list of the...
Symantec Backup Exec VMDK Corrupt
See if you can follow my train of thought here: I'm trying to use Backup Exec to copy a vmdk file to tape. The VMDK file was copied off an ESXI server to a Linux Server running Samba. I used ftpput from ESXI to get it to the Linux Box and then a Samba share on the...
Username DOMAIN\username is invalid on this system
Kept getting prompted for a username and password when trying to connect to a samba share despite the permissions being correct. And got this error message in the samba logs: [2011/10/31 13:54:16.781238, 1] smbd/sesssetup.c:454(reply_spnego_kerberos) Username...
Bluefish Function Reference
If you are wondering where the Bluefish Function Reference is hiding. You need to enable the Info Browser plugin. Goto Edit ==> Preferences ==> Plugins, check the Info Browser checkbox, click OK and then restart Bluefish
Who’s down with systemd?
Fedora 16 take a bow... Gnome 3 makes me feel like I own an Apple. I feel really smart and stylish using it. Even better is the bump from the 2.* series kernels up to 3. However progress means change and for years I've been comfortable with chkconfig --list to display...
Fedora 16 Beta fixes Hissy snd_hda_intel Card
Just downloaded and spun up Fedora 16 Beta I've been having heaps of trouble with my sound on this box. But the new Fedora 16 Beta fixes the sound issues. No more background hiss.
Note to self Regarding Printing Photos to a HP Officejet Pro 8500A
I have been attempting to print 4" x 6" photos from my Fedora 15 install and the images (which I have edited with GIMP) have terrible pixelated edges near any fine detail where I have selected the surrounding region and filled with another colour. I was printing to...
PHP FileInfo
Trying to get PHP to return the file type of an xcf image and it stubbornly refused to return what I wanted. Still can't get it to output image/x-xcf but I'm starting to think the compiled in magic data base of PHP doesn't include it and I haven't successfully loaded...
How to Troubleshoot Cron Scripts
It works from the command line. Why doesn't it work in Cron? ...insert head scratching here... Firstly run your cron job often so you can get some output. Use common sense here, obviously if the cron scripts takes 5 minutes to run then you would bump up the frequency...
Taking Screenshots of a Website in Linux
They said "James we need someone to check a website and make sure everything is OK over the weekend". Hmm OK... I'd rather not be tied to a laptop or hang around home so why not send an email with a screenshot to my Android HTC Desire. Search, search, search: And then...
seLinux – Mordac the Preventer of Information Services
The Problem: I was trying to do a mkdir using php in a cakephp file upload script and I got an error: 2011-10-18 21:55:48 Warning: Warning (2): mkdir() [http://php.net/function.mkdir]: No such file or directory in [/home/user/public_html/mapdb-dev/app_controller.php,...
CakePHP change a view to have an image upload field in it
# add array('type'=>'file') to the Form->create method < ?php echo $this->Form->create('Map', array('type'=>'file'));?> < ?php __('Add Map'); ?> < ?php # most fields are just normal automagic text/numeric/boolean fields echo $this->Form->input('name'); echo...