Re: Glib compile error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2003-08-18 at 12:25, Daniel Carrera wrote:
> On Mon, Aug 18, 2003 at 08:12:18AM -0400, Owen Taylor wrote:
> > > /data/local/lib/libz.a(gzio.o)
> > > strcat                              0x22c8      
> > > /data/local/lib/libz.a(gzio.o)
> > > ld: fatal: relocations remain against allocatable but non-writable 
> > > sections
> > > collect2: ld returned 1 exit status
> > > gmake[1]: *** [libglib-2.0.la] Error 1
> > > gmake[1]: Leaving directory `/data/local/src/gtk/glib-2.2.2/glib'
> > > gmake: *** [all-recursive] Error 1
> > 
> > I believe it is saying "you need a shared library for zlib; I
> > can't link libz.a into libpixbufloader-png.so because it isn't
> > relocatable code"
> 
> Ah, I see.  Thanks.  Now, not to be thick-headed, but how do I make the 
> .so?  I have the source to zlib.  I've made libz.a myself.

Well, the process of building a shared library is rather system
specific; most open source software uses 'libtool' to handle the
details, but zlib probably doesn't, since it gets used on all
sorts of crazy systems. (I don't think I've ever built it from 
scratch, actually.)

There may be instructions in the zlib documentation about building
shared libraries; or I've heard people mention sunfreeware.com -
they seem to have binaries of zlib for Solaris 8.

Regards,
						Owen


_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux