I'm fiddling with an app that was probably written for/on Linux. It
configures fine, but when I make, I get the error "cannot find -ldl". Is
there a FreeBSD equivalent for libldl? A workaround? A library that I'm
missing?
Paul Schmehl ([EMAIL PROTECTED])
Adjunct
Paul Schmehl wrote:
I'm fiddling with an app that was probably written for/on Linux. It
configures fine, but when I make, I get the error "cannot find -ldl".
Is there a FreeBSD equivalent for libldl? A workaround? A library
that I'm missing?
No direct answer for you,
--On Thursday, January 26, 2006 17:05:52 + Alex Zbyslaw
<[EMAIL PROTECTED]> wrote:
Paul Schmehl wrote:
I'm fiddling with an app that was probably written for/on Linux. It
configures fine, but when I make, I get the error "cannot find -ldl".
Is there a FreeBSD equi
In the last episode (Jan 26), Paul Schmehl said:
> I'm fiddling with an app that was probably written for/on Linux. It
> configures fine, but when I make, I get the error "cannot find -ldl". Is
> there a FreeBSD equivalent for libldl? A workaround? A library that I
--On Thursday, January 26, 2006 11:18:54 -0600 Dan Nelson
<[EMAIL PROTECTED]> wrote:
In the last episode (Jan 26), Paul Schmehl said:
I'm fiddling with an app that was probably written for/on Linux. It
configures fine, but when I make, I get the error "cannot find -ldl"
t; >>It configures fine, but when I make, I get the error "cannot find
> >>-ldl". Is there a FreeBSD equivalent for libldl? A workaround? A
> >>library that I'm missing?
> >
> >It's not needed on FreeBSD. The dlopen family of functions is in
dconf.o clientloop.o sshtty.o sshconnect.o
sshconnect1.o sshconnect2.o readpass.o -L. -Lopenbsd-compat/ -L/usr/ssl
-lssh -lopenbsd-compat -lcrypto -lutil -lz -lcrypt -ldl
/usr/bin/ld: cannot find -ldl
*** Error code 1
Stop in /usr/home/pauls/Downloads/sara-6.0.7d/src/sssh.
*** Error code 1
to remove any hardcoded
> >"-ldl" strings from Makefile.{in,am}. Configure will add "-ldl" to
> >$LIBS if it turns out to be required.
> >
> I followed your instructions, but make still fails:
>
> gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o
--On Thursday, January 26, 2006 15:14:59 -0600 Dan Nelson
<[EMAIL PROTECTED]> wrote:
I put AC_SEARCH_LIBS(dlopen,dl) at the end of configure.in, just before
AC_OUTPUT(Makefile). There was no mention of ldl in Makefile.in.
src/sssh/Makefile.in, line 38:
[EMAIL PROTECTED]@ -ldl
Remove the -