After *successfully* emerging wireless-tools 27 (and 28_pre4), I get # iwconfig iwconfig: error while loading shared libraries: libiw.so.25: cannot open shared object file: No such file or directory Doing ln -s /usr/lib/libiw.so.2x /usr/lib/libiw.so.25 (x={7,8}) partly solves the problem. All seems to work, except that I get a Segmentation fault at the end of running an iw* tool. Reproducible: Always Steps to Reproduce: - Actual Results: - Expected Results: - I have this problem with gentoo-dev-sources-2.6.7 and development-sources-2.6.10.
Can you please report the output of "emerge info"? Thanks.
Created attachment 50033 [details] emerge info output As per request.
Please see if you can reproduce the problem with distcc disabled and MAKEOPTS="-j1".
Hi, while reemerging, I just noticed *** Don't forget to add /var/tmp/portage/wireless-tools-27/image//usr/lib/ to /etc/ld.so.conf, and run ldconfig as root. *** #@ldconfig || echo "*** Could not run ldconfig ! ***" in >>> Install wireless-tools-27 into /var/tmp/portage/wireless-tools-27/image/ category net-wireless install -m 755 -d /var/tmp/portage/wireless-tools-27/image//usr/lib/ install -m 755 libiw.so.27 /var/tmp/portage/wireless-tools-27/image//usr/lib/ ln -sfn libiw.so.27 /var/tmp/portage/wireless-tools-27/image//usr/lib//libiw.so *** Don't forget to add /var/tmp/portage/wireless-tools-27/image//usr/lib/ to /etc/ld.so.conf, and run ldconfig as root. *** #@ldconfig || echo "*** Could not run ldconfig ! ***" install -m 755 -d /var/tmp/portage/wireless-tools-27/image//usr/sbin/ install -m 755 iwconfig iwlist iwpriv iwspy iwgetid iwevent ifrename /var/tmp/portage/wireless-tools-27/image//usr/sbin/ install -m 755 -d /var/tmp/portage/wireless-tools-27/image//usr/include/ install -m 644 iwlib.h /var/tmp/portage/wireless-tools-27/image//usr/include/ install -m 644 wireless.h /var/tmp/portage/wireless-tools-27/image//usr/include/ Could my path be screwed up? I really think this is cause.
Well... Even if ldconfig is running, I have distcc configured to use the localhost only and reemerged with MAKEOPTIONS="-j1": same thing *shrug*
Please post the complete output from 'emerge wireless-tools'. The ldconfig error message is non-critical.
Created attachment 51286 [details] emerge wireless-tools output emerge wireless-tools output
Reopening. Reporter, is this still an issue?
I can confirm that the behavior is still the same. (I am wondering how this bug was closed...)
BTW, the same happens with 28_pre6 and 26-r1. For 26-r1, I of course get iwlib.c:45:2: warning: #warning "Wireless Extension later than v16 detected," iwlib.c:46:2: warning: #warning "Maybe you should get a more recent version" iwlib.c:47:2: warning: #warning "of the Wireless Tools package !"
Hi again, Saga finished! Apparently I had some v25 binaries under /sbin, while the new versions are installed under /usr/sbin. Of course /sbin has priority (at least when as root) Removed the /sbin/iw* refreshed bash's stuff and voila! Thanks for all the time anyway.
Ahh, that would explain it. Thank you for closing.