LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 07-01-2008, 02:52 PM   #1
bean66
LQ Newbie
 
Registered: Nov 2005
Posts: 8

Rep: Reputation: 0
libgcc_s.a is referenced in ldd


On aix 5.3 using gcc version 4.2.4 I get the following output from ldd.
What causes libgcc_s.a to be part of the binary?

Or better, how can i prevent libgcc_s.a to be part of the binary? I've tried rebuilding gcc using configure -disable-shared to no avail.


Thanks,
ken

ajax:ajax102:/home/n/ix_/src/server>> ldd 102/ixp_server
102/ixp_server needs:
/usr/lib/libc.a(shr.o)
/usr/lib/libpthreads.a(shr_comm.o)
/usr/lib/libpthreads.a(shr_xpg5.o)
/usr/lib/libbsd_r.a(shr.o)
/home/oracle/products/v102/lib32//libclntsh.a(shr.o)
/unix
/usr/lib/libcrypt.a(shr.o)
/usr/lib/libdl.a(shr.o)
/usr/lib/libodm.a(shr.o)
/usr/lib/libperfstat.a(shr.o)
/usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/../../../libgcc_s.a(shr.o)
/usr/lib/libpthread.a(shr_xpg5.o)
/usr/lib/libcfg.a(shr.o)
/usr/lib/liblvm.a(shr.o)

Last edited by bean66; 07-02-2008 at 12:12 PM.
 
Old 07-02-2008, 02:42 PM   #2
bean66
LQ Newbie
 
Registered: Nov 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Ok,

I figured the problem out and thought I'd post my resolution so maybe it will help others.

rebuild GCC using -disable-shared.
Rebuild all libraries that were being linked that were built with the old version of gcc.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
referenced memory error colinstu General 1 03-26-2007 02:58 AM
Ubuntu 5.10 -> 6.06: diversion of /usr/bin/ldd to /usr/bin/ldd.amd64 by ia32-libs HellSpawn Linux - Software 2 06-04-2006 09:18 PM
mail server configure referenced needed umeshbabu Linux - Networking 2 08-15-2005 06:08 AM
about ldd -d jingle_mj Programming 4 09-10-2004 06:25 AM
ldd simon Linux - General 1 08-02-2001 06:15 AM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 04:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration