Subject: pkgsrc on Debian - no dlopen/dlerror/dlsym
To: None <tech-pkg@netbsd.org>
From: Michal Pasternak <michal@pasternak.w.lub.pl>
List: tech-pkg
Date: 09/09/2003 05:01:19
Hello,

I am trying to get pkgsrc running on Debian-unstable; currently I have
problems compiling programs, which use libslang - for example, jed
compilation fails with:

/usr/pkgsrc/editors/jed/work/.buildlink/lib/libslang.so: undefined reference
to `dlerror'
/usr/pkgsrc/editors/jed/work/.buildlink/lib/libslang.so: undefined reference
to `dlclose'
/usr/pkgsrc/editors/jed/work/.buildlink/lib/libslang.so: undefined reference
to `dlopen'
/usr/pkgsrc/editors/jed/work/.buildlink/lib/libslang.so: undefined reference
to `dlsym'

I have installed package called "libltdl3", which claims to be the wrapper
for missing dl* calls, but I am not quite sure what should I do to tell
libtool to use it. Pkgsrc's libtool-base version is 1.4.20010614nb14 . I
have tried searching on Google for solution for this problem and didn't find
anything helpful. Any experienced Debian / libtool users out there who would
like to help me (and propably other people) with this issue?

Regards,
-- 
Michal Pasternak :: http://pasternak.w.lub.pl
Noise to meet you.