LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-19-2014, 10:55 PM   #1
evocarz
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Rep: Reputation: 0
cant start wpa_supplicant missing libnl3


hi, im trying to set up my wlan connection, but when i try to start wpa_supplicant, it keeps tellling me that "error while loading shared libraries:libnl-3.so.200: cannot open shared object file: No such file or directory"


Code:
locate libnl-3
/usr/doc/libnl-3.2.21
/usr/doc/libnl-3.2.21/COPYING
/usr/doc/libnl-3.2.21/ChangeLog
/usr/lib/libnl-3.la
/usr/lib/libnl-3.so.200
/usr/lib/libnl-3.so
/usr/lib/pkgconfig/libnl-3.0.pc
/usr/lib/libnl-3.so.200.16.1

i have tried to reinstall both , libnl3 and wpa_supplicant , updatedb, but it keeps giving me the same error.

Thank you.
 
Old 09-20-2014, 03:22 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Can you tell us what distro you're using. For example I'm using Debian Jessie and libnl-3.so.200 is found here:
/lib/x86_64-linux-gnu/libnl-3.so.200
The package name is: libnl-3-200
The version is: 3.2.24-2
jdk
 
Old 09-20-2014, 03:38 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,735

Rep: Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317
Looks like you are just missing a link.

This example is libnl3-200-3.2.25-1.2.x86_64, /usr/lib64/ :
Code:
libnl3-200/                libnl-idiag-3.so.200@
libnl-3.so.200@            libnl-idiag-3.so.200.20.0*
libnl-3.so.200.20.0*       libnl-nf-3.so.200@
libnl-cli-3.so.200@        libnl-nf-3.so.200.20.0*
libnl-cli-3.so.200.20.0*   libnl-route-3.so.200@
libnl-genl-3.so.200@       libnl-route-3.so.200.20.0*
libnl-genl-3.so.200.20.0*
http://download.polytechnic.edu.na/p...s/suse/x86_64/

-
 
Old 09-21-2014, 04:02 AM   #4
evocarz
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Im using slackware 14.1 64bits . Where should i link it?
 
Old 09-21-2014, 04:17 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,735

Rep: Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317
Code:
$ cd /usr/lib64/ 
# ln -s libnl-3.so.200.20.0 libnl-3.so.200
 
Old 09-21-2014, 07:20 PM   #6
evocarz
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Original Poster
Rep: Reputation: 0
i checked my /usr/lib64 folder and there wasnt any libnl3 files , so i linked my libnl-3.so.200 file from /usr/lib to /usr/lib64, but now when i try to start wpa_supplicant it says "erro while loading shared libraries:libnl-3.so.200 wrong ELF class:ELFCLASS32"
 
Old 09-21-2014, 07:27 PM   #7
evocarz
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Original Poster
Rep: Reputation: 0
thank you for your support , i just solved the problem, it seems that, i dont know why it installed libnl3 32bits version by default because i didnt touch anything related to libs at all from clean install , i just checked the packages from var/log/packages and the version was i486 , uninstalling it and installing a 64bits version solved the problem.
 
  


Reply

Tags
wpa_supplicant


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wpa_supplicant not starting on boot, need to manually start wireless feurry Slackware 15 07-18-2014 07:11 AM
How start new WPA device from code using any wpa_supplicant interface Aefr123 Linux - Wireless Networking 1 08-09-2012 05:25 AM
How to start learn Wpa_supplicant and the architecture Crily Linux - Networking 4 08-15-2010 09:10 PM
Start wpa_supplicant before hostapd daghenningsorbo Linux - Networking 1 03-13-2009 07:49 PM
SuSE wpa_supplicant auto start blackcat_73 Linux - Wireless Networking 0 11-10-2006 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration