Skip to contentSkip to conversation

New: Library 'libgcc_s.so.1' not installed in search path

Buildroot bugzilla at busybox.net 1 participant 4 messages Apr 13, 2009 – Jul 17, 2009

lore
Share & tools
lore
#0 lore raw

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

Target: x86-64
Build: buildroot-20090412
Summary: Library 'libgcc_s.so.1' not installed in search path
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: info at je-eigen-domein.nl
CC: buildroot at uclibc.org
Estimated Hours: 0.0

When booting the target system created by buildroot, I get a lot of "can't load library 'libgcc_s.so.1'" messages.

The library exists in the folder /usr/lib64, but it seems that folder is not in the default ld search path.
System works fine after copying the library to /lib

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 271] Library 'libgcc_s.so.1' not installed in search path

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

--- Comment #1 from Thomas Petazzoni <[email protected]> 2009-04-28 22:07:18 UTC --- Can you send a simple .config reproducing the issue ?

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 271] Library 'libgcc_s.so.1' not installed in search path

In reply to bugzilla at busybox.net

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

--- Comment #2 from Floris Bos <[email protected]> 2009-04-29 18:57:11 UTC --- Created an attachment (id=283)
--> (https://bugs.busybox.net/attachment.cgi?id=283)
.config

.config file.
Defaults with architecture changed to x86_64, and dropbear selected.

In the newest buildroot-20090429 snapshot, is not even installed in the root either, but only appears in the staging dir.

==
[max at myhost buildroot]$ find project_build_x86_64/uclibc/root |grep libgcc_s [max at myhost buildroot]$ find build_x86_64/staging_dir |grep libgcc_s build_x86_64/staging_dir/usr/x86_64-linux-uclibc/lib64/libgcc_s.so build_x86_64/staging_dir/usr/x86_64-linux-uclibc/lib64/libgcc_s.so.1 ==

Dropbear (and most other packages, other than busybox), fails to start. Unless you copy the file manually or disable "shared libgcc" in the config.

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 271] Library 'libgcc_s.so.1' not installed in search path

In reply to bugzilla at busybox.net

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

Thomas Petazzoni <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Thomas Petazzoni <[email protected]> 2009-07-17 09:19:20 UTC --- Quite probably fixed by

commit 90c5d156f5414225be756a3e3bff7bb4b532bdf4

Author: Peter Korsgaard <[email protected]>
Date:   Thu Jul 2 09:38:56 2009 +0200

toolchain/gcc: ensure libraries are copied to target_dir for x86-64

x86-64 stores libgcc_s / libstdc++ / libgcj under lib64 instead of lib, so make sure that directory is searched as well for libraries to copy to target.

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.