This error is spit after compiling:
[cce_bash]
Linking CXX shared module ../../../lib/kipiplugin_advancedslideshow.so
/usr/lib64/gcc/x86_64-slackware-linux/4.5.3/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/share/opencv/../../lib/libGL.so when searching for -lGL
collect2: ld returned 1 exit status
make[2]: *** [lib/kipiplugin_advancedslideshow.so] Error 1
make[1]: *** [extra/kipi-plugins/advancedslideshow/CMakeFiles/kipiplugin_advancedslideshow.dir/all] Error 2
make: *** [all] Error 2
[/cce_bash]
For whatever reason it tries to use the 32 bit version of libGL.so from /usr/lib Since I was annoyed at this point so I simply renamed /usr/lib to /usr/lib.old and compiled digikam than reverted.
Month: August 2011
Digikam 2.0.0 Export to Facebook not compiled / missing
I’m had finally found the time to upgrade to digikam 2.0 stable. I noticed that Export to Facebook it’s not getting compiled. Long story short you need qjson installed. I used sbopkg -ki qjson and now digikam is happy!
Web interface for Zabbix didn’t load
I was installing today Zabbix on a CentOS 5.6 machine and hit the following error when trying to load the PHP Web Interface:
[ccNe_bash]
PHP Fatal error: Call to undefined function bcscale() in /var/www/zabbix/include/defines.inc.php on line 797
[/ccNe_bash]
The fix was one package install away:
[ccNe_bash]
yum -y install php-bcmath
[/ccNe_bash]
Enabling spell check in Mindtouch Core
After an update the spell checker I was used to disappeared. Here’s how to (re)enable the (new) spell checker:
Go to Control Panel -> Configuration -> Basic -> Tick “Allow users to spell check while editing content” and hit Save
Go back to editing and you should see the icon with “ABC” and a checkmark.
Add php APC and UploadProgress support to CentOS
I was playing today with some file uploading scripts and noticed that they require one of the two in order to be able to display a progress bar.
Those are the steps required to enabled both of them on centos:
[cce_bash]
yum install php-pear php-devel httpd-devel pcre-devel
pecl install apc
pecl install uploadprogress
[/cce_bash]
Than I created in /etc/php.d/ the following files:
[cce_ini]
; provides upload progress, installed using pecl
extension=apc.so
apc.rfc1867=1
[/cce_ini]
and
[cce_ini]
; provides upload progress, installed using pecl
extension=uploadprogress.so
[/cce_ini]
All you need to do now is restart apache!
Please note that I was using PHP 5.2 from testing at the time