You are not logged in.

#1 2014-10-06 15:57:03

labuwx
Member
Registered: 2014-04-10
Posts: 5

Pacman uses the wrong shared libraries

Hi!

I had had MCR's path in the PATH. Since then pacman uses (or at least it tries to) the shared libraries found in MCR's path. It causes errors like this:

pacman: /home/labuwx/Applications/MATLAB/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libcurl.so.4: no version information available (required by /usr/lib/libalpm.so.8

The output of 'ldd $(which pacman)':

/usr/bin/pacman: /home/labuwx/Applications/MATLAB/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libcurl.so.4: no version information available (required by /usr/lib/libalpm.so.8)
	linux-vdso.so.1 (0x00007fff709fc000)
	libalpm.so.8 => /usr/lib/libalpm.so.8 (0x00007f56f80ad000)
	libarchive.so.13 => /usr/lib/libarchive.so.13 (0x00007f56f7e0a000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007f56f7a67000)
	libgpgme.so.11 => /usr/lib/libgpgme.so.11 (0x00007f56f782e000)
	libcurl.so.4 => /home/labuwx/Applications/MATLAB/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libcurl.so.4 (0x00007f56f75e7000)
	libcrypto.so.1.0.0 => /home/labuwx/Applications/MATLAB/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libcrypto.so.1.0.0 (0x00007f56f7205000)
	libacl.so.1 => /usr/lib/libacl.so.1 (0x00007f56f6ffc000)
	libattr.so.1 => /usr/lib/libattr.so.1 (0x00007f56f6df7000)
	libexpat.so.1 => /home/labuwx/Applications/MATLAB/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libexpat.so.1 (0x00007f56f6bcf000)
	liblzo2.so.2 => /usr/lib/liblzo2.so.2 (0x00007f56f69ad000)
	liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f56f678a000)
	libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f56f657a000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007f56f6364000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f56f82dd000)
	libassuan.so.0 => /usr/lib/libassuan.so.0 (0x00007f56f6153000)
	libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f56f5f41000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f56f5d25000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f56f5b21000)

How can I get pacman to use the proper libraries?

Last edited by labuwx (2014-10-06 15:59:47)

Offline

#2 2014-10-06 18:48:37

Pse
Member
Registered: 2008-03-15
Posts: 415

Re: Pacman uses the wrong shared libraries

You definitely did something to your installation by installing out-of-tree packages. Check if LD_LIBRARY_PATH is set and where it's pointing at. Also see

man ldconfig

Offline

#3 2014-10-06 19:14:19

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: Pacman uses the wrong shared libraries

labuwx wrote:

I had had MCR's path in the PATH. Since then pacman uses (or at least it tries to) the shared libraries found in MCR's path. It causes errors like this:
...

How can I get pacman to use the proper libraries?

presumably, there's your problem wink remove it from the PATH and your problems will likely vanish.

you should install it following the wiki page

Offline

Board footer

Powered by FluxBB