Opened 7 years ago

Closed 3 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


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" I can see that inside "/boot/system/lib" there are present "" and "", and if i link as (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, (linked from is present under /system/lib

Change History (6)

comment:1 by bonefish, 7 years ago

There should never have been a "" 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".

comment:2 by diver, 7 years ago

Interestingly, vlc starts ok here (hrev46303) even though there's still no and vlc-0.8.6d/plugins/ (the only plugin) is linked to it.

comment:3 by ronny, 7 years ago

VLC version 0.8.6i isn´t working. Older versions work on Haiku.

comment:4 by pulkomandy, 6 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 Giova84, 3 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 pulkomandy, 3 years ago

Resolution: no change required
Status: newclosed

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.

Note: See TracTickets for help on using tickets.