doesn't work, i tried it before. because it's so, the absolute address
is never resolved at compile-time. it just says, ok, there is a
function called "inflate" avaiable somewhere without knowing its
absolute location. it's about the linker is confused about same
function name exported from two library and picked up the wrong one. I
could make it work by switching the linking order, but I just don't
like such approach.

Paul Jarc wrote:
> "gobigred" <[EMAIL PROTECTED]> wrote:
> > have to use both libraries for different purpose
> > both have function named as "inflate"
>
> You can use dlopen() to load the libraries and dlsym() to access a
> specific function within a library.  Check the man pages for details.
> 
> 
> paul

_______________________________________________
help-gnu-utils mailing list
help-gnu-utils@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-utils

Reply via email to