src build './configure' fails to "determine soname" of existing libbluray.so?
#1
Question 
i'm working on building xbmc from git src on 64-bit linux.

ensuring libbluray prereq,

Code:
which pkg-config
    /usr/bin/pkg-config
pkg-config --libs libbluray
    -L/usr/local/lib -lbluray
ls -al /usr/local/lib/*blu*
    -rw-r--r-- 1 root root 1350210 May 17 17:25 /usr/local/lib/libbluray.a
    -rwxr-xr-x 1 root root     974 May 17 17:25 /usr/local/lib/libbluray.la
    lrwxrwxrwx 1 root root      18 May 17 17:25 /usr/local/lib/libbluray.so -> libbluray.so.0.0.0
    lrwxrwxrwx 1 root root      18 May 17 17:25 /usr/local/lib/libbluray.so.0 -> libbluray.so.0.0.0
    -rwxr-xr-x 1 root root  862984 May 17 17:25 /usr/local/lib/libbluray.so.0.0.0
gcc -print-file-name=libbluray.so
    libbluray.so

a bootstrap & config,

Code:
setenv CFLAGS "-I/usr/lib64/dbus-1.0/include -I/usr/lib64/glib-2.0/include"
./bootstrap
./configure \
--prefix=/usr/local/xbmc \
--enable-mid \
--disable-debug \
--disable-pulse \
--enable-libbluray \
--with-lirc-device=/dev/lirc0

fails at,

Code:
...
checking for CURL... yes
checking for LIBBLURAY... yes
checking for libbluray soname... no
configure: error: Unable to determine soname of libbluray library

i took a look in ./configure, but the libbluray checks are a bit thick ...

what needs to be done to get the clearly existing libbluray.so found/recognized by configure?
Reply
#2
Well, I build from git and I have all my s#!t in /usr rather than /usr/local on my system. I use prefix=/usr but I notice you have used prefix=/usr/local/xbmc.....

I could be way off base here, but have you tried prefix=/usr/local instead?

Regards,

Jim
Reply
#3
I found it easier to just have it installed via PPA - I built my x64 from git on Natty and working a dream.

Try adding: add-apt-repository ppa:mario-sitz/ppa

Has pre-built libbluray and haven't had a problem with it.
Reply
#4
Question 
Jimmer Wrote:have you tried prefix=/usr/local instead?

yep. i've tried install into /usr, /usr/local/ & /usr/local/xbmc. all have the same soname issues.

iiuc, with pkg-config detection, it shouldn't matter Undecided
Reply
#5
it's looking for the real .so name ie. libbluray.so.0.0.0. pkg-config will not give that. only the linker knows it.

Our XB_FIND_SONAME check in configure will not see into /usr/local. You have to build/install into /usr

It's useless to look at configure for why things fail, look at config.log. That tells the real story.
Reply
#6
davilla Wrote:it's looking for the real .so name ie. libbluray.so.0.0.0. pkg-config will not give that. only the linker knows it.

Then shouldn't setting,

setenv LDFLAGS "-L/usr/local/lib"

'inform' the linker about the target path? Here, it makes no difference -- I get the same soname error.

I'm just trying to understand why it's necessary to be forced to install anything in a particular location -- especially /usr which I'd rather not touch -- and not have the ability to set/define *FLAGS to point to 'other places'.

what, if anything, am I missing/misunderstanding here?

thanks.
Reply

Logout Mark Read Team Forum Stats Members Help
src build './configure' fails to "determine soname" of existing libbluray.so?0