<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
---------- LOADING LIBRARY /usr/local/lib/olsrd_httpinfo.so.0.1
----------<br>
DL loading failed: "File not found"!<br>
-- PLUGIN LOADING FAILED! --<br>
<br>
It's the good path, I double check.<br>
<br>
I also tryed to copy the plugin in the same directory
"/usr/local/sbin" and still have the not found error :<br>
---------- LOADING LIBRARY olsrd_httpinfo.so.0.1 ----------<br>
DL loading failed: "File not found"!<br>
-- PLUGIN LOADING FAILED! --<br>
<br>
After, I try something else, on openwrt with olsrd 0.6.1, rename
olsrd_httpinfo.so.0.1 to a something else and create a empty file
with touch<br>
touch /usr/lib/olsrd_httpinfo.so.0.1<br>
after I restarted olsrd and I get this message :<br>
Warning: Plugin library 'olsrd_httpinfo.so.0.1' not found, skipped<br>
<br>
At first, I thinked that if the plugin file is not a valid file,
olsrd will report that the file is not found instead of invalid. But
nat not true, that because it don't have the good file right, it
can't be execute so I try to give it execute right (chmod +x) and
now I have this error : olsrd: '/usr/lib/olsrd_httpinfo.so.0.1' is
not an ELF file<br>
<br>
Look back at my olsrd_httpinfo.so.0.1 on the OpenBSD :<br>
-rwxr-xr-x 1 root wheel 58392 Aug 8 09:59
olsrd_httpinfo.so.0.1<br>
<br>
but lot of other library are in the group "bin" instead of "wheel"<br>
chown root:bin olsrd_httpinfo.so.0.1<br>
<br>
and olsrd now start fine ... or look like it start fine I can't see
it with 'ps aux' when I try to load the library but start fine
without it.<br>
<br>
Will continue to work on this and keep the list informed if I found
something else. I will also try with txtinfo because I suppect that
httpinfo is not compatible with OpenBSD. From README_HTTPINFO in the
lib directory of olsrd 0.6.0 source :<br>
<br>
The plugin should now compile on windows and FreeBSD<br>
as well.<br>
To compile in windows:<br>
make OS=win32<br>
to compile in FreeBSD:<br>
gmake OS=fbsd<br>
<br>
I already tryed to build it with "gmake OS=fbsd" and "gmake =obsd"
(tryed obsd just in case) before "make" without succes.<br>
<br>
Michel<br>
<br>
Le 2011-08-08 13:03, Markus Kittenberger a écrit :
<blockquote
cite="mid:CAKNLPNK4Qv_icHMgC8jjSBzZNBO9D4PC1AB8UP0Fz5Tb8EphTQ@mail.gmail.com"
type="cite">as i'm no bsd user, i don`t know.
<div><br>
</div>
<div>but (as a workaround) afair same directory as olsrd should
work, or specify the full path in configfile.</div>
<div><br>
</div>
<div>Markus<br>
<br>
<div class="gmail_quote">
On Mon, Aug 8, 2011 at 4:10 PM, Michel Blais <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:michel@targointernet.com">michel@targointernet.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Hi,<br>
<br>
I'm trying OLSRd on OpenBSD and it work fine via pkg_add or
port but I have problem with the plugin.<br>
<br>
I'm always having this error :<br>
<br>
---------- LOADING LIBRARY olsrd_httpinfo.so.0.1 ----------<br>
DL loading failed: "File not found"!<br>
-- PLUGIN LOADING FAILED! --<br>
<br>
I looked at FreeBSD plugin location and the're in
/usr/local/lib so I was thinking the will be on the same dir
in OpenBSD.<br>
<br>
I tryed to copy /usr/ports/pobj/olsrd-0.6.0/olsrd-0.6.0/lib/httpinfo/olsrd_httpinfo.so.0.1
in /usr/local/lib/ with the same message. I also tryed to
copy /usr/ports/pobj/olsrd-0.6.0/fake-amd64/usr/local/lib/olsrd-plugins/olsrd_httpinfo.so
(and rename it at the same time for olsrd_httpinfo.so.0.1)
to /usr/local/lib with the same result. Always "File not
found"!<br>
<br>
Somebody know where OLSRd on OpenBSD expect plugin to be ?<br>
<br>
Thanks.<br>
<br>
Michel<br>
<font color="#888888">
<br>
-- <br>
Olsr-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.org</a><br>
<a moz-do-not-send="true"
href="https://lists.olsr.org/mailman/listinfo/olsr-users"
target="_blank">https://lists.olsr.org/mailman/listinfo/olsr-users</a><br>
</font></blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Michel Blais
Administrateur réseau / Network administrator
Targo Communications
<a class="moz-txt-link-abbreviated" href="http://www.targo.ca">www.targo.ca</a>
514-448-0773
</pre>
</body>
</html>