Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80138 - >=net-wireless/wireless-tools-27 depends on libiw.so.25?
Summary: >=net-wireless/wireless-tools-27 depends on libiw.so.25?
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-30 15:23 UTC by Andre David
Modified: 2005-05-23 01:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info output (einfo,3.59 KB, text/plain)
2005-01-31 01:03 UTC, Andre David
Details
emerge wireless-tools output (wtools.log,9.42 KB, text/plain)
2005-02-15 10:20 UTC, Andre David
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andre David 2005-01-30 15:23:58 UTC
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.
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2005-01-30 18:55:41 UTC
Can you please report the output of "emerge info"? Thanks.
Comment 2 Andre David 2005-01-31 01:03:33 UTC
Created attachment 50033 [details]
emerge info output

As per request.
Comment 3 Henrik Brix Andersen 2005-01-31 01:17:20 UTC
Please see if you can reproduce the problem with distcc disabled and MAKEOPTS="-j1".
Comment 4 Andre David 2005-01-31 03:25:45 UTC
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.
Comment 5 Andre David 2005-01-31 03:43:07 UTC
Well... Even if ldconfig is running, I have distcc configured to use the localhost only and reemerged with MAKEOPTIONS="-j1": same thing *shrug*
Comment 6 Henrik Brix Andersen 2005-02-06 13:34:47 UTC
Please post the complete output from 'emerge wireless-tools'. The ldconfig error message is non-critical.
Comment 7 Andre David 2005-02-15 10:20:47 UTC
Created attachment 51286 [details]
emerge wireless-tools output

emerge wireless-tools output
Comment 8 Henrik Brix Andersen 2005-05-21 14:27:29 UTC
Reopening. Reporter, is this still an issue?
Comment 9 Andre David 2005-05-23 00:25:07 UTC
I can confirm that the behavior is still the same.
(I am wondering how this bug was closed...)
Comment 10 Andre David 2005-05-23 00:29:48 UTC
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 !"
Comment 11 Andre David 2005-05-23 00:56:28 UTC
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.
Comment 12 Henrik Brix Andersen 2005-05-23 01:02:47 UTC
Ahh, that would explain it. Thank you for closing.