Linker Error: undefined reference to __ctype_b

Kris Kennaway kris at
Mon Apr 10 06:30:15 UTC 2006

On Mon, Apr 10, 2006 at 11:33:25AM +0530, Premal Mishra wrote:
> Hi,
> Am tryin to compile a C program which uses 3rd party library.
> I get the following error during linking:
> "undefined reference to __ctype_b" and this error comes up for many more names.
> Whats may be the problem ?

It's looking for a symbol that doesn't exist in the libraries with
which you are linking.  Perhaps it needs another library, or it's
expecting to find symbols that do not exist in FreeBSD system

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list