Operating System - HP-UX
1753668 Members
5730 Online
108799 Solutions
New Discussion юеВ

Re: /usr/lib/dld.sl: Unresolved symbol: libintl_bindtextdomain (code) from sed

 
SOLVED
Go to solution
Justin Masters_1
Occasional Contributor

/usr/lib/dld.sl: Unresolved symbol: libintl_bindtextdomain (code) from sed

I get the following error when running sed

sed 's/foo/bar/g' ~/foo
/usr/lib/dld.sl: Unresolved symbol: libintl_bindtextdomain (code) from sed
IOT trap (core dumped)

I had installed the ld & linker patch yesterday (PHSS_30049) because I wanted to compile gcc, and am having this problem today.

from a portion of uname -a
B.11.11 U 9000/785


Any help would be greatly appreciated - I'm somewhat new to HP administration, so please be patient on things I should look for.

Thank you,

Justin


# ls -al *dld*
-r-xr-xr-x 1 bin bin 241664 Jan 15 05:00 dld.sl
lrwxr-xr-x 1 root sys 10 Mar 4 2003 libdld.0 -> ./libdld.1
-r-xr-xr-x 1 bin bin 12288 Jan 15 05:00 libdld.1
-r-xr-xr-x 1 bin bin 24576 Jan 15 05:00 libdld.2
lrwxr-xr-x 1 root sys 8 Mar 10 15:20 libdld.sl -> libdld.2
8 REPLIES 8
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: /usr/lib/dld.sl: Unresolved symbol: libintl_bindtextdomain (code) from sed

First just to avoid silly assumptions (like you are running /xxx/yyy/sed rather than /usr/bin/sed), do a type sed.
If that reports that sed is /usr/bin/sed then
do an ldd /usr/bin/sed. That will List Dynamic Dependencies and thus tell you what libraries sed is looking for. Man ldd for details.
If it ain't broke, I can fix that.
Justin Masters_1
Occasional Contributor

Re: /usr/lib/dld.sl: Unresolved symbol: libintl_bindtextdomain (code) from sed

type sed
sed is a tracked alias for /usr/local/bin/sed

ldd /usr/local/bin/sed
=>
/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 => /opt/gnome/lib/libiconv.sl
/usr/local/lib/libintl.sl => /opt/gnome/lib/libintl.sl
/usr/lib/libc.2 => /usr/lib/libc.2
/opt/gnome/lib/libiconv.sl.2 => /opt/gnome/lib/libiconv.sl.2


Running file on the lot of them:

/usr/lib/libc.2: PA-RISC2.0 shared library -not stripped
/usr/lib/libdld.2: s800 shared library -not stripped



Hmm... libdld.2 is looking odd...
-r-xr-xr-x 1 bin bin 24576 Jan 15 05:00 /usr/lib/libdld.2
(I think that's the date of the latest patch isn't it?) Did I somehow get the wrong patch (or was it supposed to go to 10.20 or 11.00 systems, and not 11.11?)

I also noticed:
/usr/local/lib/libiconv.sl => /opt/gnome/lib/libiconv.sl

(Is this because I didn't do a swremove before running swinstall for libiconv pkg? (I installed libiconv quite awhile ago, and didn't see an error between then and yesterday when I installed the patch.)

/usr/local/lib/libiconv.sl: PA-RISC1.1 shared library
/opt/gnome/lib/libiconv.sl: PA-RISC1.1 shared library -not stripped

/usr/local/lib/libintl.sl: PA-RISC1.1 shared library

/opt/gnome/lib/libintl.sl: PA-RISC1.1 shared library -not stripped

I'm not sure what to make of this. What really jumps out at me is the s800 architecture. I've never seen that before. And I could have sworn I pulled the right patch.

Justin
Justin Masters_1
Occasional Contributor

Re: /usr/lib/dld.sl: Unresolved symbol: libintl_bindtextdomain (code) from sed

I pulled the patch, just to be sure, and the problem remained. I pulled sed off and it took care of the problem.

Maybe I can't use the sed for 11.00 platform that I found at http://hpux.cs.utah.edu, and will need to compile that as well?

Justin
A. Clay Stephenson
Acclaimed Contributor

Re: /usr/lib/dld.sl: Unresolved symbol: libintl_bindtextdomain (code) from sed

/usr/local/bin/sed IS NOT the standard HP-UX version of sed. You have installed a non-standard (almost certainly Gnu version) of the utility. When you install Gnu packages, you must check dependencies and install any needed libraries.
If it ain't broke, I can fix that.
Justin Masters_1
Occasional Contributor

Re: /usr/lib/dld.sl: Unresolved symbol: libintl_bindtextdomain (code) from sed

It is (was) a gnu version, and I've tried to ensure I have all the requisite libraries installed. I'll look over it again.

Thank you again for your help, and pointers on how to determine what the library dependencies are.

Justin
Amrith
New Member

Re: /usr/lib/dld.sl: Unresolved symbol: libintl_bindtextdomain (code) from sed

i am having a similar problem with gcc from the hpux.cs.utah site. It is asking for libintl_bindtextdomain, But in the libintl.sl, There is no such symbol.

How to resolve this issue
David West_4
New Member

Re: /usr/lib/dld.sl: Unresolved symbol: libintl_bindtextdomain (code) from sed

I am also having the same problem with gcc. Exactly the same error message. Not sure where we obtained gcc, as someone else installed it. I am having a terrible time trying to install dotProject on an HP-UX 11i v1 box with Apache 2.0.52, PHP 4.3.8, mySQL 3.23.55, and dotProject 2.0.4.

Why, oh why, wasn't GD fully implemented in the HP version of PHP!?!

Going on two weeks now with this problem! (though making slow but steady progress).

Please help!
Eberno
Regular Advisor

Re: /usr/lib/dld.sl: Unresolved symbol: libintl_bindtextdomain (code) from sed

My friend,

Try install the gettext.