Earnie Boyd | 10 Aug 2005 16:26
Picon

Re: Problem with linking application's own shared library

On 8:15:38 am 2005-08-10 Brian Dessent <brian@...> wrote:
> Michael Gerdau wrote:
>
> >  When the linker (ld) sees something like '-l<somename>' it tries
> >  to link against lib<somename>.a
> >
> >  MinGW adds the special feature to check for lib<somename>.dll
> >  before.
> >  Therefor for your above libs to link you have to add
> >  - '-lxslt' for libxslt.a
> >  - '-lxml2' for libxml2.a
> >  - either '-lsim-0' for libsim-0.dll
> >    or '-lsim.dll' for libsim.dll.a (not sure wether this last one
> >    would work).
>
> .dll.a is fine.  ld looks for both.  This is not the problem.
>
> <http://sourceware.org/binutils/docs-2.16/ld/WIN32.html#index-direct-l
> inking-to-a-dll-527>
>
> The problem is probably related to libtool, you should post on their
> mailing list.  WHich library/object contains the symbols that are not
> found?  Is it being specified on the link command line?  Is it in the
> right order?
>

The problem with libtool is there is not enough MinGW developers keeping
the changes monitored and tested.  Make sure that /etc/config.site doesn't
exist or is renamed before you do the configure to see if that helps.  If
not, I'll dig up some libtool script that you can replace the generated
script with.

Earnie

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users


Gmane