The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Compile error for PHP with msql brizrobbo UNIX for Advanced & Expert Users 1 02-18-2008 01:44 AM
C compile error kuampang High Level Programming 3 11-29-2006 11:30 PM
httpd error kumarangopi UNIX for Dummies Questions & Answers 2 11-20-2006 06:58 AM
Compile error coulio High Level Programming 9 06-30-2006 05:43 AM
Error in compile C by gcc zico High Level Programming 4 11-12-2003 01:45 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-28-2008
Registered User
 

Join Date: Apr 2005
Posts: 62
Question Error when compile httpd 2.2.8 on AIX 5.2

Hi everybody,

I tried to compile httpd-2.8.8 on AIX 5.2. After downloading the Source file I run the configure as following:
>> CC=gcc ./configure --prefix=/usr/local/apache
After that i run the command make, but it failed. Below are last several lines of stdout of the make command:
lo threadproc/unix/procsup.lo threadproc/unix/signals.lo threadproc/unix/thread.lo threadproc/unix/threadpriv.lo time/unix/time.lo time/unix/timestr.lo user/unix/groupinfo.lo user/unix/userinfo.lo -lpthread
collect2: library libgcc_s_pthread not found
make[3]: *** [libapr-1.la] Error 1
make[3]: Leaving directory `/Apache/httpd-2.2.8/srclib/apr'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/Apache/httpd-2.2.8/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Apache/httpd-2.2.8/srclib'
make: *** [all-recursive] Error 1

Any idea?

Thanks in advance

Last edited by aldowsary; 01-29-2008 at 08:21 AM.. Reason: Follow Up
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-29-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,288
See here, it if can help.
Reply With Quote
  #3 (permalink)  
Old 01-30-2008
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,471
I could be wrong but this:

Quote:
Originally Posted by aldowsary View Post
collect2: library libgcc_s_pthread not found
seems to be the root of all evil. Maybe a wrongly set LIBPATH or missing library at all? There is a library libpthread.so in AIX 5.3, but you seem to need an equivalent library for the gcc compiler.

bakunin
Reply With Quote
  #4 (permalink)  
Old 01-30-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,288
bakunin, you're correct, thiis library is missing, after that it errors out with status (1) and exit.
Reply With Quote
  #5 (permalink)  
Old 01-30-2008
Registered User
 

Join Date: Apr 2005
Posts: 62
Thanks sysgate, thanks bakunin.

I got from the link that given to me by sysgate somebody who encountered same my problem (collect2: library libgcc_s_pthread not found). HERE the thread's link.

As this guy said in his last reply:
I was able to install the missing library manually to gcc (with the help of an IBM AIX guru.)

I don't understand what he mean by installing the missing library manually to gcc?

  • How can I obtain this library?
  • How can I install it?

I appreciate your help guys.
Reply With Quote
  #6 (permalink)  
Old 02-04-2008
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,471
As far as i can see you do not need any AIX guru. I entered "libgcc_s_pthread" into Google and the following hit was the first i saw:

DO NOT REPLY [Bug 40765] - library libgcc_s_pthread not found

There it says:

"libgcc rpm was missing - why didn't ./configure pick this up?"

So get and isntall libgcc.rpm and everything should be fine.

bakunin
Reply With Quote
  #7 (permalink)  
Old 02-13-2008
Registered User
 

Join Date: Apr 2005
Posts: 62
Unfortunately, I installed libgcc but still the problem not solved.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Bookmarks

Tags
None

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:




All times are GMT -4. The time now is 11:14 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66