Web Hosting Talk







View Full Version : can you solve this one


Arabiahosts
01-05-2003, 11:15 AM
Hi
I help to install mysql++ on a linux machine.I have the src.rpm and the binary rpm @ first when i used rpm -i *mysql...* it gave me an error that it wanted the library libstdc++.so.5
libstdc++.so.5(glibcpp_3.2)
know it is giving no error but still when i include<mysql.h> the compiler cant finb the file.

Saeven
01-05-2003, 01:59 PM
RPM : guessing that you are using RedHat.

The folks at RedHat have for some reason decided not to include libstdc++ with the general lib package ( no idea why ). This is happening because you have upgraded to gcc3.2 and you haven't quite uploaded all compile libs.

Depending on your build and gcc version, you need to get this package.

http://speakeasy.rpmfind.net/linux/rpm2html/search.php?query=libstdc%2B%2B

Should do the trick.

Arabiahosts
01-05-2003, 03:42 PM
Thanks for your reply i got the gcc that contains libstdc++.so.5 it issrc.rp but let be be faithful from here on i dont know what to do

Saeven
01-05-2003, 03:53 PM
Install the RPM