Opened 14 years ago

Closed 14 years ago

#1779 closed defect (invalid)

Libbluray libraries not configured properly

Reported by: fijjig@… Owned by: diego@…
Priority: normal Component: build system
Version: HEAD Severity: normal
Keywords: Cc: fijjig@…
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

libbluray is a library that enables reading a Blu-ray disc. Support of the library has recently been added to mplayer. I decided to test this support and had a problem when using a freshly compiled mplayer (2010-08-29 svn export snapshot).

Steps to reproduce (Ubuntu 10.04):
1) Get snapshot of libbluray (from git.videolan.org)
2) Get snapshot of mplayer (mine was 2010-08-29 svn export)
3) "./bootstrap", "./configure", "make", & "sudo make install" libbluray
3a) this installs libbluray to /usr/local/lib/
4) "./configure", "make", "sudo make install" mplayer
4a) this installs mplayer
5) No errors occurred during these installations
6) Try to start mplayer
6a) ~$ mplayer
7) Get error "mplayer: error while loading shared libraries: libbluray.so.0: cannot open shared object file: No such file or directory"

Workaround:
1) Create links for all libbluray files in /usr/local/lib/
2) Place links in /usr/lib/
3) Try to start mplayer
3a) ~$ mplayer
4) No errors, libbluray loads correctly

libbluray developer site:
http://www.videolan.org/developers/libbluray.html

libbluray discussion on mplayer dev mailing list:
http://lists-archives.org/mplayer-dev-eng/31333-bluray-support-through-libbluray.html

Questions:
1) Why is mplayer recognizing libbluray during pre-build configuration, but not when it runs?
2) Does mplayer normally look in /usr/local/lib/ for configured libraries?

Change History (2)

comment:1 by fijjig@…, 14 years ago

Cc: fijjig@… added

comment:2 by diego@…, 14 years ago

Resolution: invalid
Status: newclosed

Your system is not correctly set up to handle self-compiled libraries. Read up on ldconfig and how to make the runtime linker look for libs in /usr/local.

Note: See TracTickets for help on using tickets.