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

List:       kde-linux
Subject:    [kde-linux] Compiling kdelibs: Error cannot find library libstdc++.la
From:       Navneet Dalal <Navneet.Dalal () inrialpes ! fr>
Date:       2002-12-27 12:53:40
[Download RAW message or body]

hi all,

This is the first time that I am compiling KDE. I am facing some problems, so
need your help.

First, my m/c configuration:
Originially it is redhat 7.2.
Compiler gcc 3.2 (I upgraded it using rpms).

I wanted to upgrade to 3.0.5a. Now, on kde.org, for 3.0.5a, they only have
redhat 8.0 packages. So I installed all the required qt3 (gcc 3.2) rpms and
all other kde rpms. However, to my surprise, redhat has changed all the menus
etc. which ofcourse, I didnt like. Also, I was getting some error, Unable to
initalize kdeinit, etc. So I decided to compile kde from scratch.

First, I compiled qt3.0.6 as mentioned on web. No problems.
However, when I compiled kdelibs,
I get the following warnings and linking error:

###################################################
/bin/sh ../../libtool --mode=link --tag=CXX g++  -O2 -fno-exceptions
-fno-check-new  -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_COMPAT    -o libartskde.la.closure libartskde_la_closure.lo
-L/usr/X11R6/lib -L/home/pollux/dalal/softwares/qt/lib
-L/home/pollux/dalal/softwares/kde/lib  -no-undefined -version-info 1:0
artskde.lo kioinputstream_impl.lo kplayobject.lo kplayobjectfactory.lo
kartsfloatwatch.lo kartsdispatcher.lo kartsserver.lo ../../kio/libkio.la
-lqtmcop -lsoundserver_idl
libtool: link: warning: library
`/usr/lib/gcc-lib/i686-redhat-linux/3.2/libstdc++.la' was moved.
libtool: link: warning: library
`/usr/lib/gcc-lib/i686-redhat-linux/3.2/libstdc++.la' was moved.
libtool: link: cannot find the library `/libstdc++.la'
make[4]: *** [libartskde.la.closure] Error 1
make[4]: Leaving directory
`/local_scratch/dalal/kdesrc/kdelibs-3.0.5a/arts/kde'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/local_scratch/dalal/kdesrc/kdelibs-3.0.5a/arts/kde'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/local_scratch/dalal/kdesrc/kdelibs-3.0.5a/arts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/local_scratch/dalal/kdesrc/kdelibs-3.0.5a'
make: *** [all] Error 2
###################################################


However, libstdc++.la is in the above mentioned folder. Here is the dump.
#######################################################
# libstdc++.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.4a-GCC3.0 (1.641.2.256 2001/05/28
20:09:07 with GCC-local changes)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libstdc++.so.5'

# Names of this library.
library_names='libstdc++.so.5.0.0 libstdc++.so.5 libstdc++.so'

# The name of the static archive.
old_library='libstdc++.a'

# Libraries that this one depends upon.
dependency_libs=' -lm -lgcc_s -lgcc_s -lm -lgcc_s -lgcc_s '

# Version information for libstdc++.
current=5
age=0
revision=0

# Is this an already installed library?
installed=yes

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='$GCCPATH'
########################################################
Now, I have no idea what to do? Any suggestions? Also variable GCCPATH is not
defined.

thanks in advance
navneet
___________________________________________________
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