[Mono-dev] Mono latest built on OpenSolaris and now moving to solaris

pablosantosluac at terra.es pablosantosluac at terra.es
Mon Dec 22 08:47:07 EST 2008


Hi there,

I (finally! :-P) was able to build mono on Solaris... Ok, in OpenSolaris.

The "trick" was to set ulimit with:

ulimit -Hs $((10*1024))

It allowed me to compile a release from SVN!

Now I'm trying something different: I'd like to run on Solaris 10 too.

I moved the binaries but "obviously" it didn't work so I ran ldd -r to 
identify the missing symbols:

bash-3.00$ ldd -r monobin/bin/mono
         libdl.so.1 =>    /usr/lib/libdl.so.1
         libgthread-2.0.so.0 =>   /usr/lib/libgthread-2.0.so.0
         libthread.so.1 =>        /usr/lib/libthread.so.1
         libglib-2.0.so.0 =>      /usr/lib/libglib-2.0.so.0
         libsocket.so.1 =>        /usr/lib/libsocket.so.1
         libnsl.so.1 =>   /usr/lib/libnsl.so.1
         libxnet.so.1 =>  /usr/lib/libxnet.so.1
         libpthread.so.1 =>       /usr/lib/libpthread.so.1
         libm.so.2 =>     /usr/lib/libm.so.2
         libc.so.1 =>     /usr/lib/libc.so.1
         libmp.so.2 =>    /usr/lib/libmp.so.2
         libmd.so.1 =>    /usr/lib/libmd.so.1
         libscf.so.1 =>   /usr/lib/libscf.so.1
         libdoor.so.1 =>  /usr/lib/libdoor.so.1
         libuutil.so.1 =>         /usr/lib/libuutil.so.1
         libgen.so.1 =>   /usr/lib/libgen.so.1
         symbol not found: g_assertion_message_expr 
(monobin/bin/mono)
         symbol not found: g_assertion_message           (monobin/bin/mono)
         symbol not found: backtrace             (monobin/bin/mono)
         symbol not found: backtrace_symbols             (monobin/bin/mono)
         symbol not found: g_return_if_fail_warning 
(monobin/bin/mono)
         symbol not found: sched_yield           (monobin/bin/mono)
         symbol not found: nanosleep             (monobin/bin/mono)
         symbol not found: posix_fadvise64               (monobin/bin/mono)
         symbol not found: sem_init              (monobin/bin/mono)
         symbol not found: sem_post              (monobin/bin/mono)
         symbol not found: sem_destroy           (monobin/bin/mono)
         symbol not found: sem_wait              (monobin/bin/mono)
         symbol not found: shm_open              (monobin/bin/mono)
         symbol not found: shm_unlink            (monobin/bin/mono)
         symbol not found: clock_gettime         (monobin/bin/mono)
         symbol not found: clock_getres          (monobin/bin/mono)


Any help? Or should I just forget and try to build on Solaris 10 again?

Thanks,

pablo


More information about the Mono-devel-list mailing list