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

Re: RPM 4.2-066 is failing compile on Solaris 8 looking for libz



Interesting

I dont see any static libs anywhere and ive done
find . -name libz.a -print from /

so, I will install the static lib and see if that fixes the problem


On Sat, 2003-02-08 at 21:57, Todd Pytel wrote:
> Do you have the static version of zlib as well as the shared? That's
> what the linker is looking for - note the "-static" flag. This has
> gotten me in the past, though not on Solaris...
> 
> Todd
> 
> On 08 Feb 2003 20:06:28 -0600
> Donnie Cranford <mozilla@attbi.com> wrote:
> 
> > I am trying to compile rpm 4.2-066 on Solaris 8
> > 
> > using GCC 3.2.1 
> > 
> > # uname -a
> > SunOS DEATHSTARII 5.8 Generic_108528-17 sun4u sparc SUNW,Sun-Blade-100
> > 
> > When it fails here is the ouput
> > 
> > /usr/local/bin/gcc -I/usr/local/include
> > -I/usr/local/BerkeleyDB/include-I/opt/sfw/include
> > -I/opt/sfw/include/db1 -I/opt/sfw/include/db3-I/usr/include
> > -I/usr/openwin/include -D_GNU_SOURCE -D_REENTRANT -Wall-Wpointer-arith
> > -Wstrict-prototypes -Wmissing-prototypes-Wno-char-subscripts -o file
> > -static file.o  ./.libs/libfmagic.al -lz ld: fatal: library -lz: not
> > found ld: fatal: File processing errors. No output written to file
> > collect2: ld returned 1 exit status
> > make[2]: *** [file] Error 1
> > make[2]: Leaving directory `/tmp/rpm-4.2/file'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/tmp/rpm-4.2'
> > make: *** [all] Error 2
> > 
> > 
> > and here is my .profile that shows my PATH statements
> > 
> > # cat /.profile
> > PATH=/opt/sfw/bin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/dt/bin:/usr/
> > openwin/bin:/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/usr/local/bin:/usr/u
> > cb
> >  
> > #CC=/opt/SUNWspro/bin/cc
> > CC=/usr/local/bin/gcc
> >  
> > #CXX=/opt/SUNWspro/bin/CC
> > CXX=/usr/local/bin/g++
> >  
> >  
> > CFLAGS="-I/usr/local/include -I/usr/local/BerkeleyDB/include
> > -I/opt/sfw/include
> > -I/opt/sfw/include/db1 -I/opt/sfw/include/db3 -I/usr/include
> > -I/usr/openwin/include"
> >  
> > CXXFLAGS="-I/usr/local/include -I/usr/local/BerkeleyDB/include
> > -I/opt/sfw/include -I/opt/sfw/include/db1 -I/opt/sfw/include/db3
> > -I/usr/include -I/usr/openwin/include"
> >  
> > LD_LIBRARY_PATH=/opt/sfw/lib:/usr/local/lib:/usr/local/BerkeleyDB/lib
> > :/lib:/usr/lib:/lib:/usr/lib
> >  
> > export PATH CC CFLAGS CXX CXXFLAGS LD_LIBRARY_PATH
> > 
> > 
> > if more info is needed please let me know
> > 
> > 
> > 
> > _______________________________________________
> > Rpm-list mailing list
> > Rpm-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/rpm-list
> 
> 
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/rpm-list





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