[Mplayer-users] mplayer compile error
Rajesh Fowkar
rfowkar at yahoo.com
Fri Jun 1 03:11:44 CEST 2001
Arpi saw fit to inform me that:
>Hi,
>
>> /usr/bin/ld: cannot find -lstdc++
>hmm. ld can't locate libstdc++.so
>
>> I have got the following libraries which the above error seems to be referring to :
>>
>> debian:/home/rajesh/tmp/compile/main# dpkg -l | grep stdc
>> ii libstdc++2.10 2.95.2-13 The GNU stdc++ library
>> ii libstdc++2.10-dev 2.95.3-3 The GNU stdc++ library (development files)
>> ii libstdc++2.10-glibc2.2 2.95.3-3 The GNU stdc++ library
>> ii libstdc++2.9-glibc2.1 2.91.66-4 The GNU stdc++ library (old egcs version)
>>
>
>hmm. do you really have these files?
Yes. Those files are really there. But there is no file called libstdc++.so,
debian:/usr/lib# l libstdc*
-rw-r--r-- 1 root root 256240 Feb 19 2000 libstdc++-2-libc6.1-1-2.9.0.so
-rw-r--r-- 1 root root 270280 May 28 21:56 libstdc++-3-libc6.1-2-2.10.0.so
-rw-r--r-- 1 root root 476858 Jan 11 21:36 libstdc++-3-libc6.2-2-2.10.0.a
-rw-r--r-- 1 root root 271880 Jan 11 21:36 libstdc++-3-libc6.2-2-2.10.0.so
lrwxrwxrwx 1 root root 30 May 29 21:45 libstdc++-libc6.1-1.so.2 -> libstdc++-2-libc6.1-1-2.9.0.so
lrwxrwxrwx 1 root root 31 May 28 21:56 libstdc++-libc6.1-2.so.3 -> libstdc++-3-libc6.1-2-2.10.0.so
lrwxrwxrwx 1 root root 30 May 29 19:07 libstdc++-libc6.2-2.a.3 -> libstdc++-3-libc6.2-2-2.10.0.a
lrwxrwxrwx 1 root root 31 May 29 19:07 libstdc++-libc6.2-2.so.3 -> libstdc++-3-libc6.2-2-2.10.0.so
hence I just created a link called libstdc++.so pointing to the actual library.
Now it works.
debian:/usr/lib# ln -sf /usr/lib/libstdc++-3-libc6.1-2-2.10.0.so /usr/lib/libstdc++.so
Thanks a lot.
--
------------------------------------------------------------------------------
Rajesh Fowkar rfowkar at goatelecom.com
Kurtarkar Nagari,Bldg-C,T4, http://rajesh.computers.webjump.com
Santacruz,Ponda-Goa-403401-INDIA Powered By : Debian GNU/Linux (Potato)
Kernel 2.4.5 & Mutt 1.3.15i
IceWM 1.0.8-6 & KDE 2.1
"The expert at anything was once a beginner." -Hayes
------------------------------------------------------------------------------
_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users
More information about the MPlayer-users
mailing list