The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 02:44 AM
C compile error kuampang High Level Programming 3 11-30-2006 12:30 AM
httpd error kumarangopi UNIX for Dummies Questions & Answers 2 11-20-2006 07: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 02:45 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-28-2008
aldowsary aldowsary is offline
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 09:21 AM.. Reason: Follow Up
  #2 (permalink)  
Old 01-29-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,318
See here, it if can help.
  #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,628
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
  #4 (permalink)  
Old 01-30-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,318
bakunin, you're correct, thiis library is missing, after that it errors out with status (1) and exit.
  #5 (permalink)  
Old 01-30-2008
aldowsary aldowsary is offline
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.
  #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,628
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
  #7 (permalink)  
Old 02-13-2008
aldowsary aldowsary is offline
Registered User
  
 

Join Date: Apr 2005
Posts: 62
Unfortunately, I installed libgcc but still the problem not solved.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:24 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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