Error compiling ruby under AIX 5.3 with GCC during the make phase

Team,

I was trying to compile ruby 1.8.6-p114 under AIX 5.3 with gcc version
4.2.0.
During the make phase I received the following error:


rbconfig.rb updated
compiling Win32API
compiling bigdecimal
mkdir -p …/…/.ext/powerpc-aix5.3.0.0
gcc -I. -I…/… -I…/…/. -I…/…/./ext/bigdecimal -g -O2 -c
bigdecimal.c
gcc -shared -o …/…/.ext/powerpc-aix5.3.0.0/bigdecimal.so
bigdecimal.o -L"." -L"…/…" -L. -Wl,-brtl -Wl,-G -eInit_bigdecimal
-ldl
-lcrypt -lm -lc
collect2: library libgcc_s not found
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.

Can anyone help resolve this error?

Thank you

Victor

On Sat, May 3, 2008 at 1:20 PM, Victor R. [email protected]
wrote:

    mkdir -p ../../.ext/powerpc-aix5.3.0.0
    gcc -I. -I../.. -I../../. -I../.././ext/bigdecimal  -g -O2  -c

bigdecimal.c
gcc -shared -o …/…/.ext/powerpc-aix5.3.0.0/bigdecimal.so
bigdecimal.o -L"." -L"…/…" -L. -Wl,-brtl -Wl,-G -eInit_bigdecimal -ldl
-lcrypt -lm -lc
collect2: library libgcc_s not found

I haven’t used AIX yet, but here’s the clue. You need to install the
gcc_s package.

Gerardo, thank you for the info. However, I am having heck of a time
searching for that library, to download it and install it. Google has
hundreds of hits but no URL to download, as far as I can see.
Would you happen to know where I can get it?

Thank you

Victor

On Sat, May 3, 2008 at 2:30 PM, Victor R. [email protected]
wrote:

Gerardo, thank you for the info. However, I am having heck of a time
searching for that library, to download it and install it. Google has
hundreds of hits but no URL to download, as far as I can see.
Would you happen to know where I can get it?

Thank you

Victor

Well, I’m not an AIX user, but Google told me about this link:

http://www.ibm.com/developerworks/aix/library/au-gnu.html

where you can find how to install GCC on AIX. There’s even a link to a
pre-built binary.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs