[uClibc]building vtun

Erik Andersen andersen at codepoet.org
Tue Nov 27 22:49:50 UTC 2001


On Tue Nov 27, 2001 at 02:31:53PM -0800, Jason Luther wrote:
> From: "Erik Andersen" <andersen at codepoet.org>:
> > On Tue Nov 27, 2001 at 01:42:17PM -0800, Jason Luther wrote:
> > > I'm trying to compile VTun 2.5b1 with uClibc, but I'm not having much
> luck.
> > > I have tried a number of things, but this is what I end up with:
> > > % ldd vtund
> > >         libz.so.1 => /usr/lib/libz.so.1
> > >         libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6
> >
> > Have you built your own version of libcrypto (openssl) vs
> > uClibc?  If you run 'ldd /usr/lib/libcrypto.so.0.9.6' I expect
> > you will see it is linked vs glibc...
> 
> This is what it looks like on *my* libcrypto, which is not the
> /usr/lib/libcrypto.so.0.9.6:
> % ldd libcrypto.so.0.9.6
>         libdl.so.0 => libdl.so.0
>         libc.so.0 => libc.so.0
> 
> The problem is that it's using the system's zlib and openssl instead of the
> ones I compiled against uClibc. I'm confused about how the program could be
> linked against the system libraries if it's using the uClibc gcc wrapper.

Where are your uClibc libcrypto and uClibc zlib installed?  From your previous
email, you have a staging dir in /home/jason/cvs/embed/devel.  Have you placed
zlib.h, zconf.h, and openssl/ along with the uClibc include files in
/home/jason/cvs/embed/devel/include?  Is openssl included with the uClibc libc
in /home/jason/cvs/embed/devel/lib?  Are you using the uClibc ldd to check with
(/home/jason/cvs/embed/devel/bin/ldd)?

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--





More information about the uClibc mailing list