Posts: 41
Threads: 7
Joined: Oct 2004
I have only began to use linux about a week, I have installed(well not exactly installed, but boot from disc and use the hd, cause I couldn't get grub to work) Puppy Linux on my old 450mhz computer. I have been using FB for a year or to now and would like to use it in linux as well. I installed FB, but I can't compile anything, I type in "fbc hello.bas" when I'm in the right directory, and get this message "/initrd/pup_rw/usr/share/freebasic/bin/linux/ld: cannot find -lc"
Am I making some stupid newbie mistake, or should I be using a different linux distro. Any help is appreciated.
Posts: 40
Threads: 5
Joined: Dec 2006
Best guess, it sounds like there's a problem with your FB installation, try reinstalling it. Honestly I'm not sure, I don't use Linux.
url=http://qblide.forumer.com]QBLIDE lives here. Sign up and be spared. Refuse and be shot.[/url]
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
Who says I have a limited attention span? Oh look, a rock!
Posts: 41
Threads: 7
Joined: Oct 2004
I guess I'll just go download the version before this one and try installing that, despite how painful that is on 28k connection.
Posts: 40
Threads: 5
Joined: Dec 2006
Still using dialup? My condolences, especially when using a 28k modem.
url=http://qblide.forumer.com]QBLIDE lives here. Sign up and be spared. Refuse and be shot.[/url]
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
Who says I have a limited attention span? Oh look, a rock!
Posts: 1,439
Threads: 15
Joined: Apr 2003
If your distribution is development-impaired, you will need to install some -dev packages (or use a different distro). If you can compile C programs with gcc, you have most of what you need, so if there are some instructions for getting gcc working on your particular distro, follow them. In particular, you will need development packages for libc and ncurses. (Any distribution that can't compile C programs from a default install is just plain silly; a C compiler is such a vital tool on a *NIX system that it doesn't make sense to use one without it, even if you're just a "desktop" user. </rant>)
Posts: 421
Threads: 22
Joined: Oct 2005
It's your Linux. It probably has something to do with the fact that you have a live CD instead of a native(meaning installed-on-hard-disk) OS. Reference:
http://www.linuxforums.org/forum/other-d...error.html
I found it with a Google search.
In the beginning, there is darkness â the emptiness of a matrix waiting for the light. Then a single photon flares into existence. Then another. Soon, thousands more. Optronic pathways connect, subroutines emerge from the chaos, and a holographic consciousness is born." -The Doctor
Posts: 41
Threads: 7
Joined: Oct 2004
Thanks that was a helpful link, I'm downloading an install for libc now, and if I can't get this to work then I guess I'll try another distro and battle it out with GRUB. Damn GRUB is being a pain, but thats another problem.
20 mins later...
Looks like I'll just try installing MEPIS instead and try to get GRUB to work. Well thanks for all the help. Hopefully I don't run into the same problem.
Posts: 421
Threads: 22
Joined: Oct 2005
Can't you use a different boot loader? LILO maybe?
In the beginning, there is darkness â the emptiness of a matrix waiting for the light. Then a single photon flares into existence. Then another. Soon, thousands more. Optronic pathways connect, subroutines emerge from the chaos, and a holographic consciousness is born." -The Doctor
Posts: 41
Threads: 7
Joined: Oct 2004
I'm starting to consider that, but I have just made progress with GRUB, I figured out that it couldn't read the partition because it was formated in ext3 (I think, testing theory now), which doesn't make much sense to me considering MEPIS recommends using ext3. Also I think my HDD can cause LILO problems cause there are to many cylinders, or something.
Posts: 1,080
Threads: 87
Joined: Feb 2002
You need the libc6-dev package, apt-get install libc6-dev, assuming you have a deb based system.
However, since you run from a live cd then you'll need to reinstall those everytime (I think) you boot.
After getting the above package you'll probably get some other errors.
If you see the message "cannot find -lxyz" or someuch you can search for the package with (If it turns up nothing useful try the next line):
apt-cache search libxyz-dev
apt-cache search libxyz
apt-cache search xyz
/post]