[llvmlinux] [libdrm][clang] libtool: Relinking BROKEN on 'sudo make install'
edwin+ml-cerowrt at etorok.net
Fri Jan 18 13:58:45 UTC 2013
On 01/18/2013 03:30 PM, Sedat Dilek wrote:
> [ CC friends from LLVMLinux ]
> I am still playing with llvm/clang v3.2 and mesa.
> My clang version is:
> $ clang -v
> clang version 3.2 (tags/RELEASE_32/final)
> Target: x86_64-unknown-linux-gnu
> Thread model: posix
> As Brian suggested me to switch to mesa-9.x, I wanted to do so.
> So, I needed to bump my libdrm (here: v2.4.41), but the installation
> fails reproducibly!
> I am no Makefile/autotools/libtool expert, but as far as my research
> showed me it seems to be a problem of relinking/relink_command caused
> by libtool.
> In  I have seen the advice to use "--enable-fast-install"
> configure-option as a workaround, but this does NOT help here.
> In  I read about version mismatch between included libtool.m4 and
> acinclude.m4 files, but libtool.m4 from my libdrm-builddir is
> identical with the system-wide libtool.m4.
> 287004 Jan 18 14:04 ~/src/libdrm/libdrm-git/m4/libtool.m4
> 287004 Nov 12 2011 /usr/share/aclocal/libtool.m4
> $ diff -uprN ~/src/libdrm/libdrm-git/m4/libtool.m4 /usr/share/aclocal/libtool.m4
> [ NO OUTPUT <--- files are identical ]
> Unfortunately, I still see on 'sudo make install':
Doesn't sudo reset your $PATH?
> NOTE: My clang binary is in my $PATH and /opt/llvm is ldconfig-ed!
Is it in root's path though?
More information about the LLVMLinux