Opened 8 years ago

Closed 6 years ago

Last modified 4 years ago

#6490 closed defect (obsolete)

mklibs-progs: Cannot find lib:

Reported by: Ferenc Wágner <wferi@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:


Even after fixing ping as suggested in #6489, rootfs-prepare still fails for me:

/home/wferi/wap54g/openwrt/staging_dir/host/bin/ -D -d /home/wferi/wap54g/openwrt/tmp/mklibs-out --sysroot /home/wferi/wap54g/openwrt/staging_dir/target-mipsel_uClibc- -L /lib -L /usr/lib --ldlib /lib/ --target mipsel-openwrt-linux-uclibc `cat /home/wferi/wap54g/openwrt/tmp/mklibs-progs` 2>&1
I: Using /home/wferi/wap54g/openwrt/staging_dir/target-mipsel_uClibc- as dynamic linker.
warning: /home/wferi/wap54g/openwrt/staging_dir/target-mipsel_uClibc- may need rpath, but --root not specified
I: library reduction pass 1
431 symbols, 6 unresolved
/home/wferi/wap54g/openwrt/staging_dir/host/bin/ DeprecationWarning: raising a string exception is deprecated
  raise "Cannot find lib: " + obj
Traceback (most recent call last):
  File "/home/wferi/wap54g/openwrt/staging_dir/host/bin/", line 512, in <module>
    header = elf_header(find_lib(libraries.copy().pop()))
  File "/home/wferi/wap54g/openwrt/staging_dir/host/bin/", line 88, in elf_header
    raise "Cannot find lib: " + obj
Cannot find lib: 
make[2]: *** [package/rootfs-prepare] Error 1
make[2]: Leaving directory `/home/wferi/wap54g/openwrt'
make[1]: *** [/home/wferi/wap54g/openwrt/staging_dir/target-mipsel_uClibc-] Error 2
make[1]: Leaving directory `/home/wferi/wap54g/openwrt'
make: *** [world] Error 2

I couldn't really dig into this, ideas very much appreciated...

Attachments (1)

.config (45.2 KB) - added by Ferenc Wágner <wferi@…> 8 years ago.
the failing .config

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by Ferenc Wágner <wferi@…>

the failing .config

comment:1 Changed 8 years ago by Ferenc Wágner <wferi@…>

Adding --root / to the options in package/Makefile fixes this issue. But I don't fully understand this rpath business, so maybe it's stupid.

comment:2 Changed 6 years ago by nbd

  • Resolution set to obsolete
  • Status changed from new to closed

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.