On 09/20 07:30, Sebastian Reitenbach wrote: > Hi, > > upgraded my puppet server from short before mysql->mariadb switch, running on > i386,, and there I have to run: > > I'm having puppet-dashboard running on that host, which uses mysql database. > cd /var/www/puppet-dashboard && sudo -u _puppet-dashboard rake18 > RAILS_ENV=production db:migrate --trace
If I had to guess, this is because in the change from mysql -> mariadb, libmysqlclient now depends on libpthread. As ruby 1.8 doesn't link with libpthread, you need to use LD_PRELOAD=libpthread.so when running ruby 1.8 if you want to load any ruby extension that links with libmysqlclient. Thanks, Jeremy