Missing Library SLV2: Strange fault...


i just did a new Checkout of 2.8 from svn. Previously, i also checked out the drobilla trunk and compiled the slv2 library.

When compiling Ardour by the following script:

export PKG_CONFIG_PATH=/home/beowulf/Ext_Progs/drobilla/bin/lib/pkgconfig/:$PKG_CONFIG_PATH &&
export LD_LIBRARY_PATH=/home/beowulf/Ext_Progs/drobilla/bin/lib/:$LD_LIBRARY_PATH &&
export PATH=/home/beowulf/Ext_Progs/drobilla/bin/bin/:$PATH &&
scons -j4 &&
scons -j4 install

i got the following Error:

beowulf@core2quad:~/Ext_Progs/Ardour/AktArdour/2.0-ongoing$ time …/compileInstall
scons: Reading SConscript files …

scons: warning: The Options class is deprecated; use the Variables class instead.
File “/home/beowulf/Ext_Progs/Ardour/AktArdour/2.0-ongoing/SConstruct”, line 32, in

scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File “/home/beowulf/Ext_Progs/Ardour/AktArdour/2.0-ongoing/SConstruct”, line 36, in

scons: warning: The PathOption() function is deprecated; use the PathVariable() function instead.
File “/home/beowulf/Ext_Progs/Ardour/AktArdour/2.0-ongoing/SConstruct”, line 42, in

scons: warning: The EnumOption() function is deprecated; use the EnumVariable() function instead.
File “/home/beowulf/Ext_Progs/Ardour/AktArdour/2.0-ongoing/SConstruct”, line 43, in
Checking for pkg-config version >= 0.8.0… (cached) yes
Checking for gthread-2.0… (cached) yes
Checking for lrdf… (cached) yes
Checking for libgnomecanvas-2.0… (cached) yes
Checking for gtk±2.0… (cached) yes
Checking for jack… (cached) yes
Checking for samplerate… (cached) yes
Checking for glib-2.0… (cached) yes
Checking for libxml-2.0… (cached) yes
Checking for raptor… (cached) yes
Checking for fftw3f…(cached) yes
Checking for fftw3…(cached) yes
Checking for aubio…(cached) yes
Checking for C header file fftw3.h… (cached) yes
Checking for C header file curl/curl.h… (cached) yes
Checking for slv2… yes
Package slv2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `slv2.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘slv2’ found
OSError: ‘pkg-config --cflags --libs slv2’ exited 1:
File “/home/beowulf/Ext_Progs/Ardour/AktArdour/2.0-ongoing/SConstruct”, line 553:
libraries[‘slv2’].ParseConfig(‘pkg-config --cflags --libs slv2’)
File “/usr/lib/scons/SCons/Environment.py”, line 1447:
return function(self, self.backtick(command))
File “/usr/lib/scons/SCons/Environment.py”, line 585:
raise OSError("’%s’ exited %d" % (command, status))

real 0m0.963s
user 0m0.380s
sys 0m0.133s
beowulf@core2quad:~/Ext_Progs/Ardour/AktArdour/2.0-ongoing$ echo $PKG_CONFIG_PATH
beowulf@core2quad:~/Ext_Progs/Ardour/AktArdour/2.0-ongoing$ ll /home/beowulf/Ext_Progs/drobilla/bin/lib/pkgconfig/
insgesamt 20
-rw-r–r-- 1 beowulf beowulf 1385 11. Apr 01:56 flowcanvas.pc
-rw-r–r-- 1 beowulf beowulf 226 11. Apr 01:56 lv2core.pc
-rw-r–r-- 1 beowulf beowulf 563 11. Apr 01:56 raul.pc
-rw-r–r-- 1 beowulf beowulf 623 11. Apr 01:56 redlandmm.pc
-rw-r–r-- 1 beowulf beowulf 320 11. Apr 01:56 slv2.pc

As i see this, the library is present. It is in the path. But pk-config exits with an error.
This is what happens when i try to execute “pkg-config --cflags --libs slv2” manually:

beowulf@core2quad:~/Ext_Progs/Ardour/AktArdour/2.0-ongoing$ pkg-config --cflags --libs slv2
-I/usr/include/rasqal -I/home/beowulf/Ext_Progs/drobilla/bin/include -L/home/beowulf/Ext_Progs/drobilla/bin/lib -lrdf -lrasqal -lraptor -lslv2

Has anyone an idea, what to do?


The Problem is solved for me by packaging the slv2 and lv2core libaries as debian packages and installing that stuff.

Sorry for spamming…