Dean Michael Berris wrote:


[EMAIL PROTECTED]:~/src/csrc$ gcc prime.c -o prime /tmp/ccAwYhXb.o(.text+0x2c): In function `isprime': : undefined reference to `sqrt' collect2: ld returned 1 exit status



it cant find the library where sqrt belongs.

maybe, it is not installed or not declared
on /etc/ld.so.conf


check it out, modify it if necessary then execute:


shell> ldconfig





HTH







_ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]

Reply via email to