You are not logged in.
Pages: 1
hi all, in trying to learn programing in c (and well others language too) but i have the following messages when i try to compile a program, im really newbie in this programing world but i need somebody help me to begin in this world, well the messages is this:
/usr/lib/gcc/i486-slitaz-linux/4.5.2/ccl: error while loading shared libraries:
libmpc.so.2:cannot open shared object file: no such file or directory
what can i do to solve this error (troubleshooting) thank you.
Offline
When I encountered that problem I just had missing dependencies but if you're running 4.0 stable I belive that libmpc.so.2 should already be there. Type $ find /usr/lib/libmpc.* to see if it's missing...
Offline
@lobotazmania
You had lib errors trying to get seamonkey to start:
http://forum.slitaz.org/topic/troubles-installing-seamonkey
My guess is gcc compiler won't run because your slitaz installation is broken.
Verify your slitaz install source:
Slitaz iso with md5sum and if installing from a burned live cd use Check media from the live cd boot menu.
Reinstall Slitaz,seamonkey and some other programs you use from slitaz repo.
Make sure they run without errors.
Now install slitaz-toolchain
Offline
For problems like this, you may use
# tazpkg search-pkgname (for example:) libmpc.so.2
result for libmpc is the package
mpc-library
Do you have this package installed?
Offline
@filou: thank you righnow i believe i can compile, but appear this error: file.c:1:21: fatal error:
studio.h. no such file or directory wall i believe that is a mistake, but i dont know or no understand
what is my error the comand i use is this: gcc -o file file.c do you can tellme something about just a
trick maybe the command expresion is wrong and just this trouble its stoping that i can continue learn
about c programing im just reading a book about and i just do it for funny (jeje) is just my hobbie and i want to learn perl, bash etc an later shared my knowledge with others peoples.the solution to the trouble was only install mpc-library than you.
Offline
hi im just write this because i can compile very good in a slitaz and thank you friends for your help.
im understand anothers things about linux (slitaz) and i to try to do other things, the trouble was a
mising libraries and when im install the system works very good.
Offline
Pages: 1
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]