Opened 11 years ago
Closed 8 years ago
#10015 closed bug (no change required)
[Haiku PM] VLC doesn't work (missing library)
Reported by: | Giova84 | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications | Version: | R1/Package Management |
Keywords: | Haiku PM VLC doesn't work missing library | Cc: | |
Blocked By: | Blocking: | ||
Platform: | x86 |
Description
I have downloaded VLC from Haiku Optional Packages website
When i attempt to start VLC on Haiku PM, i get the following error: "Missing library libz.so" I can see that inside "/boot/system/lib" there are present "libz.so.1.2.8" and "libz.so.1", and if i link libz.so.1.2.8 as libz.so (but inside a lib folder under the VLC installation directory, since "/system/lib" is read-only) i am able to properly run VLC.
In the regular branch of Haiku, libz.so (linked from libz.so.1.2.7) is present under /system/lib
Change History (6)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Interestingly, vlc starts ok here (hrev46303) even though there's still no libz.so
and vlc-0.8.6d/plugins/libxml_plugin.so
(the only plugin) is linked to it.
comment:4 by , 10 years ago
Should we do something about this? I think creating a "lib" folder next to the executable and adding a symlink there for the lib works well enough. Moreover, the applications can be rebuilt anyway.
comment:5 by , 8 years ago
This ticket can be closed: in the meantime, VLC (although it works poorly since an ancient version "0.8.6i") no longer presents this error on Haiku.
comment:6 by , 8 years ago
Resolution: | → no change required |
---|---|
Status: | new → closed |
Yes, rebuilding the app was enough and there weren't this many other things linking to libz, so we can save ourselves the workaround/hack to get them working.
There should never have been a "libz.so" without soname in the first place. By outsourcing libz this has been remedied. We could probably add a respective symlink to the gcc 2 zlib package for the time being.
As a work-around you can create the symlink in "/boot/home/config/non-packaged/lib".