From: Larry E. Ramey (ramey++at++vrco.com)
Date: 06/08/2000 08:33:08
Well since it seems that I need to have DSO linked, not the static
libs.....
Can anyone give me a clue as to how that happens? I just read the DSO
man page and it doesn't seem to shed any light.
my /usr/lib32/ looks like:
/usr/lib32>ls -al *pf*
lrwxr-xr-x 1 root sys 14 Dec 31 1989 libpf.so ->
./libpf_ogl.so*
lrwxr-xr-x 1 root sys 16 Dec 31 1989 libpf_ogl.so ->
./libpf_ogl.so.4*
-rwxr-xr-x 1 root sys 6430956 Dec 31 1989 libpf_ogl.so.4*
lrwxr-xr-x 1 root sys 16 Dec 31 1989 libpfdu.so ->
./libpfdu_ogl.so*
lrwxr-xr-x 1 root sys 18 Dec 31 1989 libpfdu_ogl.so ->
./libpfdu_ogl.so.4*
-rwxr-xr-x 1 root sys 559572 Dec 31 1989 libpfdu_ogl.so.4*
lrwxr-xr-x 1 root sys 14 Dec 31 1989 libpfui.so ->
./libpfui.so.4*
-rwxr-xr-x 1 root sys 363988 Dec 31 1989 libpfui.so.4*
lrwxr-xr-x 1 root sys 18 Dec 31 1989 libpfutil.so ->
./libpfutil_ogl.so*
lrwxr-xr-x 1 root sys 20 Dec 31 1989 libpfutil_ogl.so
-> ./libpfutil_ogl.so.4*
-rwxr-xr-x 1 root sys 717856 Dec 31 1989
libpfutil_ogl.so.4*
libpfdb:
total 23784
drwxr-xr-x 2 root sys 12288 Dec 31 1989 ./
drwxr-xr-x 14 root sys 16384 Jun 6 15:49 ../
-rw-r--r-- 1 root sys 14441 Dec 31 1989 .perfLoader.wrl
lrwxr-xr-x 1 root sys 17 Dec 31 1989 libpf3ds.so ->
./libpf3ds_ogl.so*
lrwxr-xr-x 1 root sys 19 Dec 31 1989 libpf3ds_ogl.so
-> ./libpf3ds_ogl.so.4*
-rwxr-xr-x 1 root sys 518832 Dec 31 1989
libpf3ds_ogl.so.4*
ect ect ect.
So it looks to me like DSOs exist on my system.
my makefile looks like:
LINK = CC
BOTH_OPTS = $(OPT_LVL) -n32 -mips4 -woff 85 -woff 1375 -woff 1682
-woff 1209
PERF_LIBS = -lpfdu_ogl -lpfutil_ogl -lpf_ogl
APP_LIBS = <lots of stuff> $(CAVE_LIBS) $(PERF_LIBS) $(XGL_LIBS) <more
stuff>
vGeo: ${OBJECTS} ${ALL_VRTIGO_LIBS}
rm -f $++at++
$(LINK) -call_shared ${BOTH_OPTS} ${OBJECTS} ${APP_LIBS} -o $++at++
chmod 775 $++at++
I don't set any search path for DSOs since I believe that is uses the
LD_LIBRARYN32_PATH.
here is what elfdump -Dl reports:
elfdump -Dl vGeo
vGeo:
**** MIPS LIBLIST INFORMATION ****
.liblist :
[INDEX] Timestamp Checksum Flags Name
Version
[1] Apr 23 08:10:53 1998 0xeb842944 ----- libpfdu_ogl.so
sgi4.1.447
[2] Apr 27 22:10:38 1998 0x6f674340 -----
libpfutil_ogl.so sgi4.1.447
[3] Apr 23 08:08:46 1998 0x3e835d82 ----- libpf_ogl.so
sgi4.1.447
[4] Dec 6 19:40:24 1999 0xb2b50b92 ----- libGL.so
sgi1.0
[5] Dec 6 19:40:36 1999 0xf14919af ----- libGLU.so
sgi1.0
[6] Dec 31 20:44:46 1989 0x609bc8b2 ----- libXi.so
sgi1.0
[7] Dec 31 20:43:45 1989 0x132bf398 ----- libX11.so.1
sgi1.0
[8] Dec 6 19:39:16 1999 0xad413399 ----- libm.so sgi1.0
[9] Dec 6 19:39:27 1999 0x17f531d4 ----- libC.so.2
sgi2.0
[10] Dec 31 20:43:32 1989 0x4fa4a2fb ----- libCsup.so
sgi1.0
[11] May 19 02:25:31 1998 0x981c6626 ----- libc.so.1
sgi1.0
-- "Haven't you heard? We come in six packs now." -Zaphod Beeblebrox Larry E. Ramey ####NEW ADDRESS###### ramey++at++vrco.com
This archive was generated by hypermail 2b29 : Thu Jun 08 2000 - 08:21:22 PDT