Sounds like you need to make changes to gz_open.c for it to build. See
r604 for some inspiration.
http://code.google.com/p/opkg/source/detail?r=604
What libc are you liking with?
-Graham
Of course, I meant "linking".
The src/opkg-cl script is a libtool thing. Libtool creates this so
that one can invoke the binary in place (e.g. without doing a make
install) for testing purposes during development. make install will
basically do what you have done in regards to copying the binary and
library from the .libs directory.
>
> 3. Exported LD_LIBRARY_PATH=/var/tmp/opkg
>
> 4. Export OPKG_USE_VFORK=1 (required by gz_open.c to use vfork()
> instead of fork())
>
> 5. Created /usr/lib/opkg so it can create its "lock" file
>
> 6. Created /etc/opkg.conf to include a reference to the old ipkg
> repository I'd like to use
> src snapshots http://www.acme.com/ipkg
> dest root /
>
> 7. But when I ran "/var/tmp/opkg/opkg-cl update", it says/does
> nothing. Am I
> missing something?
>
> Thank you.
Check that all the libraries are resolved with ldd (or if you don't
have that, play with /lib/ld-Uclibc.so --list). If that looks fine,
you will need to run opkg under strace to find out what it is doing.
-Graham
The runtime linker should already provide this functionality. It
should reside at /lib/ld-uclibc.so or a simlilarly named binary,
perhaps with a version number. That can be executed to resolve
dynamically linked libraries. The glibc dynamic linker uses the --list
parameter to print them, I forget if uclibc provides the same
parameter.
>
> Still, I don't find disabling Libcurl a good solution, as the opkg-cl
> on the client will need to download opkg packages through the network.
Disabling curl doesn't mean that downloading of files is disabled, it
means that the wget binary will be invoked to perform this instead.
I suggest looking through your config.log to look for further info.
-Graham