LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problems finding libstdc++.la (https://www.linuxquestions.org/questions/linux-software-2/problems-finding-libstdc-la-312032/)

Penguin Dropout 04-11-2005 11:05 AM

problems finding libstdc++.la
 
Hello I am trying to build gdal from source to satifiy some dependacies for another program I am installing from soure. I have seemed to run into the follow problem when compiling from source

grep: /usr/lib/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/libstdc++.la' is not a valid libtool archive
make[1]: *** [libgdal.la] Error 1
make[1]: Leaving directory `/home/tmckeown/Desktop/vtp/gdal-1.2.5'
make: *** [check-lib] Error 2

I try to locate it and I get ... nothing

[root@CaveTest gdal-1.2.5]# locate libstdc++.la
[root@CaveTest gdal-1.2.5]#

I see what libs I got installed ...

[root@CaveTest gdal-1.2.5]# ls /usr/lib/libstd*
/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so /usr/lib/libstdc++.so.2.7.2.8 /usr/lib/libstdc++.so.5
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so /usr/lib/libstdc++.so.2.8 /usr/lib/libstdc++.so.5.0.7
/usr/lib/libstdc++-libc6.1-1.so.2 /usr/lib/libstdc++.so.2.8.0 /usr/lib/libstdc++.so.6
/usr/lib/libstdc++-libc6.2-2.so.3 /usr/lib/libstdc++.so.2.9 /usr/lib/libstdc++.so.6.0.3
/usr/lib/libstdc++.so.2.7.2 /usr/lib/libstdc++.so.2.9.dummy

now i check my packages to see what I got install

[root@CaveTest gdal-1.2.5]# rpm -qa | grep -i libstd
libstdc++-3.4.2-6.fc3
libstdc++-3.4.2-6.fc3
compat-libstdc++-8-3.3.4.2
libstdc++-devel-3.4.2-6.fc3
compat-libstdc++-devel-8-3.3.4.2
libstdc++-devel-3.4.2-6.fc3
compat-libstdc++-devel-8-3.3.4.2
compat-libstdc++-8-3.3.4.2

any ideas where my libstdc++.la is?

I herd there was some problem with this on fedora core 3, but I wasn't able to find a solution. Any ideas or suggestions would be appreciated. Oh yeah I almost forgot to say I am using a 64bit processor.

Thanks

__J 04-11-2005 11:17 AM

you could compile a new development environment ( note that while it would work better, the time it would take probably wouldn't be worth it) or find a package for your distro.

reddazz 04-11-2005 11:40 AM

You need to install compat-libstdc++.

Penguin Dropout 04-11-2005 03:18 PM

isn't that in the rpm list I had?


[root@CaveTest gdal-1.2.5]# rpm -qa | grep -i libstd
libstdc++-3.4.2-6.fc3
libstdc++-3.4.2-6.fc3
compat-libstdc++-8-3.3.4.2
libstdc++-devel-3.4.2-6.fc3
compat-libstdc++-devel-8-3.3.4.2
libstdc++-devel-3.4.2-6.fc3
compat-libstdc++-devel-8-3.3.4.2
compat-libstdc++-8-3.3.4.2

__J 04-11-2005 03:22 PM

does it have an option in configure to --enable-static ( also pass --disable-shared)? you might want to try this and see if it will use the libstdc++.a instead ( note that this will increase the size of the binary/library a little, but not too much).

reddazz 04-11-2005 05:21 PM

Ok, i've just found out that the package you need is part of gcc-c++-devel, so try installing that.


All times are GMT -5. The time now is 11:34 PM.