[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-linux
Subject:    Re: [kde-linux] Compiling kdelibs: Error cannot find library libstdc++.la
From:       James Richard Tyrer <tyrerj () acm ! org>
Date:       2002-12-29 21:34:22
[Download RAW message or body]

Navneet Dalal wrote:
> Hi
> 
> I fixed the problem. I problem was first, $GCCPATH was undefined. Second, it 
> was encoded in quotes in libstdc++.la. So even if it is defined, libdir was 
> refering to a path called GCCPATH. I just replaced the $GCCPATH with the 
> correct path, i.e. the absolute path to libstdc++.so . 
> 
> I also tried using /usr/lib as I thought, that since libstdc++.so in /usr/lib 
> is linked to its absoulte path, it should work. But it doesnot work. The 
> reason is, in libtool, it checks if the absolute path is same as libdir path. 
> If not, it replaces absolute path with libdir path. So kdelibs compiles, but 
> kdebase fails. As during compilation of kdebase, it searches for libstdc++.la 
> in /usr/lib.

This is certainly interesting.  My: "libstdc++.la" is in /usr/lib along with the libraries.

So, I really don't know.

--
JRT

___________________________________________________
This message is from the kde-linux mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic