# XtraDB Sun build

**URL:** <https://forums.percona.com/t/xtradb-sun-build/1392>\
**Category:** Other MySQL® Questions\
**Created:** [April 28, 2010, 12:29pm UTC](https://forums.percona.com/t/xtradb-sun-build/1392 "2010-04-28T12:29:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbooth](https://avatars.discourse-cdn.com/v4/letter/r/5daacb/32.png) [@rbooth](https://forums.percona.com/u/rbooth)\
**Post date:** [April 28, 2010, 12:29pm UTC](https://forums.percona.com/t/xtradb-sun-build/1392/1 "2010-04-28T12:29:14Z")

</div>

Hello,  
I’d like to install Percona-XtraDB-5.1.45-1.0.6-10-SunOS-5.11-i86pc.tar.gz, but I did not find ha\_innodb.so in the distribution. The plugin directory has ha\_innodb\_plugin.la and ha\_innodb\_plugin.a, but no .so file.  
Is their another way to make the plugin work other than the method specified here?  
[http://www.innodb.com/doc/innodb\_plugin-1.0/innodb-plugin-in](http://www.innodb.com/doc/innodb_plugin-1.0/innodb-plugin-in) stallation.html

Additional info after attempting to use the plugin .so files from the community 5.1.45 build… getting this message on the attempt to start mysqld\_safe:

ld.so.1: mysqld: fatal: relocation error: file /usr/local/Percona-XtraDB-5.1.45-1.0.6-10-SunOS-5.11-i86pc/l ibexec/mysqld: symbol strnlen: referenced symbol not found

I noticed there is a Maria-db forum thread about this error:  
[http://www.mail-archive.com/maria-discuss&#64;lists.launchpad.ne](http://www.mail-archive.com/maria-discuss&#64;lists.launchpad.ne) t/msg00112.html

My OS version is SunOS 5.10 Generic\_141445-09 i86pc i386 i86pc

Maybe the Percona Solaris build didn’t complete successfully?

Thanks,  
Roger

---

<div class="post-metadata">

**Author:** ![xaprb](https://avatars.discourse-cdn.com/v4/letter/x/49beb7/32.png) [@xaprb](https://forums.percona.com/u/xaprb)\
**Post date:** [April 29, 2010, 6:28am UTC](https://forums.percona.com/t/xtradb-sun-build/1392/2 "2010-04-29T06:28:39Z")

</div>

In the Percona Server with XtraDB builds, the “plugin” is built in. The old version of InnoDB is removed from this server binary and replaced with XtraDB. There is no need to load a plugin.

---

<div class="post-metadata">

**Author:** ![rbooth](https://avatars.discourse-cdn.com/v4/letter/r/5daacb/32.png) [@rbooth](https://forums.percona.com/u/rbooth)\
**Post date:** [April 29, 2010, 7:23am UTC](https://forums.percona.com/t/xtradb-sun-build/1392/3 "2010-04-29T07:23:09Z")

</div>

Thanks Baron.  
So, I tried starting it without the plugin…  
#ignore\_builtin\_innodb  
#plugin-load

but I continue to get this error:  
ld.so.1: mysqld: fatal: relocation error: file /usr/local/Percona-XtraDB-5.1.45-1.0.6-10-SunOS-5.11-i86pc/l ibexec/mysqld: symbol strnlen: referenced symbol not found

Following the related thread in the Maria forum, I checked to see if my libc.so contains strnlen. No.  
Guess I need a different version of libc.so for mysqld.  
I’m running Solaris10 not OpenSolaris.

Thanks,  
Roger

---

<div class="post-metadata">

**Author:** ![rbooth](https://avatars.discourse-cdn.com/v4/letter/r/5daacb/32.png) [@rbooth](https://forums.percona.com/u/rbooth)\
**Post date:** [April 29, 2010, 1:13pm UTC](https://forums.percona.com/t/xtradb-sun-build/1392/4 "2010-04-29T13:13:35Z")

</div>

Is the current XtraDB SunOS build only for OpenSolaris, or do you have some additional prerequisites for running on Solaris10?

Thanks,  
Roger
