WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: librt and libpthread  (Read 4562 times)

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
librt and libpthread
« on: October 30, 2012, 07:10:17 AM »
does someone know how to tidy these up? I seem to lack the right .so files.

my actual problem is that libboost wants to use libpthread dynamically if I understand correctly.

I played around and linked these .so files from /lib/arm-linux-gnueabihf/ to /lib/ and now I get:

/usr/local/lib/libboost_thread.so: undefined reference to `_dl_wait_lookup_done'
« Last Edit: October 30, 2012, 08:30:16 AM by hiro »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: librt and libpthread
« Reply #1 on: October 30, 2012, 08:54:28 AM »
This is a bug in the dev environment, you can't build threading applications. I will fix it when get some time. Solution is to compile in Raspbian. Most probably executable will work in piCore.

Please note, it is an early test version, expected to have bugs like this. Apps with no threading can be build safely in piCore however.
« Last Edit: October 30, 2012, 08:57:46 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: librt and libpthread
« Reply #2 on: October 31, 2012, 02:45:20 PM »
This is a bug in the dev environment, you can't build threading applications. I will fix it when get some time.

Problem fixed, threading apps now compile in piCore. Update will be submitted.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: librt and libpthread
« Reply #3 on: November 28, 2012, 07:10:45 PM »
Fixed in 4.7.1
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."