Skip to contentSkip to conversation

New: sed can't find libintl

Buildroot bugzilla at busybox.net 1 participant 11 messages Aug 2, 2009 – Aug 4, 2009

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=525

Host: Ubuntu 9.0.4 Server 32 Bit
Target: i686
Build: i686
Summary: sed can't find libintl
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: d.albano at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Hi,

i'm trying to compile sed, but without success. It complains about missing libintl, but it is in staging dir (under usr/lib)

daniele at linux-ubuntu-dev:~/Development/OPBXA/buildroot-git$ ls build_i686/staging_dir/usr/lib/libintl.* build_i686/staging_dir/usr/lib/libintl.a build_i686/staging_dir/usr/lib/libintl.so.8 build_i686/staging_dir/usr/lib/libintl.la build_i686/staging_dir/usr/lib/libintl.so.8.0.1 build_i686/staging_dir/usr/lib/libintl.so

If i try to build sed manually(entering in build_i686/sed-x.x.x and doing make) after that buildroot fails it compiles successfully and seems to looking for the correct libraries. If i do an ldd on sed, i get this:
daniele at linux-ubuntu-dev:~/Development/OPBXA/buildroot-git/build_i686/sed-4.1.5/sed$ ldd sed

        linux-gate.so.1 =>  (0xb7f25000)
        libintl.so.8 => not found
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7dbb000)
        /lib/ld-linux.so.2 (0xb7f26000)

On my system libintl.so.8 doesn't exists, i searched for it using find (find / -name libintl.so.8) and using locate (locate libintl.so.8)

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 525] sed can't find libintl

https://bugs.busybox.net/show_bug.cgi?id=525

--- Comment #1 from Daniele Salvatore Albano <[email protected]> 2009-08-02 11:18:54 UTC --- Created an attachment (id=543)
--> (https://bugs.busybox.net/attachment.cgi?id=543)
my configuration

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 525] sed can't find libintl

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=525

--- Comment #2 from Daniele Salvatore Albano <[email protected]> 2009-08-02 11:19:33 UTC --- Created an attachment (id=545)
--> (https://bugs.busybox.net/attachment.cgi?id=545)
buildroot make output

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 525] sed can't find libintl

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=525

--- Comment #3 from Daniele Salvatore Albano <[email protected]> 2009-08-02 11:20:07 UTC --- Created an attachment (id=547)
--> (https://bugs.busybox.net/attachment.cgi?id=547)
main sed makefile (the one in sed main directory)

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 525] sed can't find libintl

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=525

--- Comment #4 from Daniele Salvatore Albano <[email protected]> 2009-08-02 11:20:43 UTC --- Created an attachment (id=549)
--> (https://bugs.busybox.net/attachment.cgi?id=549)
sed specific makefile (the one under sed-x.x.x/sed subdirectory)

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#5 lore raw

[Buildroot] [Bug 525] sed can't find libintl

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=525

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED

--- Comment #5 from Peter Korsgaard <[email protected]> 2009-08-02 20:38:08 UTC --- Strange, I cannot reproduce it here (on an ARM config). Your config is kind of strange, as you would normally not enable libintl if your toolchain has locale support.
May I ask why you are not simply using the busybox sed applet instead? Most buildroot users do, so that one sees a lot more testing (not that the big sed shouldn't work)

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#6 lore raw

[Buildroot] [Bug 525] sed can't find libintl

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=525

--- Comment #6 from Daniele Salvatore Albano <[email protected]> 2009-08-02 20:53:36 UTC --- I'd prefer to don't use busybox because i'm building an generic appliance root for non embed machines: i need some stuff that busybox can't supply so, to use it, i should mix too much busybox with non-busybox stuff so i'd preferred to don't use it at all.

Libintl is selected for dependency, if i don't remember bad, but i cannot check now, i've shutdown my compile station, i'll check tommorrow.

I'm using an external toolchain, based on glibc 2.9 and kernel 2.6.29.4, to do the build, can this be the problem? I'm using crosstool-ng to build the toolchain.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#7 lore raw

[Buildroot] [Bug 525] sed can't find libintl

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=525

--- Comment #7 from Ulf Samuelsson <[email protected]> 2009-08-03 09:14:28 UTC ---

"<STAGING_DIR>/usr/include/libintl.h" should come from gettext, but "package/gettext/gettext.mk" deletes libintl.h
as part of postprocessing the install.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#8 lore raw

[Buildroot] [Bug 525] sed can't find libintl

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=525

--- Comment #8 from Daniele Salvatore Albano <[email protected]> 2009-08-03 09:59:11 UTC --- The problem is related to libintl.so, not to libintl.h

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#10 lore raw

[Buildroot] [Bug 525] sed can't find libintl

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=525

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #10 from Thomas Petazzoni <[email protected]> 2009-08-04 21:58:21 UTC --- Fixed by
http://git.buildroot.net/buildroot/commit/?id=6ce736a58c8973ceba56bc95f11118b7c1351f11

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.