I was looking forward to trying this out, given the puported Solaris
support. However, in attempting to install the prereqs for dashboard,
I hit a major snag. My main server uses the blastwave MySQL install,
which is a 64-bit version of MySQL 5.

mysql  Ver 14.12 Distrib 5.0.90, for pc-solaris2.10 (x86_64)

Apparently the mysql bindings for ruby don't like the 64-bit version.

Output of "gem install mysql"

/opt/csw/bin/ruby extconf.rb
checking for mysql_ssl_set()... no
checking for rb_str_set_len()... no
checking for rb_thread_start_timer()... no
checking for mysql.h... yes
cc: Warning: Option -msse passed to ld, if ld is invoked, ignored
otherwise
cc: Warning: Option -msse2 passed to ld, if ld is invoked, ignored
otherwise
creating Makefile

make
cc -I. -I. -I/opt/csw/lib/ruby/1.8/i386-solaris2.8 -I. -DHAVE_MYSQL_H
-I/opt/csw/include -I/opt/csw/include -I/opt/csw/mysql5/include/mysql
-m64 -msse -msse2 -DCSW_HAVE_STACKTRACE -I/opt/csw/include    -
DHAVE_RWLOCK_T -KPIC -xO3 -xarch=386 -xspace -xildoff -I/opt/csw/
include -I/opt/csw/include   -KPIC  -c mysql.c
cc: Warning: Option -msse passed to ld, if ld is invoked, ignored
otherwise
cc: Warning: Option -msse2 passed to ld, if ld is invoked, ignored
otherwise
ld -G -o mysql_api.so mysql.o -L'.' -L'/opt/csw/lib' -R'/opt/csw/lib' -
L.   -L/opt/csw/lib -L/opt/csw/lib    -R /opt/csw/lib -L/opt/csw/lib -
lruby -L/opt/csw/lib/amd64 -L/opt/csw/mysql5/lib/amd64/mysql -
lmysqlclient -lz -lposix4 -lgen -lsocket -lnsl -lm -L/opt/csw/lib -
lssl -lcrypto  -lrt -lpthread -ldl -lcrypt -lm   -lc
ld: fatal: file /opt/csw/mysql5/lib/amd64/mysql/libmysqlclient.so:
wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to mysql_api.so
make: *** [mysql_api.so] Error 1

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to