aMule Forum

English => Compilation problems => Topic started by: mauric on March 07, 2005, 12:45:31 AM

Title: sol9: compilation complett but now i have a amule start error
Post by: mauric on March 07, 2005, 12:45:31 AM
compilation complett succesfull :-)
on solaris 9

but if i want now start amule it's apear following error
and i dont know what exactly mean

blade /usr 00:47:50 > gcc -v
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.3/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld -enable-languages=c,c++,objc
Thread model: posix
gcc version 3.4.3

blade /usr 00:44:09 > amule  
ld.so.1: amule: fatal: libstdc++.so.5: open failed: No such file or directory
Killed
blade /usr 00:45:26 >


blade /usr 00:45:46 > find / -name ld.so.1
/usr/lib/ld.so.1
/usr/lib/sparcv9/ld.so.1
/etc/lib/ld.so.1


find / -name libstdc++.so.5
nothing found

please from who i can install this "libstdc++.so.5"
please iam where near at the first amule start on me machine

best regards
Mauric

:-)
Title: Re: sol9: compilation complett but now i have a amule start error
Post by: Kry on March 07, 2005, 01:32:09 AM
find / -name libstdc++
Title: Re: sol9: compilation complett but now i have a amule start error
Post by: mauric on March 07, 2005, 08:57:16 AM
# # # # find / -name libstdc++.*
/usr/lib/libstdc++.a
/usr/lib/libstdc++.la
/usr/lib/libstdc++.so
/usr/lib/libstdc++.so.6
/usr/lib/libstdc++.so.6.0.2
/usr/lib/libstdc++.so.6.0.3
/usr/local/lib/libstdc++.a
/usr/local/lib/libstdc++.la
/usr/local/lib/libstdc++.so
/usr/local/lib/libstdc++.so.6
/usr/local/lib/libstdc++.so.6.0.1
/usr/local/lib/sparcv9/libstdc++.a
/usr/local/lib/sparcv9/libstdc++.la
/usr/local/lib/sparcv9/libstdc++.so
/usr/local/lib/sparcv9/libstdc++.so.6
/usr/local/lib/sparcv9/libstdc++.so.6.0.1
#


and now witch i can rename ?   :-)
Title: Re: sol9: compilation complett but now i have a amule start error
Post by: stefanero on March 07, 2005, 09:10:59 AM
hmm I would not recommend to rename any,
try it with a symbolic link ;)

ln -s /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so.5

altho i am not sure if that works fine ;) but I guess you will find out :)

stefanero
Title: Re: sol9: compilation complett but now i have a amule start error
Post by: phoenix on March 07, 2005, 10:16:06 AM
I would not even do that. For some reason you are trying to link to an old version of the library. I dont know how is software distributed under solaris, but you have an incomplete software update there. Maybe you did not update g++?

Cheers!
Title: Re: sol9: compilation complett but now i have a amule start error
Post by: mauric on March 07, 2005, 10:30:40 AM
>>Maybe you did not update g++?


blade /usr 00:47:50 > gcc -v
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.3/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld -enable-languages=c,c++,objc
Thread model: posix
gcc version 3.4.3
Title: Re: sol9: compilation complett but now i have a amule start error
Post by: skolnick on March 07, 2005, 07:45:32 PM
Where did you install gcc from? is it blastwave's, or sunfreeware's or you compiled your own?

Regards.
Title: Re: sol9: compilation complett but now i have a amule start error
Post by: mauric on March 08, 2005, 02:05:06 PM
Gcc its from sunfreeware (source) and compiled time are more than 12 Hours :-)
Title: Re: sol9: compilation complett but now i have a amule start error
Post by: skolnick on March 09, 2005, 02:24:48 AM
Well, I have never installed sunfreeware's gcc. I always used blastwave's. BTW: solaris 10 comes with a bundled gcc now, which is what I used to build my amule, so no idea if any other will work..but it should. Have you looked in google if any other people have a similar problem wuith other apps? it seems the compiler links against old libraries, instead of the new ones.

Regards.