- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: gcc 3.4.2 on 11.11
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
Forums
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
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-02-2004 01:42 AM
тАО11-02-2004 01:42 AM
bash-2.04# gcc --version
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libintl.sl
/usr/lib/dld.sl: No such file or directory
ABORT instruction (core dumped)
OK. Made a link to the only version of libintl.sl on my system (libintl.sl.1 in gnome), run it again and I get the following:
bash-2.04# gcc --version
/usr/lib/dld.sl: Unresolved symbol: libintl_bindtextdomain (code) from gcc
ABORT instruction (core dumped)
Now I'm getting a bit saddened by all this extra work. ;-)
Am I headed down the path of frustration? I thought libintl.sl was included with gettext, but I cannot find it.
Any ideas?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2004 01:54 AM
тАО11-02-2004 01:54 AM
Re: gcc 3.4.2 on 11.11
Could you post output from :
. ldd /path/to/your/gcc
. ls -l /usr/local/lib/libintl*
. ls -l /opt/gnome/lib/libintl*
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2004 01:56 AM
тАО11-02-2004 01:56 AM
Re: gcc 3.4.2 on 11.11
Though shallt install that too.
(one of the reasons I always configure my builds with --disable-nls)
http://hpux.connect.org.uk/hppd/hpux/Development/Libraries/libiconv-1.9.2/
And if you look at the run time dependencies, you'll see that you also need http://hpux.connect.org.uk/hppd/hpux/Gnu/gettext-0.14.1/
I /think/ that the other deps as listed on http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-3.4.2/ are void, but if you get more errors, you might need those too.
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2004 02:02 AM
тАО11-02-2004 02:02 AM
Re: gcc 3.4.2 on 11.11
bash-2.04# ldd /usr/local/bin/gcc
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/local/lib/libiconv.sl => /usr/local/lib/libiconv.sl
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/local/lib/libintl.sl => /usr/local/lib/libintl.sl
/usr/lib/libc.2 => /usr/lib/libc.2
/opt/gnome/lib/libiconv.sl.2 => /opt/gnome/lib/libiconv.sl.2
bash-2.04# ls -l /usr/local/lib/libintl*
lrwxr-xr-x 1 root sys 27 Nov 2 10:00 /usr/local/lib/libintl.sl -> /opt/gnome/lib/libintl.sl.1
bash-2.04# ls -l /opt/gnome/lib/libintl*
-rw-r--r-- 1 bin bin 53552 Nov 27 2002 /opt/gnome/lib/libintl.a
-rw-r--r-- 1 bin bin 785 Nov 27 2002 /opt/gnome/lib/libintl.la
lrwxr-xr-x 1 bin bin 12 Nov 1 15:32 /opt/gnome/lib/libintl.sl -> libintl.sl.1
-r-xr-xr-x 1 bin bin 57344 Nov 27 2002 /opt/gnome/lib/libintl.sl.1
Thanks,
rwt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2004 02:06 AM
тАО11-02-2004 02:06 AM
Re: gcc 3.4.2 on 11.11
I installed gettext, along with:
autoconf 2.59 autoconf
bison 1.875 bison
db 4.2.52 db
flex 2.5.4a flex
gawk 3.1.4 gawk
gcc 3.4.2 gcc
gettext 0.14.1 gettext
libiconv 1.9.2 libiconv
m4 1.4.2 m4
make 3.80 make
texinfo 4.7 texinfo
all at the same time, and all from the SPAAC repository.
Thanks,
rwt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2004 02:09 AM
тАО11-02-2004 02:09 AM
Re: gcc 3.4.2 on 11.11
You'd better add /opt/gnome/lib in front of your LD_LIBRARY_PATH env variable.
export LD_LIBRARY_PATH=/opt/gnome/lib:$LD_LIBRARY_PATH
then issue "ldd gcc" and "gcc --version"
If successfull, add LD_LIBRARY_PATH line to your profile.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2004 02:20 AM
тАО11-02-2004 02:20 AM
Re: gcc 3.4.2 on 11.11
bash-2.04# env
PWD=/
TZ=EST5EDT
SHLIB_PATH=/opt/gnome/lib:/usr/local/bin
HOSTNAME=red
LD_LIBRARY_PATH=/opt/gnome/lib:/usr/local/bin
(etc)
bash-2.04# ldd /usr/local/bin/gcc
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/local/lib/libiconv.sl => /usr/local/lib/libiconv.sl
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libintl.sl
/usr/lib/dld.sl: No such file or directory
bash-2.04# gcc --version
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libintl.sl
/usr/lib/dld.sl: No such file or directory
ABORT instruction (core dumped)
Not much better, methinks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2004 02:30 AM
тАО11-02-2004 02:30 AM
Re: gcc 3.4.2 on 11.11
*IF* it is installed, *where* is it installed?
if it is indeed in /usr/local/lib, are the permissions so that you can read it? Or is it a symlink to something non-existent?
Easy solution if it's installed somewhere else, is to make /usr/local/lib/libintl.sl point to the existing libintl.sl by a symlink
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2004 02:37 AM
тАО11-02-2004 02:37 AM
Re: gcc 3.4.2 on 11.11
On the other hand, it sounds strange that your gettext install did not brought you those libs in /usr/local/lib.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2004 03:00 AM
тАО11-02-2004 03:00 AM
Re: gcc 3.4.2 on 11.11
The message is obvious: /usr/local/lib/libintl.sl cannot be found/opened.
*IF* it is installed, *where* is it installed?
if it is indeed in /usr/local/lib, are the permissions so that you can read it? Or is it a symlink to something non-existent?
Easy solution if it's installed somewhere else, is to make /usr/local/lib/libintl.sl point to the existing libintl.sl by a symlink
libintl.sl is installed, and when I link to it, I get:
bash-2.04# gcc --version
/usr/lib/dld.sl: Unresolved symbol: libintl_bindtextdomain (code) from gcc
ABORT instruction (core dumped)
It's more what you said earlier- it appears gcc was installed hard-linked.
Is there a way with the .depot to install it unlinked? I can't think of one, but asking is always the way. I just need it to work so I can recompile it to my liking.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2004 03:08 AM
тАО11-02-2004 03:08 AM
Re: gcc 3.4.2 on 11.11
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2004 03:08 AM
тАО11-02-2004 03:08 AM
Re: gcc 3.4.2 on 11.11
/personally/ I'd advice you to fetch all depots afresh from http://hpux.connect.org.uk/
Though I know it's a lot of work, I think it's the safest.
If you don't like depots (grin), or you have no objections to compressed archives and locale-disabled builds, take mine from http://mirrors.develooper.com/hpux/
Installation instructions on the site.
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2004 03:13 AM
тАО11-02-2004 03:13 AM
Re: gcc 3.4.2 on 11.11
I obtained all software installed from the Porting Center at EDU Utah.
I will now unload everything and try software from develooper.
Instead, maybe I'll go back to bed. ;-)
Thanks so far.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2004 03:29 AM
тАО11-02-2004 03:29 AM
Re: gcc 3.4.2 on 11.11
This time I installed libiconv, gettext, m4, bison and flex packages before installing gcc,
then gcc,
then autoconf, db, gawk, libiconv, make, and texinfo.
All from .depot files from http://hpux.connect.org.uk.
Poop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2004 04:08 AM
тАО11-02-2004 04:08 AM
Re: gcc 3.4.2 on 11.11
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2004 04:22 AM
тАО11-02-2004 04:22 AM
Re: gcc 3.4.2 on 11.11
Ditto=same result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2004 07:49 AM
тАО11-02-2004 07:49 AM
Solutiona5:/u/usr/merijn 101 > chatr /usr/local/pa20_32/bin/gcc
/usr/local/pa20_32/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
explicit unloading enabled
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
a5:/u/usr/merijn 102 >
gcc is in that case not on /usr/local/bin, but undef /usr/local/pa20_32/bin (or .../pa20_64/bin if you got the 64bit build)
Please be sure you gor that first in your $PATH
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2004 03:34 AM
тАО11-03-2004 03:34 AM
Re: gcc 3.4.2 on 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2004 03:37 AM
тАО11-03-2004 03:37 AM
Re: gcc 3.4.2 on 11.11
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2004 03:47 AM
тАО11-03-2004 03:47 AM
Re: gcc 3.4.2 on 11.11
And please asign points to *all* answers.
0 points to answers that were just annoying, or 1 for, thanks but no thanks.
All info you pass us through those points will be helpful to others in the future.
Maybe I'll even change my site to reflect this newly acquired knowledge.
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2004 08:53 PM
тАО11-21-2004 08:53 PM
Re: gcc 3.4.2 on 11.11
I have the same problem myself. Tried to install gcc.. In desparation I also installed gettext 0.14.1, and got the same problem as with gcc.
Before this is solved I am not able to install more depots from the HPUX porting centre..
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2004 07:10 PM
тАО11-22-2004 07:10 PM
Re: gcc 3.4.2 on 11.11
Had to remove the gettext package completely and reinstall it. Somehow the file:
-r-xr-xr-x 1 root sys 45056 May 29 2002 /usr/local/lib/libintl.sl
It did not update even if I selected "match what target has" in swinstall when updating from an older gettext package.
After removing recode (dependent of gettext) and gettext, then reinstall gettext GCC suddenly executed like it should.. :)
Now I have this file instead:
-r-xr-xr-x 1 root sys 53248 Sep 19 15:58 /usr/local/lib/libintl.sl
Could have saved me a days work if Ronnie would state the solution, but..
Roger