Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Building on Solaris and trouble with missing libcrypt_d
Justin Johnson
5/27/2008 10:54:00 PM
Hi,
I have a Solaris zone that I use to build Ruby on and then I deploy it
to a production box. I'm finding that there are some differences
between these boxes, which are causing ruby to not run correctly when
copied to the production box.
I build ruby on the test box as follows.
cd ruby-1.8.6-p111
/configure --prefix=/path/to/ruby
make
make install-all
It runs fine on the test box.
$ ruby --version
ruby 1.8.6 (2007-09-24 patchlevel 111) [sparc-solaris2.10]
Then after I copy it to the same path on the production box I get the
following error.
$ ruby --version
libcrypt_d.so.1: open failed: No such file or directory
The following files exist on the test box but not on the prod box.
/usr/lib/sparcv9/libcrypt_d.so
/usr/lib/sparcv9/libcrypt_d.so.1
/usr/lib/libcrypt_d.so
/usr/lib/libcrypt_d.so.1
Does anyone have any ideas what the issue is and how to avoid it? I
don't have access to install these missing libraries, and my hope is
that I can change some configure parameter to get around this.
Thanks,
Justin
--
Posted via
http://www.ruby-...
.
1 Answer
Justin Johnson
5/27/2008 10:56:00 PM
0
In case it helps...
$ uname -a
SunOS test 5.10 Generic_127111-08 sun4u sparc SUNW,Netra-T12
$ uname -a
SunOS prod 5.10 Generic_125100-07 sun4u sparc SUNW,Netra-T12
Justin Johnson wrote:
> Hi,
>
> I have a Solaris zone that I use to build Ruby on and then I deploy it
> to a production box. I'm finding that there are some differences
> between these boxes, which are causing ruby to not run correctly when
> copied to the production box.
>
> I build ruby on the test box as follows.
>
> cd ruby-1.8.6-p111
> ./configure --prefix=/path/to/ruby
> make
> make install-all
>
>
> It runs fine on the test box.
>
> $ ruby --version
> ruby 1.8.6 (2007-09-24 patchlevel 111) [sparc-solaris2.10]
>
> Then after I copy it to the same path on the production box I get the
> following error.
>
> $ ruby --version
> libcrypt_d.so.1: open failed: No such file or directory
>
> The following files exist on the test box but not on the prod box.
>
> /usr/lib/sparcv9/libcrypt_d.so
> /usr/lib/sparcv9/libcrypt_d.so.1
> /usr/lib/libcrypt_d.so
> /usr/lib/libcrypt_d.so.1
>
> Does anyone have any ideas what the issue is and how to avoid it? I
> don't have access to install these missing libraries, and my hope is
> that I can change some configure parameter to get around this.
>
> Thanks,
> Justin
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Building on Solaris and trouble with missing libcrypt_d
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password