[Sunhelp] where the heck is libucb.so.1?
Bill Bradford
mrbill at mrbill.net
Sat Nov 13 02:29:44 CST 1999
The output of a "make" from libpng 1.0.1:
bash-2.03# gmake
gcc -I/usr/local/include -Wall -O3 -c png.c -o png.o
gcc -I/usr/local/include -Wall -O3 -c pngset.c -o pngset.o
gcc -I/usr/local/include -Wall -O3 -c pngget.c -o pngget.o
gcc -I/usr/local/include -Wall -O3 -c pngrutil.c -o pngrutil.o
gcc -I/usr/local/include -Wall -O3 -c pngtrans.c -o pngtrans.o
gcc -I/usr/local/include -Wall -O3 -c pngwutil.c -o pngwutil.o
gcc -I/usr/local/include -Wall -O3 -c pngread.c -o pngread.o
gcc -I/usr/local/include -Wall -O3 -c pngrio.c -o pngrio.o
gcc -I/usr/local/include -Wall -O3 -c pngwio.c -o pngwio.o
gcc -I/usr/local/include -Wall -O3 -c pngwrite.c -o pngwrite.o
gcc -I/usr/local/include -Wall -O3 -c pngrtran.c -o pngrtran.o
gcc -I/usr/local/include -Wall -O3 -c pngwtran.c -o pngwtran.o
gcc -I/usr/local/include -Wall -O3 -c pngmem.c -o pngmem.o
gcc -I/usr/local/include -Wall -O3 -c pngerror.c -o pngerror.o
gcc -I/usr/local/include -Wall -O3 -c pngpread.c -o pngpread.o
ar rc libpng.a png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o pngwtran.o pngmem.o pngerror.o pngpread.o
echo libpng.a
libpng.a
gcc -c -I/usr/local/include -Wall -O3 -fPIC -o png.pic.o png.c
gcc -c -I/usr/local/include -Wall -O3 -fPIC -o pngset.pic.o pngset.c
gcc -c -I/usr/local/include -Wall -O3 -fPIC -o pngget.pic.o pngget.c
gcc -c -I/usr/local/include -Wall -O3 -fPIC -o pngrutil.pic.o pngrutil.c
gcc -c -I/usr/local/include -Wall -O3 -fPIC -o pngtrans.pic.o pngtrans.c
gcc -c -I/usr/local/include -Wall -O3 -fPIC -o pngwutil.pic.o pngwutil.c
gcc -c -I/usr/local/include -Wall -O3 -fPIC -o pngread.pic.o pngread.c
gcc -c -I/usr/local/include -Wall -O3 -fPIC -o pngrio.pic.o pngrio.c
gcc -c -I/usr/local/include -Wall -O3 -fPIC -o pngwio.pic.o pngwio.c
gcc -c -I/usr/local/include -Wall -O3 -fPIC -o pngwrite.pic.o pngwrite.c
gcc -c -I/usr/local/include -Wall -O3 -fPIC -o pngrtran.pic.o pngrtran.c
gcc -c -I/usr/local/include -Wall -O3 -fPIC -o pngwtran.pic.o pngwtran.c
gcc -c -I/usr/local/include -Wall -O3 -fPIC -o pngmem.pic.o pngmem.c
gcc -c -I/usr/local/include -Wall -O3 -fPIC -o pngerror.pic.o pngerror.c
gcc -c -I/usr/local/include -Wall -O3 -fPIC -o pngpread.pic.o pngpread.c
ld -G -L/usr/local/lib -R/usr/local/lib -h libpng.so.2 \
-o libpng.so.2.1.0 png.pic.o pngset.pic.o pngget.pic.o pngrutil.pic.o pngtrans.pic.o pngwutil.pic.o pngread.pic.o pngrio.pic.o pngwio.pic.o pngwrite.pic.o pngrtran.pic.o pngwtran.pic.o pngmem.pic.o pngerror.pic.o pngpread.pic.o -lz
ln -sf libpng.so.2.1.0 libpng.so.2
ln -sf libpng.so.2 libpng.so
gcc -I/usr/local/include -Wall -O3 -c pngtest.c -o pngtest.o
gcc -o pngtest -I/usr/local/include -Wall -O3 pngtest.o -L. -R. -L/usr/local/lib -R/usr/local/lib -lpng -lz -lm
ld: warning: file libucb.so.1: required by ./libpng.so, not found
Its looking for libucb.so.1. However, I dont have that on EITHER of my
Solaris boxes, and a grep for "ucb" in the source code of PNG doesent even
find where it needs it! Any clue?
Bill
--
Bill Bradford * mrbill at mrbill.net / http://www.mrbill.net
mrbill at sunhelp.org / http://www.sunhelp.org
---------------------------------------------------------------------
"Fear leads to anger. Anger leads to hate. Hate leads to using
Windows NT for mission-critical applications."
-- What Yoda *meant* to say
More information about the SunHELP
mailing list