Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Sep 2003 14:09:51 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Joe Sotham <joe@dubium.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Can't find -ldl ...
Message-ID:  <20030920210951.GB38330@rot13.obsecurity.org>
In-Reply-To: <49250.192.168.0.1.1064091762.squirrel@mail.dubium.com>
References:  <49250.192.168.0.1.1064091762.squirrel@mail.dubium.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--WYTEVAkct0FjGQmd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Sep 20, 2003 at 02:02:42PM -0700, Joe Sotham wrote:

>  /usr/libexec/elf/ld: cannot find -ldl

This is not a FreeBSD library.  The error is that your software is
trying to look for it in the first place.

> Despite the library appearing to be located in the expected location:
>=20
> #ls /usr/compat/linux/lib/
>   <snip>
>   libdl-2.2.4.so libdl.so.2
>   <snip>

That is the expected location, but it's a Linux library and only used
for running Linux software, not FreeBSD.

Kris

--WYTEVAkct0FjGQmd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/bMIeWry0BWjoQKURAhLJAKD3njCH1Kuqj41JfkLYWiYgkutB5wCg+HuD
znNUcprjMJdza5KjDcWC/WM=
=+Y6g
-----END PGP SIGNATURE-----

--WYTEVAkct0FjGQmd--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030920210951.GB38330>