[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

on finding some GNU libraries under /usr/local rather than /usr: interfe

From: Marco Maggi
Subject: on finding some GNU libraries under /usr/local rather than /usr: interference between .la files?
Date: Fri, 14 Jun 2013 08:20:53 +0200


  while building  and installing the  latest release of  some GNU
package on a x86_64-unknown-linux-gnu, Slackware 14.0, I stumbled
on this problem:

* Slackware packages  install libraries under  "/usr/lib64"; they
  come with .la files.

* My custom  installations put libraries  under "/usr/local/lib";
  .la files are installed with me doing nothing to them.

* Some custom  installations of  packages making  use of  the GNU
  Autotools  like  the  stack   GMP,  MPFR,  MPC  correctly  find
  installed libraries under "/usr/local/lib"; so I see:

     $ ldd /usr/local/lib/|grep gmp => /usr/local/lib/ (0x00007fc545c32000)

     $ ldd /usr/local/lib/|grep '\(gmp\|mpfr\)' => /usr/local/lib/ (0x00007f21524fa000) => /usr/local/lib/ (0x00007f2152281000)

* Some  GNU packages,  a subset  of  which is  also installed  by
  Slackware, fail to find libraries under "/usr/local": they find
  libraries under "/usr/lib64".

  It appears that  the problem is some interference  from the .la
files  installed under  "/usr/lib64": if  I (temporarily)  remove
*all*  of them  the installations  succeed; I  am unable  to find
which ones among the Slackware's .la files cause troubles.

  The full inspection of the problem  for Gnutls is in the thread
"[gnutls-help]  on finding  nettle under  /usr/local rather  than
under /usr (GNU+Linux 64-bit system)" at:


"Now feel the funk blast!"
Rage Against the Machine - "Calm like a bomb"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]