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

V

Victor Reyes

[Note: parts of this message were removed to make it a legal post.]

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
 
G

Gerardo Santana Gómez Garrido

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

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

Victor Reyes

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
 
G

Gerardo Santana Gómez Garrido

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top