libnl.so.2.0: cannot open shared object file: No such file or directory upon start
Cengiz Günay
cengique
Fri Mar 13 10:38:19 PDT 2009
For people who try to use the LIBNL >= 2.0, it would be very nice to apply
this patch in to the hostapd/defconfig file:
# git diff defconfig
diff --git a/hostapd/defconfig b/hostapd/defconfig
index 2591e71..0b75f78 100644
--- a/hostapd/defconfig
+++ b/hostapd/defconfig
@@ -30,6 +30,8 @@ CONFIG_DRIVER_HOSTAP=y
#LIBNL=/usr/src/libnl
#CFLAGS += -I$(LIBNL)/include
#LIBS += -L$(LIBNL)/lib
+# If you have libnl version >= 2.0 then also enable the following:
+#CONFIG_LIBNL20=y
# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
#CONFIG_DRIVER_BSD=y
--
-Cengiz
On Mon, Mar 9, 2009 at 5:14 AM, Jouni Malinen <j at w1.fi> wrote:
> On Mon, Mar 09, 2009 at 01:10:14PM +0500, ???? ?????? wrote:
>
> > >crystal at Crystal:~/OperaDownloads/hostapd-0.6.8/hostapd$
> /usr/local/bin/hostapd -ddB /etc/hostapd/hostapd.conf
> > >Configuration file: /etc/hostapd/hostapd.conf
>
> > >ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not permitted
> > >Could not enable hostapd mode for interface wlan0
> > >hostap driver initialization failed.
>
> > Why the hell it thinks I have Prism??
>
> Because you have not told hostapd to use nl80211 driver (driver=nl80211
> in hostapd.conf) and have included Host AP driver support in the build
> and that probably ended up being the default.
>
> --
> Jouni Malinen PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
--
Cengiz Gunay
--
Postdoctoral Fellow
Prinz Lab, Dept. of Biology, Emory University
1510 Clifton Rd., Room 2172, Atlanta, GA 30322, U.S.A.
cgunay at emory.edu cengique at users.sf.net cengique at yahoo.com
Lab: +1-404-727-9381 Home/Cell: +1-678-559-8694
http://userwww.service.emory.edu/~cgunay
ICQ# 21104923, cengique@{jabber.org,Skype}
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20090313/20708973/attachment.htm
More information about the Hostap
mailing list