[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mysterious Dependencies
From: |
Bob Friesenhahn |
Subject: |
Re: Mysterious Dependencies |
Date: |
Tue, 24 Jan 2006 19:51:24 -0600 (CST) |
This is due to a GCC bug that I reported long ago. GCC's libtool (GCC
has its own version of libtool) inserts references to its build
directory in the .la files installed alongside the libraries it
installs.
Bob
On Tue, 24 Jan 2006, Eric Lemings wrote:
Hello,
On RedHat AS 4u2, Libtool is putting the following line in my .la files.
dependency_libs=' -ldl
/amd/packages/mdx/redhat/compilers/gcc-3.4.4-2/bin/../lib/gcc/i386-redhat-li
nux/3.4.4//libstdc++.la
-L/usr/src/redhat/BUILD/gcc-3.4.4-20050721/obj-i386-redhat-linux/i386-redhat
-linux/libstdc++-v3/src
-L/usr/src/redhat/BUILD/gcc-3.4.4-20050721/obj-i386-redhat-linux/i386-redhat
-linux/libstdc++-v3/src/.libs
-L/usr/src/redhat/BUILD/gcc-3.4.4-20050721/obj-i386-redhat-linux/gcc '
Everything after '-ldl' does not exist in RHAS 4u2 (at least on the system
I am using). So where is Libtool getting all this stuff from and why is it
putting it in there if none of it exists? And is there a way to make it
look
like this (without manually editing the file)?
dependency_libs=' -ldl -lstdc++ '
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/