LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-11-2005, 11:05 AM   #1
Penguin Dropout
LQ Newbie
 
Registered: Dec 2002
Posts: 21

Rep: Reputation: 15
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
 
Old 04-11-2005, 11:17 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
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.
 
Old 04-11-2005, 11:40 AM   #3
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
You need to install compat-libstdc++.
 
Old 04-11-2005, 03:18 PM   #4
Penguin Dropout
LQ Newbie
 
Registered: Dec 2002
Posts: 21

Original Poster
Rep: Reputation: 15
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
 
Old 04-11-2005, 03:22 PM   #5
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
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).
 
Old 04-11-2005, 05:21 PM   #6
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
libstdc++.so.5 problems lashnjo Linux - Software 17 11-29-2010 06:53 PM
uvscan on FC4, libstdc++.so.2.8 problems rhoekstra Fedora 7 11-01-2005 04:06 AM
RPM problems with libstdc++.so.6 dangerousdave Linux - Newbie 5 02-17-2005 08:12 PM
mismatched rpm versions of libstdc++ and libstdc++-devel pcweirdo Linux - Software 8 11-29-2004 09:30 AM
vnc problem finding libstdc++ lib DaddyBad Linux - Newbie 9 09-27-2004 05:43 PM


All times are GMT -5. The time now is 10:27 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration