Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-devel] Missing library libgcc_s.so.1 when using hciattach etc.
@ 2005-04-13 18:25 Martin Rolsted Jensen
  2005-04-13 19:30 ` Dimitry Andric
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Rolsted Jensen @ 2005-04-13 18:25 UTC (permalink / raw)
  To: bluez-devel

Hello everybody!

I am trying to implement a UART bluetooth module on my Triton (PXA255) 
board.
I have compiled the necessary files in Scratchbox and made a new file 
system.
When I try to execute for example hciattach then I got the message:

root@triton1:/usr/sbin# hciattach
hciattach: error while loading shared libraries: libgcc_s.so.1: cannot open 
shared object file:
No such file or directory
root@triton1:/usr/sbin# ldd hciattach
   libbluetooth.so.1 => /usr/lib/libbluetooth.so.1 (0x40020000)
   libc.so.6 => /lib/libc.so.6 (0x40035000)
   /lib/ld-linux.so.2 => /lib/ld-linux.so.1 (0x40000000)
   libgcc_s.so.1 => not found

I have searched with the find command and there is no such library file in 
the file system.
Is it possible to naively include it in my file system, for example in /lib 
or /usr/lib?
If so, were can I find that missing library.

Best Regards

Martin Rolsted Jensen




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-devel] Missing library libgcc_s.so.1 when using hciattach etc.
  2005-04-13 18:25 [Bluez-devel] Missing library libgcc_s.so.1 when using hciattach etc Martin Rolsted Jensen
@ 2005-04-13 19:30 ` Dimitry Andric
  0 siblings, 0 replies; 2+ messages in thread
From: Dimitry Andric @ 2005-04-13 19:30 UTC (permalink / raw)
  To: Martin Rolsted Jensen; +Cc: bluez-devel

[-- Attachment #1: Type: text/plain, Size: 595 bytes --]

On 2005-04-13 at 20:25:36 Martin Rolsted Jensen wrote:

> root@triton1:/usr/sbin# hciattach
> hciattach: error while loading shared libraries: libgcc_s.so.1: cannot open
> shared object file:
> No such file or directory

This is normal when you are using shared libraries; most of them need
the shared libgcc library, libgcc_s.so.  You should be able to find it
in your toolchain directory.  For example, if you have arm-linux-gcc,
it should be somewhere in $toolchain_dir/arm-linux/lib.

You should add it to your embedded filesystem, and don't forget to run
ldconfig afterwards!

[-- Attachment #2: Type: application/pgp-signature, Size: 183 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-13 19:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-13 18:25 [Bluez-devel] Missing library libgcc_s.so.1 when using hciattach etc Martin Rolsted Jensen
2005-04-13 19:30 ` Dimitry Andric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox