[Ardour-Dev] Ardour3 rev.13135 undefined symbol

John Rigg ardev3 at jrigg.co.uk
Sat Aug 18 04:27:30 PDT 2012


On Sat, Aug 18, 2012 at 12:21:45PM +0200, Robin Gareus wrote:
> On 08/18/2012 11:20 AM, John Rigg wrote:
> > I've just compiled and installed a3 rev.13135 on my Debian
> > testing (9-1-12 snapshot) amd64 system. It fails to start from
> > the command line and produces the following error message:
> > 
> > /usr/lib/ardour3/ardour-3.0: symbol lookup error:
> > /usr/lib/ardour3/libpbd.so.4: undefined symbol:
> > _ZN4Glib7Threads6RWLockD1Ev
> > 
> > Prior to compiling a3 I compiled glib-2.33.8, libsigc++-2.2.10 and
> > glibmm-2.33.3 from upstream source. PKG_CONFIG_PATH was set to
> > /usr/local/lib/pkgconfig, and they were installed in /usr/local.
> 
> Is /usr/local/lib specified in /etc/ld.so.conf ?
> Did you run `sudo ldconfig` after installing the libs there?

That was the problem. I ran ldconfig, but /usr/local/lib wasn't
specified in /etc/ld.so.conf.d/libc.conf

> Beware. Installing glib in /usr/local can be a very bad idea. Chances
> are that it'll break your system unless you also recompile many other g*
> libraries.

This is in addition to the distro versions in /usr. a3 is the only thing
compiled against these new libs.

> You should really use a dedicated path and set LD_LIBRARY_PATH to that
> in the ./ardev script.

There's no ./ardev script but it doesn't appear to be a problem now that
I've added /usr/local/lib to /etc/ld.so.conf/libc.conf and run ldconfig
again. It starts and runs fine now on my test system.

Thanks,
John



More information about the Ardour-Dev mailing list