Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2003 12:51 PM
тАО11-20-2003 12:51 PM
CC="/usr/local/bin/gcc" ./configure --prefix=/opt/apache/htdocs/webmail/gettext
and it works fine. But when I do make, it exits with the following error:
/usr/ccs/bin/ld: Can't find library: "gcc_s"
collect2: ld returned 1 exit status
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
******
I am using version 3.3.2 of gcc. I have tried giving:
--libdir=/usr/local/lib
option to gcc, but make still fails.
Any ideas on how I can fix this?
Thanks,
Deepa
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2003 05:10 PM
тАО11-20-2003 05:10 PM
Re: gettext
Can you compile other programs (from the command line, for instance) using gcc ?
You can test it with something simple like hello world...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2003 08:35 PM
тАО11-20-2003 08:35 PM
Re: gettext
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2003 08:37 PM
тАО11-20-2003 08:37 PM
Solutionhttp://hpux.cs.utah.edu/hppd/hpux/Gnu/gettext-0.12/
check the dependencies too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2003 03:52 AM
тАО11-21-2003 03:52 AM
Re: gettext
Do you check the environment variables LIBPATH, LD_LIBRARY_PATH by doing echo $LIBPATH, and echo $LD_LIBRARY_PATH?
If so, they are empty.
Thanks,
Deepa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2003 08:45 AM
тАО11-21-2003 08:45 AM
Re: gettext
/usr/ccs/bin/ld: Can't find library: "gcc_s"
collect2: ld returned 1 exit status
gmake[3]: *** [libintl.la] Error 1
gmake[3]: Leaving directory `/opt/gettext-0.12.1/gettext-runtime/intl'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/opt/gettext-0.12.1/gettext-runtime'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/opt/gettext-0.12.1/gettext-runtime'
gmake: *** [all-recursive] Error 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2003 06:57 PM
тАО11-21-2003 06:57 PM
Re: gettext
Can you post the actual line that caused this problem please. This could be caused by other libraries in the link line. The best ay to solve this is to use "chatr" command on gcc and all other libraries that is gettext is trying to link to.
Are you linking to libiconv.sl also?
for example:
chatr gcc
chatr libicnv.sl
Basically I need some more info to track the problem.
Mehdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2003 03:49 AM
тАО11-24-2003 03:49 AM
Re: gettext
edison-new:/opt/gettext-0.12.1:8>CC="/usr/gcc/gcc/usr/local/bin/gcc" ./configure --prefix=/opt/gettext2
And then make ...
edison-new:/opt/gettext-0.12.1:8>make
Here's the line during make which gives the error:
/usr/gcc/gcc/usr/local/bin/gcc -shared -fPIC -Wl,+h -Wl,libintl.sl.5 -Wl,+b -Wl,/opt/gettext2/lib -o .libs/libintl.sl.5.0 .libs/bindtextdom.o .libs/dcgettext.o .libs/dgettext.o .libs/gettext.o .libs/finddomain.o .libs/loadmsgcat.o .libs/localealias.o .libs/textdomain.o .libs/l10nflist.o .libs/explodename.o .libs/dcigettext.o .libs/dcngettext.o .libs/dngettext.o .libs/ngettext.o .libs/plural.o .libs/plural-exp.o .libs/localcharset.o .libs/relocatable.o .libs/localename.o .libs/log.o .libs/osdep.o .libs/intl-compat.o -lc -lc
/usr/ccs/bin/ld: Can't find library: "gcc_s"
collect2: ld returned 1 exit status
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
**************
I copied libgcc_s to /usr/local/lib. But it still says it can't find it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2003 04:10 AM
тАО11-24-2003 04:10 AM
Re: gettext
edison-new:/opt/gettext-0.12.1:24>chatr /usr/gcc/gcc/usr/local/bin/gcc
/usr/gcc/gcc/usr/local/bin/gcc:
shared executable
shared library dynamic path search:
SHLIB_PATH disabled second
embedded path disabled first Not Defined
shared library list:
dynamic /usr/lib/libc.2
shared library binding:
deferred
global hash table disabled
plabel caching disabled
global hash array size:1103
global hash array nbuckets:3
shared vtable support disabled
static branch prediction disabled
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
third quadrant global data space disabled
data page size: D (default)
instruction page size: D (default)
nulptr references enabled
shared library private mapping disabled
shared library text merging disabled
edison-new:/opt/gettext-0.12.1:25>
I don't have libicnv.sl in /usr/local/lib or /usr/gcc/gcc/usr/local/lib.
Thanks,
Deepa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2003 06:51 AM
тАО11-24-2003 06:51 AM
Re: gettext
I am sorry, It was a typing mistake. I ment to write "libiconv.sl" not "libicnv.sl".
It seems your gcc is ok. (where did you get your gcc from? did you compile it yourself?).
In gettext source tree can you find "libintl.sl.5.0" and run the "chatr" on that please.
chatr libintl.sl.5.0
and post the result in here please.
Thanks
Mehdi