<OscarL>
Hey Begasus[m]. re: VLC... is that the full output of readelf? if so... it also doesn't shows many of the other libs mentioned in the vlc recipe, so maybe they are linked not to the executable, but to libvlc.so / libvlccore.so ?
<OscarL>
Might be better in such cases to use lddtree instead of plain readelf.
<OscarL>
(as lddtree will show linked libraries for linked libraries, and so on)
<OscarL>
I don't use nor have vlc installed... so maybe it has some plugins/modules that it loads at runtime (those would also not show up in either readelf nor lddtree)
<Begasus[m]>
Hola OscarL that was the most important on the binary yes
<Begasus[m]>
so yes, it's burried somewhere there :)
<OscarL>
aha! well. some thing DOES links to it at least, then :-)
<Begasus[m]>
this thing could be handy :)
<Begasus[m]>
thanks!
<OscarL>
No problem :-D
<Begasus[m]>
haikuporter warns/errors on missing dependencies, but not if they are burried down in those subdirectories
<Begasus[m]>
can't you add this somehow in haikuporter tool OscarL ?
<OscarL>
I think it would only make sense as a "function/scriptlet" that one could call from inside the ".recipe"... like: "please HP, check this dir too for .so deps".
<OscarL>
perhaps as a variable instead of a "function" call.... like "HP_EXTRA_LIBS_DIR_TO_CHECK=foo/bar/addons/"
<Begasus[m]>
food to think about :)
<Begasus[m]>
we already got some false positives, don't want to add more to the list also
<OscarL>
one could say that right now we're getting false negatives.
<Begasus[m]>
depends on how you define it I guess :P
<Begasus[m]>
noting provides libfoo for ...
<Begasus[m]>
or libfoo_a requires libfoo_b but isn't defined (something like that)
<OscarL>
re: false positives/negatives.... that's why I think that explicitly asking hp (by call or $VARIABLE) to check some extra dirs when you need it, doesn't sounds too bad.
<OscarL>
will try to rember to add it to the ToDo list... if I can find it (instead of creating yet another one that I'll quickly forget about :-P)
<Begasus[m]>
lol
<Begasus[m]>
know the feeling :)
<OscarL>
re: libupnp... remains to be seen if it doesn't loads, or it simply doesn't works well enough in Haiku.
<Begasus[m]>
I know I had issues with both those libraries (forgot the name of the other one), in some cases it was adviced to use one of them and not the other
<Begasus[m]>
libnpupnp
erysdren has joined #haiku
<OscarL>
added an "edit" in my reply to m-aito (mentioning that the lib IS linked).
<Begasus[m]>
+1
<Begasus[m]>
if that function would list the actual plugin that would be nice too :)
<Begasus[m]>
time for doggies, biab
<OscarL>
I think I have a similar one that does prints the names, eh (but uses a for loop, not xargs)
<Begasus[m]>
I know it's possible to search for libraries that use a specific one, had some talks about that with fbrosson back then iirc, just forgot how :)
<OscarL>
list_required_libs2 <path to dir you want to check>
<OscarL>
(can replace "for i" with "for lib" and remove the superfluous "lib = $i"... I just did a quick masshup of other functions I had lying around)