OSX 10.5.8 and Kontrollbase – perl code incompatibility

30 October 2009 | announcement

If you’re running Apple’s OSX 10.5 or possibly lower versions as well you will inevitably notice that the Kontrollbase perl scripts complain about various things that are not an issue on Linux. As follows:

ROOT-(root@g5)-(/private/var/www/html/kontrollbase/bin)-ROOT
ROOT-(0)> ./kontroll-query_cache_preload.pl
Bareword "O_RDWR" not allowed while "strict subs" in use at ./kontroll-query_cache_preload.pl line 45.
Bareword "O_EXCL" not allowed while "strict subs" in use at ./kontroll-query_cache_preload.pl line 45.
Bareword "O_CREAT" not allowed while "strict subs" in use at ./kontroll-query_cache_preload.pl line 45.
Execution of ./kontroll-query_cache_preload.pl aborted due to compilation errors.
ROOT-(root@g5)-(/private/var/www/html/kontrollbase/bin)-ROOT
ROOT-(2)> emacs kontroll-query_cache_preload.pl
ROOT-(root@g5)-(/private/var/www/html/kontrollbase/bin)-ROOT
ROOT-(0)> ./kontroll-server_loop-5.0.x_linux-x86-2.0.1.pl
2009-10-30 13:03:29 | DEBUG | server-loop-5.0.x_linux-x86: LOG TRUNCATED
2009-10-30 13:03:29 | DEBUG | server-loop-5.0.x_linux-x86: #### server-loop process start
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
Trace/BPT trap

The solution at this time is to not use OSX as the main Kontrollbase server. Maybe some OSX diehards can check out the perl code and correct it for this OS but in the mean time I’ll continue to focus on the improvements for Linux.


Comments are closed.