Linker Error: undefined reference to __ctype_b

Kris Kennaway kris at obsecurity.org
Mon Apr 10 15:57:42 UTC 2006


On Mon, Apr 10, 2006 at 12:28:26PM +0530, Premal Mishra wrote:
> Hi,
> 
> Ya, am trying to link against a linux library on FreeBSD.
> 
> Is it not possible to use it?

You cannot mix and match FreeBSD and Linux libraries.  You can however
*run* your pre-compiled Linux binary, and it is possible to also
compile a Linux binary on FreeBSD (install the linux_devtools port and
then chroot to /compat/linux, then compile it "as normal"; you may
need to add additional RPM packages.)

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060410/ddeeb6ba/attachment.pgp


More information about the freebsd-questions mailing list