[csw-maintainers] Could someone please update CSWpygtk?
Dagobert Michelsen
dam at opencsw.org
Tue Nov 17 17:52:27 CET 2009
Hi James,
Am 17.11.2009 um 12:23 schrieb James Lee:
> On 17/11/09, 10:57:38, Maciej "(Matchek)" Blizinski <maciej at opencsw.org
> >
> wrote regarding Re: [csw-maintainers] Could someone please update
> CSWpygtk?:
>
>> libtool: link: /opt/studio/SOS11/SUNWspro/bin/cc -D_REENTRANT
>> -D_PTHREADS -I/opt/csw/include/glib-2.0
>> -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/python2.6
>> -I/opt/csw/include/python2.6 -xO3 -xarch=386 -I/opt/csw/include
>> -xarch=386 -o generate-constants
>> generate_constants-generate-constants.o -lglib-2.0 -L/opt/csw/lib
>> ld: fatal: library -lglib-2.0: not found
>> ld: fatal: File processing errors. No output written to
>> generate-constants
>
>> I don't quite get it. The library is there on the disk:
> ...
>> There's also the -L/opt/csw/lib flag. What else does it need to find
>> the library?
>
> Our dear friend libtool. It's added the L path but after the lib.
Nope, look again:
> maciej at build8x [build8x]:~/src/opencsw/pkg/pygobject/trunk > (cd
> /home/maciej/src/opencsw/pkg/pygobject/trunk/work/solaris8-i386/
> build-isa-i386/pygobject-2.20.0/gobject;
> /bin/bash ../libtool --tag=CC --mode=link
> /opt/studio/SOS11/SUNWspro/bin/cc -D_REENTRANT -D_PTHREADS
> -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include
> -I/opt/csw/include/python2.6 -I/opt/csw/include/python2.6 -lglib-2.0
> -xO3 -xarch=386 -I/opt/csw/include -xarch=386 -L/opt/csw/lib -o
> generate-constants generate_constants-generate-constants.o)
The above is what is passed to libtool. Here the order is already wrong.
And I am not only saying this as the libtool-maintainer ;-) Libtool
than just passes the order:
> libtool: link: /opt/studio/SOS11/SUNWspro/bin/cc -D_REENTRANT
> -D_PTHREADS -I/opt/csw/include/glib-2.0
> -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/python2.6
> -I/opt/csw/include/python2.6 -xO3 -xarch=386 -I/opt/csw/include
> -xarch=386 -o generate-constants
> generate_constants-generate-constants.o -lglib-2.0 -L/opt/csw/lib
> ld: fatal: library -lglib-2.0: not found
> ld: fatal: File processing errors. No output written to generate-
> constants
Best regards
-- Dago
More information about the maintainers
mailing list