The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > 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-17-2008 11:44 PM
C compile error kuampang High Level Programming 3 11-29-2006 09:30 PM
httpd error kumarangopi UNIX for Dummies Questions & Answers 2 11-20-2006 04:58 AM
Compile error coulio High Level Programming 9 06-30-2006 02:43 AM
Error in compile C by gcc zico High Level Programming 4 11-11-2003 11:45 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
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 06:21 AM. Reason: Follow Up
Reply With Quote
Forum Sponsor
  #2  
Old 01-29-2008
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,200
See here, it if can help.
Reply With Quote
  #3  
Old 01-30-2008
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,262
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  
Old 01-30-2008
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,200
bakunin, you're correct, thiis library is missing, after that it errors out with status (1) and exit.
Reply With Quote
  #5  
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  
Old 02-04-2008
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,262
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  
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:23 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0