On Saturday, September 20, 2014 20:53 CEST, Jeremy Evans <jer...@openbsd.org> wrote: > 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.
You seem to be right, using LD_PRELOAD indeed helps. Now is the question, how this is fixed best, generally in ruby18, or would it be enough to link ruby-mysql against libpthread? cheers, Sebastian > > Thanks, > Jeremy >